diff --git a/src/components/Header.astro b/src/components/Header.astro index df340c3..58a5c6b 100644 --- a/src/components/Header.astro +++ b/src/components/Header.astro @@ -97,6 +97,7 @@ const normalizedPath = ? "text-primary-600 dark:text-primary-400 border-b-2 border-primary-600 dark:border-primary-400" : "text-secondary-600 dark:text-secondary-400 hover:text-primary-600 dark:hover:text-primary-400 hover:border-b-2 hover:border-primary-300 dark:hover:border-primary-700" }`} + data-astro-prefetch="hover" > {link.text} @@ -252,7 +253,10 @@ const normalizedPath = class="hidden md:hidden fixed inset-x-0 top-16 z-40" id="mobile-menu" > -
+
{ @@ -264,6 +268,7 @@ const normalizedPath = ? "text-white bg-primary-600 dark:bg-primary-500 shadow-sm" : "text-gray-700 dark:text-gray-200 hover:bg-gray-100 dark:hover:bg-gray-800/70" }`} + data-astro-prefetch="hover" > {link.text} @@ -286,431 +291,498 @@ const normalizedPath = - diff --git a/src/components/Layout.astro b/src/components/Layout.astro index 8ec4673..710b147 100644 --- a/src/components/Layout.astro +++ b/src/components/Layout.astro @@ -105,5 +105,36 @@ const { title = SITE_NAME, description = SITE_DESCRIPTION, date, author, tags, i