Revert (remove) astro View Transitions until stable
This commit is contained in:
@ -69,10 +69,6 @@ export default defineConfig({
|
|||||||
remarkPlugins: [readingTimeRemarkPlugin],
|
remarkPlugins: [readingTimeRemarkPlugin],
|
||||||
},
|
},
|
||||||
|
|
||||||
experimental: {
|
|
||||||
viewTransitions: true,
|
|
||||||
},
|
|
||||||
|
|
||||||
vite: {
|
vite: {
|
||||||
resolve: {
|
resolve: {
|
||||||
alias: {
|
alias: {
|
||||||
|
@ -1,6 +1,4 @@
|
|||||||
---
|
---
|
||||||
import { ViewTransitions } from 'astro:transitions';
|
|
||||||
|
|
||||||
import '~/assets/styles/tailwind.css';
|
import '~/assets/styles/tailwind.css';
|
||||||
|
|
||||||
import { I18N_CONFIG } from "~/utils/config";
|
import { I18N_CONFIG } from "~/utils/config";
|
||||||
@ -35,7 +33,6 @@ const { language, textDirection } = I18N_CONFIG;
|
|||||||
<Metadata {...metadata} />
|
<Metadata {...metadata} />
|
||||||
<SiteVerification />
|
<SiteVerification />
|
||||||
<Analytics />
|
<Analytics />
|
||||||
<ViewTransitions />
|
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body class="antialiased text-default bg-page tracking-tight">
|
<body class="antialiased text-default bg-page tracking-tight">
|
||||||
|
@ -22,7 +22,7 @@ const { metadata } = Astro.props;
|
|||||||
<slot name="header">
|
<slot name="header">
|
||||||
<Header {...headerData} isSticky showRssFeed showToggleTheme />
|
<Header {...headerData} isSticky showRssFeed showToggleTheme />
|
||||||
</slot>
|
</slot>
|
||||||
<main transition:animate="morph">
|
<main>
|
||||||
<slot />
|
<slot />
|
||||||
</main>
|
</main>
|
||||||
<slot name="footer">
|
<slot name="footer">
|
||||||
|
Reference in New Issue
Block a user