feat: add view transitions

This commit is contained in:
Jewgeni Lewash 2024-03-08 23:21:19 +01:00
parent f4f9e71726
commit 769ccc451c

View File

@ -1,4 +1,5 @@
---
import { ViewTransitions } from 'astro:transitions';
import '@/styles/globals.css';
import Header from '@/components/layout/Header.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="manifest" href="/site.webmanifest" />
<link rel="sitemap" href="/sitemap-index.xml" />
<ViewTransitions />
</head>
<body class="flex min-h-screen flex-col dark:bg-secondary">
<Header />