Skip to content

Commit 9512c25

Browse files
committed
Fix the navbar root link
1 parent 20a8bc6 commit 9512c25

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

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

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export function Navbar({ links, year }: NavbarProps): ReactElement {
3636
/>
3737
<div
3838
// placeholder: the colors here on `before` must match the ones on Hero `before` strip
39-
className="absolute h-[calc(var(--navbar-h)+1px)] w-full bg-pri-base before:absolute before:top-0 before:h-[calc(var(--navbar-h)+1px)] before:w-full before:bg-white/30 dark:bg-pri-darker dark:before:bg-blk/40"
39+
className="absolute h-[calc(var(--navbar-h)+1px)] w-full bg-pri-base before:absolute before:top-0 before:h-[calc(var(--navbar-h)+1px)] before:w-full before:bg-white/30 dark:bg-pri-darker dark:before:bg-black/40"
4040
/>
4141
<header
4242
className={clsx(
@@ -46,12 +46,13 @@ 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-
<div className="flex items-center gap-2 text-xl/none uppercase">
50-
<NextLink href="/">
51-
<GraphQLLogo className="h-6" />
52-
</NextLink>
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" />
5354
<span>/ GraphQLConf {year}</span>
54-
</div>
55+
</NextLink>
5556

5657
<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">
5758
<p className="flex items-center gap-2 text-sm">

0 commit comments

Comments
 (0)