mirror of
https://github.com/trafficlunar/website.git
synced 2026-08-12 12:29:49 +00:00
fix: page transitions not working and style issues
This commit is contained in:
parent
d42e9278ab
commit
c5598c6620
5 changed files with 1087 additions and 15 deletions
|
|
@ -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()],
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue