Add support for new astro View Transitions

This commit is contained in:
prototypa
2023-08-06 22:05:30 -04:00
parent 0853d9ef75
commit 259580062a
3 changed files with 8 additions and 1 deletions

View File

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