feat:rimozione bottone e funzione share dalla magic card
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user