@@ -14,26 +14,26 @@ const navItems = [
14
14
15
15
---
16
16
17
- <header class =" dark:bg-zinc-900 bg-white max-w-7xl m-auto transition-colors " >
17
+ <header class =" dark:bg-zinc-900 bg-white max-w-7xl m-auto" >
18
18
<a href =" /" class =" text-lg sm:text-xl text-black dark:text-zinc-300 hover:dark:text-white transition-colors absolute m-8" >Angular Snippets</a >
19
19
<nav class =" p-8 hidden sm:flex justify-end" >
20
- <ul class =" flex justify-end items-center m-0 space-x-1 " >
20
+ <ul class =" flex justify-end items-center m-0 space-x-2 " >
21
21
{
22
22
navItems .map ((item ) => (
23
23
<li >
24
- <a href = { item .href } class = " hover:bg-zinc-300 dark:hover:bg-zinc-700 dark:text-zinc-300 text-black p-2 transition-colors rounded-lg" >
24
+ <a href = { item .href } class = " hover:bg-zinc-300/60 dark:hover:bg-zinc-700/30 dark:text-zinc-300 text-black px-2 py-1 transition-colors rounded-lg" >
25
25
{ item .name }
26
26
</a >
27
27
</li >
28
28
))
29
29
}
30
30
</ul >
31
- <a aria-label =" github" class =" pointer ml-2 mr-4 " href =" https://github.com/santoshyadavdev/angular-snipptes" target =" _blank" >
32
- <Icon name =" simple-icons:github" class =" w-6 dark:text-white text-black" />
31
+ <a aria-label =" github" class =" dark:opacity-80 dark:hover:opacity-100 hover:opacity-90 pointer mx-6 " href =" https://github.com/santoshyadavdev/angular-snipptes" target =" _blank" >
32
+ <Icon name =" simple-icons:github" class =" w-5 dark:text-white text-black" />
33
33
</a >
34
- <button aria-label =" theme toggle" class =" pointer theme-toggle" >
35
- <Icon name =" eva:moon-outline" class =" w-6 dark:text-white text-black transition-colors dark:hidden" />
36
- <Icon name =" akar-icons:sun" class =" w-6 dark:text-white text-black transition-colors hidden dark:block" />
34
+ <button aria-label =" theme toggle" class =" dark:opacity-80 dark:hover:opacity-100 hover:opacity-90 pointer theme-toggle" >
35
+ <Icon name =" eva:moon-outline" class =" w-5 dark:text-white text-black transition-colors dark:hidden" />
36
+ <Icon name =" akar-icons:sun" class =" w-5 dark:text-white text-black transition-colors hidden dark:block" />
37
37
</button >
38
38
</nav >
39
39
<nav class =" p-2 flex sm:hidden justify-end" >
@@ -51,12 +51,12 @@ const navItems = [
51
51
52
52
</header >
53
53
54
- <header class =" nav-menu hidden bg-white dark:bg-zinc-900" >
54
+ <header class =" absolute border-b border-gray-900/10 dark:border-gray-700/40 t-0 inset-x-0 nav-menu hidden bg-white dark:bg-zinc-900" >
55
55
{
56
56
(
57
- <nav class = " m-8 flex flex-col inline-flex space-y-1 " >
57
+ <nav class = " w-full p-8 pt-0 flex flex-col inline-flex space-y-1 " >
58
58
{ navItems .map ((navbar ) => (
59
- <a href = { navbar .href } class = " hover:bg-zinc-300 dark:hover:bg-zinc-700 dark:text-zinc-300 text-black p-2 transition-colors rounded-lg" >
59
+ <a href = { navbar .href } class = " w-full hover:bg-zinc-300 dark:hover:bg-zinc-700 dark:text-zinc-300 text-black p-2 transition-colors rounded-lg" >
60
60
{ navbar .name }
61
61
</a >
62
62
))}
0 commit comments