feat: remove astro features that are replaced by swup

This commit is contained in:
2026-03-13 10:35:15 -05:00
parent d0f10986cd
commit 70a94990e2
2 changed files with 1 additions and 5 deletions

View File

@@ -24,8 +24,6 @@ export default defineConfig({
} }
}, },
prefetch: true,
integrations: [ integrations: [
react(), react(),
sitemap(), sitemap(),

View File

@@ -1,5 +1,4 @@
--- ---
import { ClientRouter } from 'astro:transitions';
import { readSingleton } from '@directus/sdk'; import { readSingleton } from '@directus/sdk';
import BaseHead from '@components/BaseHead.astro'; import BaseHead from '@components/BaseHead.astro';
@@ -39,8 +38,7 @@ const normalizeTitle = !title ? global.name : `${title} | ${global.name}`;
structuredData={structuredData} structuredData={structuredData}
/> />
<ClientRouter fallback="swap" /> <!-- Set Theme -->
<script is:inline> <script is:inline>
const theme = (() => { const theme = (() => {
if (typeof localStorage !== 'undefined' && localStorage.getItem('theme')) { if (typeof localStorage !== 'undefined' && localStorage.getItem('theme')) {