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"
> >
@ -32,9 +31,9 @@ const pngSrcset = png.map(({ srcset }) => srcset).join(",");
<div <div
class="font-extrabold tracking-tighter text-center text-8xl gradient-text" class="font-extrabold tracking-tighter text-center text-8xl gradient-text"
> >
Build Astro Build Astro
<br />Applications <br />Applications
<br />with Reactive UIs <br />with Reactive UIs
</div> </div>
</h2> </h2>
<div <div
@ -65,6 +64,7 @@ const pngSrcset = png.map(({ srcset }) => srcset).join(",");
/> />
</picture> </picture>
</div> </div>
<Starfield client:load />
</section> </section>
<noscript> <noscript>