diff options
| author | TomasBankauskas <tbdizainas@gmail.com> | 2024-04-09 13:44:24 +0300 |
|---|---|---|
| committer | TomasBankauskas <tbdizainas@gmail.com> | 2024-04-09 13:44:24 +0300 |
| commit | be4de751ad432f8230d83e1d6cbb3e56d608cd58 (patch) | |
| tree | 7922668f00823e21ab7ab799fa4cf5c811bf0613 /src/components/Header.astro | |
| parent | 3bebbf00e6f4d33bfacbf38eef73a9ad7f0d9d58 (diff) | |
updates
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> + |
