Use ViewTransition API, stop fetching on each load

This commit is contained in:
Korbs 2024-08-27 01:52:05 -04:00
parent 7afea6a6cc
commit aa501d5b7b

View file

@ -1,5 +1,7 @@
---
const { Title, Description } = Astro.props;
import { ViewTransitions } from 'astro:transitions';
import { Tooltips } from 'astro-tooltips';
---
<head>
@ -28,4 +30,10 @@ const { Title, Description } = Astro.props;
/>
<script type="module" src="/@shoelace-style/shoelace/cdn/shoelace.js"
></script>
<!-- ViewTransition API -->
<ViewTransitions />
<!-- Tooltip -->
<Tooltips interactive={false} delay={[15, 14000]} />
</head>