diff --git a/apps/public/public/clickable-demo.png b/apps/public/public/clickable-demo.png new file mode 100644 index 00000000..fefdb7c9 Binary files /dev/null and b/apps/public/public/clickable-demo.png differ diff --git a/apps/public/public/clickhouse.png b/apps/public/public/clickhouse.png new file mode 100644 index 00000000..c748d0ed Binary files /dev/null and b/apps/public/public/clickhouse.png differ diff --git a/apps/public/public/getdreams.png b/apps/public/public/getdreams.png new file mode 100644 index 00000000..f71225bd Binary files /dev/null and b/apps/public/public/getdreams.png differ diff --git a/apps/public/public/kiddokitchen.png b/apps/public/public/kiddokitchen.png new file mode 100644 index 00000000..9997bb04 Binary files /dev/null and b/apps/public/public/kiddokitchen.png differ diff --git a/apps/public/src/app/(static)/layout.tsx b/apps/public/src/app/(static)/layout.tsx new file mode 100644 index 00000000..e3d7d5f9 --- /dev/null +++ b/apps/public/src/app/(static)/layout.tsx @@ -0,0 +1,20 @@ +import { Navbar } from '../navbar'; + +interface Props { + children: React.ReactNode; +} + +export default function Layout({ children }: Props) { + return ( + <> + +
+
{children}
+ + ); +} diff --git a/apps/public/src/app/privacy/page.tsx b/apps/public/src/app/(static)/privacy/page.tsx similarity index 99% rename from apps/public/src/app/privacy/page.tsx rename to apps/public/src/app/(static)/privacy/page.tsx index dfb55347..c23157de 100644 --- a/apps/public/src/app/privacy/page.tsx +++ b/apps/public/src/app/(static)/privacy/page.tsx @@ -1,4 +1,4 @@ -import { Heading1 } from '../copy'; +import { Heading1 } from '../../copy'; export const dynamic = 'force-dynamic'; export const revalidate = 3600; diff --git a/apps/public/src/app/terms/page.tsx b/apps/public/src/app/(static)/terms/page.tsx similarity index 99% rename from apps/public/src/app/terms/page.tsx rename to apps/public/src/app/(static)/terms/page.tsx index f44c6997..aa592a38 100644 --- a/apps/public/src/app/terms/page.tsx +++ b/apps/public/src/app/(static)/terms/page.tsx @@ -1,4 +1,4 @@ -import { Heading1 } from '../copy'; +import { Heading1 } from '../../copy'; export const dynamic = 'force-dynamic'; export const revalidate = 3600; diff --git a/apps/public/src/app/hero.tsx b/apps/public/src/app/hero.tsx index 337cf92e..0d17eabc 100644 --- a/apps/public/src/app/hero.tsx +++ b/apps/public/src/app/hero.tsx @@ -1,8 +1,12 @@ +import { Tooltip, TooltipContent } from '@/components/ui/tooltip'; +import { TooltipTrigger } from '@radix-ui/react-tooltip'; import Image from 'next/image'; import { PreviewCarousel } from './carousel'; import { Heading1, Lead2 } from './copy'; import { JoinWaitlistHero } from './join-waitlist-hero'; +import { SocialProofServer } from './social-proof'; +import { SocialProof } from './social-proof/social-proof'; const avatars = [ 'https://api.dicebear.com/7.x/adventurer/svg?seed=Chester&backgroundColor=b6e3f4', @@ -10,7 +14,7 @@ const avatars = [ 'https://api.dicebear.com/7.x/adventurer/svg?seed=Boo&backgroundColor=ffdfbf', ]; -export function Hero({ waitlistCount }: { waitlistCount: number }) { +export function Hero() { return (
{/*
*/} @@ -37,16 +41,12 @@ export function Hero({ waitlistCount }: { waitlistCount: number }) { alternative to Mixpanel - Mixpanel + Plausible = Openpanel!{' '} -
A simple analytics tool that your wallet can afford. + The power of Mixpanel, the ease of Plausible
+ and nothing from Google Analytics 😉
-
-

- {waitlistCount} people have already signed up! 🚀 -

-
+
diff --git a/apps/public/src/app/join-waitlist-hero.tsx b/apps/public/src/app/join-waitlist-hero.tsx index caf81a6f..0f602397 100644 --- a/apps/public/src/app/join-waitlist-hero.tsx +++ b/apps/public/src/app/join-waitlist-hero.tsx @@ -25,14 +25,14 @@ export function JoinWaitlistHero({ className }: JoinWaitlistProps) { useEffect(() => { if (open) { // @ts-ignore - window.op('event', 'waitlist_open'); + window.op?.('event', 'waitlist_open'); } }, [open]); useEffect(() => { if (success) { // @ts-ignore - window.op('event', 'waitlist_success', { + window.op?.('event', 'waitlist_success', { email: value, }); } @@ -113,15 +113,23 @@ export function JoinWaitlistHero({ className }: JoinWaitlistProps) { > Join waitlist now - - - + +
+ + + + Clickable demo button +
); diff --git a/apps/public/src/app/layout.tsx b/apps/public/src/app/layout.tsx index 2fc3f5ce..ffabec12 100644 --- a/apps/public/src/app/layout.tsx +++ b/apps/public/src/app/layout.tsx @@ -35,39 +35,10 @@ export default function RootLayout({ font.className )} > -
-
{children}
+ {children}