Skip to content

UI Library for Design Engineers. Animated components and effects you can copy and paste into your apps. Free. Open Source.

🐛 fix: update seo image title

Dillion Verma56289a7133c0
diff --git a/registry/components/magicui/tweet-card.tsx b/registry/components/magicui/tweet-card.tsx
index d53c0dc1..a46bccca 100644
--- a/registry/components/magicui/tweet-card.tsx
+++ b/registry/components/magicui/tweet-card.tsx
@@ -106,6 +106,7 @@ export const TweetHeader = ({ tweet }: { tweet: EnrichedTweet }) => (
<div className="flex items-center space-x-2">
<a href={tweet.user.url} target="_blank" rel="noreferrer">
<img
+ title={tweet.user.screen_name}
alt={tweet.user.screen_name}
height={48}
width={48}
@@ -199,6 +200,7 @@ export const TweetMedia = ({ tweet }: { tweet: EnrichedTweet }) => (
<img
key={photo.url}
src={photo.url}
+ title={tweet.text}
alt={tweet.text}
className="h-64 w-5/6 shrink-0 snap-center snap-always rounded-xl border object-cover shadow-sm"
/>