fix: page transitions not working and style issues

This commit is contained in:
trafficlunar 2025-07-20 21:58:15 +01:00
parent d42e9278ab
commit c5598c6620
5 changed files with 1087 additions and 15 deletions

View file

@ -8,6 +8,8 @@ import nekoweb from "@indiefellas/astro-adapter-nekoweb";
import svelte from "@astrojs/svelte";
import sitemap from "@astrojs/sitemap";
import swup, { Theme } from "@swup/astro";
const { NEKOWEB_API_KEY, NEKOWEB_COOKIE } = loadEnv(env.NODE_ENV ?? "", process.cwd(), "");
// https://astro.build/config
@ -21,5 +23,5 @@ export default defineConfig({
cookie: NEKOWEB_COOKIE,
folder: "dist",
}),
integrations: [svelte(), sitemap()],
integrations: [svelte(), sitemap(), swup()],
});