Merge branch 'toc-new'

# Conflicts:
#	astro.config.mjs
#	pnpm-lock.yaml
#	src/components/GlobalStyles.astro
This commit is contained in:
saicaca
2024-10-26 16:02:43 +08:00
9 changed files with 243 additions and 274 deletions

View File

@@ -38,10 +38,10 @@ export default defineConfig({
tailwind(),
swup({
theme: false,
animationClass: 'transition-swup-', // see https://swup.js.org/options/#animationselector
// the default value `transition-` cause transition delay
// when the Tailwind class `transition-all` is used
containers: ['main'],
animationClass: 'transition-swup-', // see https://swup.js.org/options/#animationselector
// the default value `transition-` cause transition delay
// when the Tailwind class `transition-all` is used
containers: ['main', '#toc'],
smoothScrolling: true,
cache: true,
preload: true,