diff options
Diffstat (limited to 'src/components/Header.astro')
| -rw-r--r-- | src/components/Header.astro | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/src/components/Header.astro b/src/components/Header.astro index 724150e..e06ea28 100644 --- a/src/components/Header.astro +++ b/src/components/Header.astro @@ -12,18 +12,18 @@ const navItems = [ <a href="/"> <img src="/netlify-logo.svg" alt="Netlify logo" /> </a> - {!!navItems?.length && ( - <ul class="flex flex-wrap gap-x-4 gap-y-1"> - {navItems.map((item) => ( - <li> - <a - href={item.href} - class="inline-block px-1.5 py-1 transition hover:opacity-80 sm:px-3 sm:py-2" - > - {item.linkText} - </a> - </li> - ))} - </ul> - )} -</nav>
\ No newline at end of file + { + !!navItems?.length && ( + <ul class="flex flex-wrap gap-x-4 gap-y-1"> + {navItems.map((item) => ( + <li> + <a href={item.href} class="inline-block px-1.5 py-1 sm:px-3 sm:py-2"> + {item.linkText} + </a> + </li> + ))} + </ul> + ) + } +</nav> + |
