Move to Bun
This commit is contained in:
@@ -22,14 +22,13 @@ import { Image } from "astro:assets";
|
||||
<ul
|
||||
tabindex="0"
|
||||
class="menu menu-sm dropdown-content bg-base-100 rounded-xl z-50 mt-3 w-56 p-3 shadow-xl border border-base-200"
|
||||
role="menu"
|
||||
aria-label="Navigation Button"
|
||||
>
|
||||
{
|
||||
siteConfig.header.nav.map(({ text, href }) => (
|
||||
<li role="none">
|
||||
<li>
|
||||
<a
|
||||
href={href}
|
||||
role="menuitem"
|
||||
class="py-3 px-4 rounded-lg font-medium hover:bg-primary/10 hover:text-primary transition-colors"
|
||||
>
|
||||
{text}
|
||||
@@ -60,13 +59,12 @@ import { Image } from "astro:assets";
|
||||
</a>
|
||||
</div>
|
||||
<nav class="navbar-center hidden lg:flex" aria-label="Main navigation">
|
||||
<ul class="menu menu-horizontal gap-1" role="menubar">
|
||||
<ul class="menu menu-horizontal gap-1">
|
||||
{
|
||||
siteConfig.header.nav.map(({ text, href }) => (
|
||||
<li role="none">
|
||||
<li>
|
||||
<a
|
||||
href={href}
|
||||
role="menuitem"
|
||||
class="font-medium px-4 py-2 rounded-lg hover:bg-primary/10 hover:text-primary transition-colors"
|
||||
>
|
||||
{text}
|
||||
@@ -80,7 +78,7 @@ import { Image } from "astro:assets";
|
||||
<a
|
||||
href={siteConfig.header.cta.href}
|
||||
class="btn btn-primary btn-sm lg:btn-md shadow-md hover:shadow-lg transition-all"
|
||||
role="button"
|
||||
aria-label={siteConfig.header.cta.text}
|
||||
>
|
||||
{siteConfig.header.cta.text}
|
||||
</a>
|
||||
|
||||
Reference in New Issue
Block a user