feat: add view transitions
This commit is contained in:
parent
f4f9e71726
commit
769ccc451c
@ -1,4 +1,5 @@
|
|||||||
---
|
---
|
||||||
|
import { ViewTransitions } from 'astro:transitions';
|
||||||
import '@/styles/globals.css';
|
import '@/styles/globals.css';
|
||||||
import Header from '@/components/layout/Header.astro';
|
import Header from '@/components/layout/Header.astro';
|
||||||
import Footer from '@/components/layout/Footer.astro';
|
import Footer from '@/components/layout/Footer.astro';
|
||||||
@ -21,6 +22,7 @@ const { title, description } = Astro.props as Props;
|
|||||||
<link rel="apple-touch-icon" href="/apple-touch-icon-180x180.png" />
|
<link rel="apple-touch-icon" href="/apple-touch-icon-180x180.png" />
|
||||||
<link rel="manifest" href="/site.webmanifest" />
|
<link rel="manifest" href="/site.webmanifest" />
|
||||||
<link rel="sitemap" href="/sitemap-index.xml" />
|
<link rel="sitemap" href="/sitemap-index.xml" />
|
||||||
|
<ViewTransitions />
|
||||||
</head>
|
</head>
|
||||||
<body class="flex min-h-screen flex-col dark:bg-secondary">
|
<body class="flex min-h-screen flex-col dark:bg-secondary">
|
||||||
<Header />
|
<Header />
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user