@@ -17,7 +17,7 @@ const navbarItemActiveStyle = `border-b-nix-blue-light bg-nix-blue-light text-wh
17
17
18
18
<header
19
19
role =" banner"
20
- class =" bg-white font-extralight text-black drop-shadow-md"
20
+ class =" sticky top-0 z-50 bg-white font-extralight text-black drop-shadow-md"
21
21
>
22
22
<Container class =" flex flex-col justify-between md:flex-row md:items-center" >
23
23
<div
@@ -28,16 +28,17 @@ const navbarItemActiveStyle = `border-b-nix-blue-light bg-nix-blue-light text-wh
28
28
class =" flex select-none items-center justify-between gap-2 md:justify-start"
29
29
>
30
30
<InlineSVG
31
- class =" h-16 w-auto"
31
+ class =" h-12 w-auto"
32
32
src =" /src/assets/image/nixos-logo-notext.svg"
33
33
alt =" Nixos Logo"
34
34
/>
35
35
<InlineSVG
36
- class =" block h-16 w-auto md:hidden xl:block"
36
+ class =" block h-12 w-auto md:hidden xl:block"
37
37
src =" /src/assets/image/nixos-logo-text.svg"
38
38
alt =" Nixos Logo Text"
39
39
/>
40
40
</Link >
41
+
41
42
<button
42
43
aria-label =" Main Navigation Toggle"
43
44
class =" block rounded-lg bg-nix-blue-light p-4 md:hidden"
@@ -48,17 +49,18 @@ const navbarItemActiveStyle = `border-b-nix-blue-light bg-nix-blue-light text-wh
48
49
<span class =" block h-1 w-8 bg-white" ></span >
49
50
</button >
50
51
</div >
52
+
51
53
<nav
52
54
aria-label =" Main Navigation"
53
55
role =" menubar"
54
- class =" flex flex-col gap-0.5 pb-4 md:flex md:flex-row md:gap-5 md:pb-0"
56
+ class =" flex flex-col gap-0.5 pb-4 leading-none md:flex md:flex-row md:gap-5 md:pb-0"
55
57
id =" navbar-menu"
56
58
>
57
59
{
58
60
headerMenu .data .items .map ((item ) => (
59
61
<Link
60
62
class :list = { [
61
- ' pb-6 pt-8 ' ,
63
+ ' pb-6 pt-7 ' ,
62
64
navbarItemStyle ,
63
65
currentTopRoute === item .link
64
66
? navbarItemActiveStyle
@@ -71,7 +73,7 @@ const navbarItemActiveStyle = `border-b-nix-blue-light bg-nix-blue-light text-wh
71
73
))
72
74
}
73
75
<Link
74
- class ={ ` pt-8 md:pt-7 pb-6 ${navbarItemStyle } ${navbarItemInactiveStyle } ` }
76
+ class ={ ` pt-7 pb-6 md:pt-5 md: pb-3 ${navbarItemStyle } ${navbarItemInactiveStyle } ` }
75
77
href =" https://search.nixos.org"
76
78
arial-label =" Nixos package and options search"
77
79
>
0 commit comments