Skip to content

Commit d7bd50a

Browse files
authored
The 'Sponsor' button's link now opens on a new tab on-click
1 parent 7de1640 commit d7bd50a

File tree

1 file changed

+9
-19
lines changed

1 file changed

+9
-19
lines changed

app/page.js

Lines changed: 9 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -58,26 +58,16 @@ const page = () => {
5858
</div>
5959
<nav className="flex flex-col sm:flex-row flex-wrap items-center justify-between mt-4 md:mt-0 space-y-4 sm:space-y-0 sm:space-x-6">
6060
<div className="flex items-center space-x-4">
61-
<iframe
62-
src="https://github.com/sponsors/Soumilgit/button"
63-
title="Sponsor Soumil on GitHub"
64-
height="32"
65-
width="114"
66-
className="border-0 rounded-lg"
67-
></iframe>
68-
69-
<a
70-
target="_blank"
71-
rel="noopener noreferrer"
72-
href="https://github.com/Soumilgit"
73-
className="inline-block relative group"
74-
>
75-
<div className="absolute -inset-1 bg-gradient-to-r from-primary to-secondary rounded-full blur opacity-0 group-hover:opacity-30 transition duration-300"></div>
76-
<FaGithub className="relative text-foreground hover:text-primary transition-colors w-7 h-7" />
77-
</a>
61+
<a target="_blank" rel="noopener noreferrer" href="https://github.com/sponsors/Soumilgit" className="inline-block">
62+
<iframe src="https://github.com/sponsors/Soumilgit/button" title="Sponsor Soumil on GitHub" height="32" width="114" className="border-0 rounded-lg"></iframe>
63+
</a>
7864

79-
<ModeToggle />
80-
</div>
65+
<a target="_blank" rel="noopener noreferrer" href="https://github.com/Soumilgit" className="inline-block relative group">
66+
<div className="absolute -inset-1 bg-gradient-to-r from-primary to-secondary rounded-full blur opacity-0 group-hover:opacity-30 transition duration-300"></div>
67+
<FaGithub className="relative text-foreground hover:text-primary transition-colors w-7 h-7" />
68+
</a>
69+
<ModeToggle />
70+
</div>
8171

8272
<div className="flex flex-col sm:flex-row items-center space-y-2 sm:space-y-0">
8373
<a

0 commit comments

Comments
 (0)