@@ -32,43 +32,48 @@ export function Navbar({ links, year }: NavbarProps): ReactElement {
32
32
setMobileDrawerOpen ( false )
33
33
} , [ pathname ] )
34
34
35
- const navbarHeight = "70px"
36
-
37
35
return (
38
36
< >
39
37
< div
40
38
className = { clsx (
41
39
"top-0 w-full scale-y-105 bg-pri-base dark:bg-pri-darker" ,
42
40
mobileDrawerOpen ? "static" : "absolute" ,
43
41
) }
44
- style = { {
45
- height : navbarHeight ,
46
- } }
42
+ />
43
+ < div
44
+ // placeholder
45
+ className = "absolute h-[calc(var(--navbar-h)+1px)] w-full bg-pri-base dark:bg-pri-darker"
47
46
/>
48
47
< header
49
48
className = { clsx (
50
- "top-0 z-10 w-full border-b border-black/60 bg-white/40 font-mono text-neu-900 antialiased dark:border-white/80 dark:bg-black/40 " ,
49
+ "top-0 z-10 w-full border-b border-black/60 font-mono text-neu-900 antialiased dark:border-white/80" ,
51
50
mobileDrawerOpen ? "fixed" : "sticky" ,
52
51
) }
53
- style = {
54
- {
55
- "--navbar-h" : navbarHeight ,
56
- } as { }
57
- }
58
52
>
59
53
< BackdropBlur />
60
- < div className = "container flex h-[var(--navbar-h)] items-center justify-between gap-5" >
54
+ < div className = "flex h-[var(--navbar-h)] items-center justify-between gap-5 px-10 " >
61
55
< div className = "flex items-center gap-2 text-xl/none uppercase" >
62
56
< NextLink href = "/" >
63
57
< GraphQLLogo className = "h-6" />
64
58
</ NextLink >
65
59
< span > / GraphQLConf { year } </ span >
66
60
</ div >
67
61
62
+ < div className = "mr-auto flex h-full flex-col justify-center border-x border-black/60 px-4 typography-menu dark:border-white/80" >
63
+ < p className = "flex items-center gap-2 text-sm" >
64
+ < time dateTime = "2025-09-08" > September 08</ time >
65
+ < span > -</ span >
66
+ < time dateTime = "2025-09-10" > 10, 2025</ time >
67
+ </ p >
68
+ < address className = "text-sm not-italic" >
69
+ Amsterdam, Netherlands
70
+ </ address >
71
+ </ div >
72
+
68
73
{ mobileDrawerOpen && (
69
74
< div
70
75
onClick = { handleDrawerClick }
71
- className = "fixed inset-0 top-[calc( var(--navbar-h)+1px )] z-10 bg-neu-0/40 backdrop-blur-[6.4px]"
76
+ className = "fixed inset-0 top-[var(--navbar-h)] z-10 bg-neu-0/40 backdrop-blur-[6.4px]"
72
77
/>
73
78
) }
74
79
@@ -138,7 +143,7 @@ function GraphQLLogo(props: React.SVGProps<SVGSVGElement>) {
138
143
}
139
144
140
145
function BackdropBlur ( ) {
141
- const mask = "linear-gradient(to bottom, #000 0% 50%, transparent 50% 100%)"
146
+ const mask = "linear-gradient(to bottom,#000 0% 50%, transparent 50% 100%)"
142
147
return (
143
148
< div
144
149
// note: we can't use the background trick to reduce flickering, because we have many section
0 commit comments