Skip to content

Commit 508b82d

Browse files
committed
βž• Add: Link preview fix
1 parent 8771dec commit 508b82d

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

β€Žcomponents/StaticLinkPreview.jsβ€Ž

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,7 @@ export const StaticLinkPreview = ({ children, url }) => {
7474
}}
7575
>
7676
<HoverCardPrimitive.Trigger
77-
href={url}
78-
className={cx(GRADIENT_LINK, FOCUS_VISIBLE_OUTLINE)}
77+
className={cx(GRADIENT_LINK, FOCUS_VISIBLE_OUTLINE, "cursor-pointer")}
7978
>
8079
{children}
8180
</HoverCardPrimitive.Trigger>

β€Žpages/index.jsβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ export default function Home() {
7171
</Link>
7272
</RoughNotation>{" "}
7373
while you're here. <br />I write about technology, learning and{" "}
74-
<StaticLinkPreview url="https://manuarora.in/drake.jpeg">
74+
<StaticLinkPreview url="https://brobible.com/wp-content/uploads/2017/08/thats-what-she-said.jpg?quality=90&w=650">
7575
memes.
7676
</StaticLinkPreview>
7777
</h2>

β€Žpublic/drake.pngβ€Ž

39.2 KB
Loading

0 commit comments

Comments
Β (0)