diff --git a/scripts/critters.mjs b/scripts/critters.mjs index 4cec513..cb6e96e 100644 --- a/scripts/critters.mjs +++ b/scripts/critters.mjs @@ -46,7 +46,7 @@ async function main() { const critters = new Critters({ path: DIST, - preload: 'swap', + preload: 'default', noscriptFallback: true, pruneSource: false, logLevel: 'warn', @@ -57,7 +57,7 @@ async function main() { const filePath = path.join(DIST, file); let html = fs.readFileSync(filePath, 'utf8'); html = await critters.process(html); - html = postProcessSwapLinks(html); + // html = postProcessSwapLinks(html); fs.writeFileSync(filePath, html, 'utf8'); console.log('✓ Critical CSS inlined → dist/' + file); } diff --git a/src/lib/components/Hero.svelte b/src/lib/components/Hero.svelte index 378c832..06e5e86 100644 --- a/src/lib/components/Hero.svelte +++ b/src/lib/components/Hero.svelte @@ -12,7 +12,7 @@
Ready to discuss your project?
- +