From 29ce2fe3b1f02bdf6a3e68bf152588d91389be6a Mon Sep 17 00:00:00 2001 From: Ayo Date: Mon, 7 Nov 2022 12:10:18 +0100 Subject: [PATCH] refactor(landing-page): starfield script on splash component --- apps/landing-page/src/sections/splash.astro | 99 ++++++++++++++++++++- 1 file changed, 97 insertions(+), 2 deletions(-) diff --git a/apps/landing-page/src/sections/splash.astro b/apps/landing-page/src/sections/splash.astro index aec113a..34a48b9 100644 --- a/apps/landing-page/src/sections/splash.astro +++ b/apps/landing-page/src/sections/splash.astro @@ -1,7 +1,6 @@ --- import { generateImage } from "astro-eleventy-img"; import { Icon } from "astro-icon"; -import Starfield from "~/sections/starfield.astro"; import Copynpm from "~/components/copynpm.astro"; const widths = [450, 800]; @@ -20,7 +19,9 @@ const pngSrcset = png.map(({ srcset }) => srcset).join(","); ---
- +
+ +
@@ -67,6 +68,100 @@ const pngSrcset = png.map(({ srcset }) => srcset).join(",");
+ +