Migrate to dayjs and Astro 4.0

This commit is contained in:
2023-12-07 00:17:32 +01:00
parent 505ee26622
commit 311856415e
24 changed files with 731 additions and 980 deletions

View File

@@ -27,7 +27,7 @@ const { title } = Astro.props;
</a>
<div class="flex justify-center flex-wrap">
<div class="btn-dropdown my-1">
<div class="btn btn-gray" tabindex="1">
<div class="btn btn-gray" tabindex="0">
<a href={l("/")}>
<span class="btn__text">{t("navbar.links.home.title")}</span>
</a>
@@ -41,7 +41,7 @@ const { title } = Astro.props;
</div>
</div>
<div class="btn-dropdown my-1">
<div class="btn btn-gray" tabindex="1">
<div class="btn btn-gray" tabindex="0">
<a rel="prefetch" href={l("/rules")}>
<span class="btn__text">{t("navbar.links.rules.title")}</span>
</a>
@@ -101,7 +101,7 @@ const { title } = Astro.props;
}
}
}
;
customElements.define('nav-bar', Navbar);
</script>
<main class="flex-1">