fix(landing-page): make starfield load

This commit is contained in:
Ayo 2022-11-07 11:52:17 +01:00
parent 7dc741e3b3
commit 007f56c1b9

View file

@ -20,7 +20,6 @@ const pngSrcset = png.map(({ srcset }) => srcset).join(",");
--- ---
<section class="h-screen flex flex-col px-10 astro relative"> <section class="h-screen flex flex-col px-10 astro relative">
<Starfield />
<div <div
class="relative flex flex-col-reverse justify-end pt-16 h-full astro-lg:grid-cols-2 place-items-center astro-lg:grid astro-lg:pt-0 astro-img:pt-10" class="relative flex flex-col-reverse justify-end pt-16 h-full astro-lg:grid-cols-2 place-items-center astro-lg:grid astro-lg:pt-0 astro-img:pt-10"
> >
@ -65,6 +64,7 @@ const pngSrcset = png.map(({ srcset }) => srcset).join(",");
/> />
</picture> </picture>
</div> </div>
<Starfield client:load />
</section> </section>
<noscript> <noscript>