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 "@/global.css";
import ViewTransitions from "astro/components/ViewTransitions.astro"; import ViewTransitions from "astro/components/ViewTransitions.astro";
export interface Props { export interface Props {
title: string; title: string;
} }
@ -17,8 +18,6 @@ const { title } = Astro.props;
<ViewTransitions /> <ViewTransitions />
</head> </head>
<body class="font-plex bg-gray max-w-7xl mx-auto py-8 text-gray-200 px-6"> <body class="font-plex bg-gray max-w-7xl mx-auto py-8 text-gray-200 px-6">
<div transition:animate="fade">
<slot /> <slot />
</div>
</body> </body>
</html> </html>