Skip to content

Commit 62e4866

Browse files
committed
Make the logo link to / and the text to conf root
1 parent 9512c25 commit 62e4866

File tree

1 file changed

+12
-7
lines changed

1 file changed

+12
-7
lines changed

src/app/conf/2025/components/navbar.tsx

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -46,13 +46,18 @@ export function Navbar({ links, year }: NavbarProps): ReactElement {
4646
>
4747
<BackdropBlur />
4848
<div className="flex h-[var(--navbar-h)] items-center justify-between gap-5 px-4 lg:px-10">
49-
<NextLink
50-
href="/conf/2025"
51-
className="-m-2 flex items-center gap-2 p-2 text-xl/none uppercase"
52-
>
53-
<GraphQLLogo className="h-6" />
54-
<span>/ GraphQLConf {year}</span>
55-
</NextLink>
49+
<div className="flex items-center gap-2 text-xl/none uppercase">
50+
<NextLink href="/" className="-m-1 p-1 hover:bg-neu-900/10">
51+
<GraphQLLogo className="h-6" />
52+
</NextLink>
53+
<span>/</span>
54+
<NextLink
55+
href={`/conf/${year}`}
56+
className="-m-2 p-2 underline-offset-4 hover:underline"
57+
>
58+
GraphQLConf {year}
59+
</NextLink>
60+
</div>
5661

5762
<div className="mr-auto flex h-full flex-col justify-center whitespace-pre border-x border-black/60 px-4 typography-menu dark:border-white/80 max-xl:hidden">
5863
<p className="flex items-center gap-2 text-sm">

0 commit comments

Comments
 (0)