From 8d7ef9e879f8138f85e33550581b8e28a6314db6 Mon Sep 17 00:00:00 2001 From: Lalit Date: Wed, 19 Oct 2022 20:05:38 +0530 Subject: [PATCH] feat(landing-page): call-to-actions buttons (#116) --- .../landing-page/src/components/copynpm.astro | 32 +++++++++++++++++++ apps/landing-page/src/components/splash.astro | 31 ++++++++++++------ 2 files changed, 53 insertions(+), 10 deletions(-) create mode 100644 apps/landing-page/src/components/copynpm.astro diff --git a/apps/landing-page/src/components/copynpm.astro b/apps/landing-page/src/components/copynpm.astro new file mode 100644 index 0000000..d0d9ede --- /dev/null +++ b/apps/landing-page/src/components/copynpm.astro @@ -0,0 +1,32 @@ +--- +import { Icon } from "astro-icon"; +--- + + + + diff --git a/apps/landing-page/src/components/splash.astro b/apps/landing-page/src/components/splash.astro index 6d1b7a8..f4b946b 100644 --- a/apps/landing-page/src/components/splash.astro +++ b/apps/landing-page/src/components/splash.astro @@ -2,6 +2,7 @@ import { generateImage } from "astro-eleventy-img"; import { Icon } from "astro-icon"; import Starfield from "~/components/starfield.astro"; +import Copynpm from "~/components/copynpm.astro"; const widths = [450, 800]; const sizes = "(min-width: 640px) 42vw, 67vw"; @@ -21,18 +22,28 @@ const pngSrcset = png.map(({ srcset }) => srcset).join(",");
-

- -
+

- Build fast -
websites, -
faster. +
+ Build fast +
websites, +
faster. +
+

+
+ +
-

+