From 0381d60d90c14a1f442cd7a5877d8e314c1019ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carl-Gerhard=20Lindesva=CC=88rd?= Date: Thu, 15 Feb 2024 09:45:03 +0100 Subject: [PATCH] redisign hero --- apps/public/src/app/carousel.tsx | 2 +- apps/public/src/app/copy.tsx | 2 +- apps/public/src/app/hero.tsx | 20 ++++++++++++++------ apps/public/src/app/join-waitlist.tsx | 2 +- apps/public/src/app/layout.tsx | 2 +- apps/public/src/app/page.tsx | 13 +++++++++---- 6 files changed, 27 insertions(+), 14 deletions(-) diff --git a/apps/public/src/app/carousel.tsx b/apps/public/src/app/carousel.tsx index b01e3975..8d677d72 100644 --- a/apps/public/src/app/carousel.tsx +++ b/apps/public/src/app/carousel.tsx @@ -49,7 +49,7 @@ export function PreviewCarousel() { {images.map((item) => (
-
+
{children} diff --git a/apps/public/src/app/hero.tsx b/apps/public/src/app/hero.tsx index ab829ae2..cfbb61b0 100644 --- a/apps/public/src/app/hero.tsx +++ b/apps/public/src/app/hero.tsx @@ -36,7 +36,7 @@ const features = [ }, ]; -export function Hero() { +export function Hero({ waitlistCount }: { waitlistCount: number }) { return (
@@ -53,25 +53,33 @@ export function Hero() { backgroundSize: '70px 70px', }} > -
+
An open-source
alternative to Mixpanel

- Combine Mixpanel and Plausible and you get Openpanel. A simple - analytics tool that respects privacy. + Mixpanel + Plausible ={' '} + Openpanel! A simple + analytics tool that your wallet can afford.

-
+
+

Get ahead of the curve and join our waiting list{' - '}

+

+ there are already{' '} + {waitlistCount} savvy individuals on board! 🎉 +

+
+ {/*
{features.map(({ icon: Icon, title }) => (
{title}
))} -
+
*/}
diff --git a/apps/public/src/app/join-waitlist.tsx b/apps/public/src/app/join-waitlist.tsx index 90ff8051..9efc7e7e 100644 --- a/apps/public/src/app/join-waitlist.tsx +++ b/apps/public/src/app/join-waitlist.tsx @@ -61,7 +61,7 @@ export function JoinWaitlist({ className }: JoinWaitlistProps) { }); }} > -
+
- -
- + +
+
+ +