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