Revert (remove) astro View Transitions until stable

This commit is contained in:
prototypa
2023-08-07 07:47:08 -04:00
parent 5ee7bd2a4f
commit 76e55f7115
3 changed files with 1 additions and 8 deletions

View File

@ -69,10 +69,6 @@ export default defineConfig({
remarkPlugins: [readingTimeRemarkPlugin],
},
experimental: {
viewTransitions: true,
},
vite: {
resolve: {
alias: {

View File

@ -1,6 +1,4 @@
---
import { ViewTransitions } from 'astro:transitions';
import '~/assets/styles/tailwind.css';
import { I18N_CONFIG } from "~/utils/config";
@ -35,7 +33,6 @@ const { language, textDirection } = I18N_CONFIG;
<Metadata {...metadata} />
<SiteVerification />
<Analytics />
<ViewTransitions />
</head>
<body class="antialiased text-default bg-page tracking-tight">

View File

@ -22,7 +22,7 @@ const { metadata } = Astro.props;
<slot name="header">
<Header {...headerData} isSticky showRssFeed showToggleTheme />
</slot>
<main transition:animate="morph">
<main>
<slot />
</main>
<slot name="footer">