Merge branch 'main' of https://github.com/widgeter/astrowind
This commit is contained in:
@ -64,15 +64,14 @@ export default defineConfig({
|
|||||||
tasks(),
|
tasks(),
|
||||||
|
|
||||||
compress({
|
compress({
|
||||||
css: true,
|
CSS: true,
|
||||||
html: {
|
HTML: {
|
||||||
removeAttributeQuotes: false,
|
removeAttributeQuotes: false,
|
||||||
},
|
},
|
||||||
img: false,
|
Image: false,
|
||||||
js: true,
|
JavaScript: true,
|
||||||
svg: true,
|
SVG: true,
|
||||||
|
Logger: 1,
|
||||||
logger: 1,
|
|
||||||
}),
|
}),
|
||||||
],
|
],
|
||||||
|
|
||||||
|
@ -7,7 +7,7 @@ const { id, isDark = false, containerClass = "", bg, as = "section" } = Astro.pr
|
|||||||
const WrapperTag = as;
|
const WrapperTag = as;
|
||||||
---
|
---
|
||||||
|
|
||||||
<WrapperTag class="relative not-prose" {...id ? { id } : {}}>
|
<WrapperTag class="relative not-prose scroll-mt-[72px]" {...id ? { id } : {}}>
|
||||||
<div class="absolute inset-0 pointer-events-none -z-[1]" aria-hidden="true">
|
<div class="absolute inset-0 pointer-events-none -z-[1]" aria-hidden="true">
|
||||||
<slot name="bg">
|
<slot name="bg">
|
||||||
{bg ? <Fragment set:html={bg} /> : <Background isDark={isDark} />}
|
{bg ? <Fragment set:html={bg} /> : <Background isDark={isDark} />}
|
||||||
|
Reference in New Issue
Block a user