Use history.replaceState ageVerified query and remove ENABLE_VIEW_TRANSITIONS
This commit is contained in:
parent
92123a305d
commit
f57ba9ddc4
19 changed files with 91 additions and 74 deletions
|
|
@ -6,7 +6,7 @@ import { ImageSamStickerJuicebox } from "../assets/images";
|
|||
---
|
||||
|
||||
<BaseLayout pageTitle="About me">
|
||||
<meta slot="head-description" property="og:description" content="About Bad Manners." />
|
||||
<meta slot="head" property="og:description" content="About Bad Manners." />
|
||||
<article class="h-card" aria-labelledby="title-about-me">
|
||||
<h1 id="title-about-me" class="text-2xl sm:text-3xl">About me</h1>
|
||||
<section>
|
||||
|
|
@ -64,7 +64,6 @@ import { ImageSamStickerJuicebox } from "../assets/images";
|
|||
</BaseLayout>
|
||||
|
||||
<script>
|
||||
import { ENABLE_VIEW_TRANSITIONS } from "astro:env/client";
|
||||
import tippy from "tippy.js";
|
||||
import "tippy.js/dist/tippy.css";
|
||||
|
||||
|
|
@ -73,9 +72,6 @@ import { ImageSamStickerJuicebox } from "../assets/images";
|
|||
theme: "bm",
|
||||
});
|
||||
};
|
||||
if (ENABLE_VIEW_TRANSITIONS) {
|
||||
document.addEventListener("astro:page-load", initTooltips);
|
||||
} else {
|
||||
initTooltips();
|
||||
}
|
||||
|
||||
initTooltips();
|
||||
</script>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue