feat:rimozione bottone e funzione share dalla magic card

This commit is contained in:
Diego-C-05
2026-05-06 12:01:55 +02:00
parent fe1bfe8ff7
commit 358e498837
2 changed files with 0 additions and 12 deletions
@@ -96,9 +96,6 @@ function MagicCard({ articleId, articleUrl, source, timeAgo, sentiment, title, s
<ActionButton label="Salva" tone="save"> <ActionButton label="Salva" tone="save">
<BookmarkIcon /> <BookmarkIcon />
</ActionButton> </ActionButton>
<ActionButton label="Condividi" tone="share">
<ShareIcon />
</ActionButton>
</footer> </footer>
</article> </article>
) )
@@ -144,12 +141,4 @@ function BookmarkIcon() {
) )
} }
function ShareIcon() {
return (
<svg viewBox="0 0 24 24" aria-hidden="true">
<path d="M18 8a3 3 0 1 0-2.82-4h-.01A3 3 0 0 0 18 8ZM6 15a3 3 0 1 0 0 6 3 3 0 0 0 0-6Zm12-4a3 3 0 0 0-2.83 2H15L9 10V8.8A3 3 0 1 0 7.4 10l5.2 2.6v.4a3 3 0 1 0 1.4 2.4V14l5.16-2.58A3 3 0 0 0 18 11Z" />
</svg>
)
}
export default MagicCard export default MagicCard
-1
View File
@@ -121,7 +121,6 @@ function HomePage() {
<footer className="preview-actions" aria-label="Azioni articolo"> <footer className="preview-actions" aria-label="Azioni articolo">
<span>👍 Mi piace</span> <span>👍 Mi piace</span>
<span>💾 Salva</span> <span>💾 Salva</span>
<span>🔗 Condividi</span>
</footer> </footer>
</article> </article>
</div> </div>