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
|
|
@ -35,11 +35,21 @@ import {
|
|||
---
|
||||
|
||||
<BaseLayout>
|
||||
<meta
|
||||
slot="head-description"
|
||||
property="og:description"
|
||||
content="Safe vore enthusiast, mimic hybrid furry, and occasional writer."
|
||||
/>
|
||||
<Fragment slot="head">
|
||||
<meta property="og:description" content="Safe vore enthusiast, mimic hybrid furry, and occasional writer." />
|
||||
<link
|
||||
rel="alternate"
|
||||
type="application/rss+xml"
|
||||
href={new URL("/feed.xml", Astro.site)}
|
||||
title="Commission status"
|
||||
/>
|
||||
<link
|
||||
rel="alternate"
|
||||
type="application/rss+xml"
|
||||
href="https://gallery.badmanners.xyz/feed.xml"
|
||||
title="Gallery feed"
|
||||
/>
|
||||
</Fragment>
|
||||
<article class="h-card" aria-label="Homepage of Bad Manners">
|
||||
<h1 id="title-home" class="pb-4 text-3xl tracking-tight sm:text-5xl">
|
||||
Hi, I'm <span class="p-name font-medium">Bad Manners</span>!
|
||||
|
|
@ -618,7 +628,6 @@ import {
|
|||
</BaseLayout>
|
||||
|
||||
<script>
|
||||
import { ENABLE_VIEW_TRANSITIONS } from "astro:env/client";
|
||||
import tippy, { hideAll } from "tippy.js";
|
||||
import "tippy.js/dist/tippy.css";
|
||||
|
||||
|
|
@ -689,9 +698,6 @@ import {
|
|||
element.addEventListener("click", onClickElement);
|
||||
});
|
||||
};
|
||||
if (ENABLE_VIEW_TRANSITIONS) {
|
||||
document.addEventListener("astro:page-load", initIndexIcons);
|
||||
} else {
|
||||
initIndexIcons();
|
||||
}
|
||||
|
||||
initIndexIcons();
|
||||
</script>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue