@@ -4,43 +4,39 @@ import ThemeSwitch from "@/components/widgets/ThemeSwitch.astro";
44import Container from ' ./Container.astro' ;
55---
66
7- <header class =" fixed top-0 w-full h-[76px] border-b border-primary-txt /10 z-50 backdrop-blur-lg" >
7+ <header class =" fixed top-0 w-full h-[76px] border-b border-ink /10 z-50 backdrop-blur-lg" >
88
99 <!-- Mobile menu -->
10- <div id =" navMenu" class =" fixed bg-primary-bg shadow-sm h-full w-full text-xl sm:w-1/2 sm:text-2xl transform transition-transform duration-300 -translate-x-full z-50" >
11- <div class =" flex flex-col min-h-screen w-full bg-primary-bg" >
12- <div class =" " >
13- <!-- Logo -->
14- <div class =" flex items-center justify-between font-medium px-6 py-2 h-[76px] border-b border-primary-txt/10" >
15- <a class =" flex items-center gap-2" href =" /" >
16- <div class =" text-lg font-bold" >Umami</div >
17- </a >
18- <div id =" closeBtn" class =" " >
19- <svg xmlns =" http://www.w3.org/2000/svg" fill =" none" viewBox =" 0 0 24 24" strokeWidth ={ 2 } stroke =" currentColor" class =" size-6" >
20- <path strokeLinecap =" round" strokeLinejoin =" round" d =" M6 18L18 6M6 6l12 12" />
21- </svg >
22- </div >
23- </div >
24- <!-- Links -->
25- <div class =" flex flex-col text-center gap-3 px-2 py-8" >
26- <a href =" /articles" class =" px-4 py-2 text-muted-txt hover:text-primary-txt" aria-current ={ Astro .url .pathname === ' /articles' ? ' page' : undefined } >
27- <h2 >Articles</h2 >
28- </a >
29- <a href =" /about" class =" px-4 py-2 text-umami-tx-2 hover:text-umami-tx" aria-current ={ Astro .url .pathname === ' /about' ? ' page' : undefined } >About</a >
30- </div >
31- <!-- Subscribe button -->
32- <div class =" px-4 py-2" >
33- <button class =" text-lg font-medium border border-primary-ui rounded-3xl py-2 px-3 hover:border-umami-ui-2" >
34- Subscribe
35- </button >
10+ <div id =" navMenu" class =" fixed bg-umami-bg shadow-sm h-full w-full text-xl sm:w-1/2 sm:text-2xl transform transition-transform duration-300 -translate-x-full z-50" >
11+ <div class =" flex flex-col px-4 min-h-screen w-full bg-umami-bg" >
12+ <!-- Logo -->
13+ <div class =" flex items-center justify-between font-medium px-4 py-2 h-[76px] border-b border-ink/10" >
14+ <a class =" flex items-center gap-2" href =" /" >
15+ <div class =" text-lg font-bold" >Umami</div >
16+ </a >
17+ <div id =" closeBtn" class =" " >
18+ <svg xmlns =" http://www.w3.org/2000/svg" fill =" none" viewBox =" 0 0 24 24" strokeWidth ={ 2 } stroke =" currentColor" class =" size-6" >
19+ <path strokeLinecap =" round" strokeLinejoin =" round" d =" M6 18L18 6M6 6l12 12" />
20+ </svg >
3621 </div >
3722 </div >
23+ <!-- Links -->
24+ <div class =" flex flex-col gap-3 py-8" >
25+ <a href =" /articles" class =" px-4 py-2 text-umami-tx-2 hover:text-umami-tx" aria-current ={ Astro .url .pathname === ' /articles' ? ' page' : undefined } >Articles</a >
26+ <a href =" /about" class =" px-4 py-2 text-umami-tx-2 hover:text-umami-tx" aria-current ={ Astro .url .pathname === ' /about' ? ' page' : undefined } >About</a >
27+ </div >
28+ <!-- Subscribe button -->
29+ <div class =" px-4 py-2" >
30+ <button class =" text-lg font-medium border border-umami-ui rounded-3xl py-2 px-3 hover:border-umami-ui-2" >
31+ Subscribe
32+ </button >
33+ </div >
3834 </div >
3935 </div >
4036
4137 <!-- Main Navigation -->
42- <Container outerClass =" flex flex-col max-w-4xl h-full" >
43- <nav class =" flex h-full w-full" >
38+ <Container outerClass =" flex flex-col max-w-4xl px-2 py-2 mx-auto h-full" >
39+ <nav class =" flex h-full w-full px-4 " >
4440 <!-- Logo -->
4541 <a class =" flex items-center gap-2" href =" /" >
4642 <div class =" text-lg font-bold" >Umami</div >
0 commit comments