Migrate to dayjs and Astro 4.0
This commit is contained in:
@@ -15,6 +15,7 @@ const iconImage = await getImage({src: icon, height: 32, width: 32, format: 'png
|
||||
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
|
||||
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
||||
<meta name="description" content={description}/>
|
||||
<meta name="icbm" content="52.370216;4.895168"/>
|
||||
<link rel="icon" type="imgage/png" href={iconImage.src} />
|
||||
<link rel="stylesheet" href="/fonts/barlow-condensed/barlow-condensed.css" />
|
||||
<title>{title}</title>
|
||||
|
||||
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user