remove fade transition

Signed-off-by: Max Schmidt <max.schmidt@outlook.de>
This commit is contained in:
Max Schmidt 2023-08-14 18:22:05 +02:00
parent 4987d40678
commit 3363396db3

View File

@ -1,6 +1,7 @@
---
import "@/global.css";
import ViewTransitions from "astro/components/ViewTransitions.astro";
export interface Props {
title: string;
}
@ -14,11 +15,9 @@ const { title } = Astro.props;
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
<title>{title}</title>
<ViewTransitions/>
<ViewTransitions />
</head>
<body class="font-plex bg-gray max-w-7xl mx-auto py-8 text-gray-200 px-6">
<div transition:animate="fade">
<slot />
</div>
</body>
</html>