Skip to content

Commit 503ca36

Browse files
committed
feat: add github on navbar
1 parent 4d7b28d commit 503ca36

1 file changed

Lines changed: 11 additions & 15 deletions

File tree

src/components/Navbar.tsx

Lines changed: 11 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -123,34 +123,30 @@ export function Navbar({ children }: { children: React.ReactNode }) {
123123
)
124124

125125
const socialLinks = (
126-
<div className="flex items-center gap-1">
126+
<div className="flex items-center gap-2 [&_a]:opacity-70 [&_a:hover]:opacity-100 [&_svg]:text-xl">
127127
<a
128-
href="https://x.com/tan_stack"
129-
className="opacity-70 hover:opacity-100"
130-
aria-label="Follow TanStack on X.com"
128+
href="https://github.com/tanstack"
129+
aria-label="Follow TanStack on GitHub"
131130
>
132-
<BrandXIcon className="text-xl" />
131+
<GithubIcon />
132+
</a>
133+
<a href="https://x.com/tan_stack" aria-label="Follow TanStack on X.com">
134+
<BrandXIcon />
133135
</a>
134136
<a
135137
href="https://bsky.app/profile/tanstack.com"
136-
className="opacity-70 hover:opacity-100"
137138
aria-label="Follow TanStack on Besky"
138139
>
139-
<BSkyIcon className="text-xl" />
140+
<BSkyIcon />
140141
</a>
141142
<a
142143
href="https://instagram.com/tan_stack"
143-
className="opacity-70 hover:opacity-100"
144144
aria-label="Follow TanStack on Instagram"
145145
>
146-
<InstagramIcon className="text-xl" />
146+
<InstagramIcon />
147147
</a>
148-
<a
149-
href="https://tlinz.com/discord"
150-
className="opacity-70 hover:opacity-100"
151-
aria-label="Join TanStack Discord"
152-
>
153-
<DiscordIcon className="text-xl" />
148+
<a href="https://tlinz.com/discord" aria-label="Join TanStack Discord">
149+
<DiscordIcon />
154150
</a>
155151
</div>
156152
)

0 commit comments

Comments
 (0)