improve public landing page
This commit is contained in:
@@ -47,7 +47,10 @@ export function PreviewCarousel() {
|
|||||||
>
|
>
|
||||||
<CarouselContent>
|
<CarouselContent>
|
||||||
{images.map((item) => (
|
{images.map((item) => (
|
||||||
<CarouselItem key={item.url} className="flex-[0_0_80%] pl-8">
|
<CarouselItem
|
||||||
|
key={item.url}
|
||||||
|
className="flex-[0_0_80%] max-w-3xl pl-8"
|
||||||
|
>
|
||||||
<div className="aspect-video">
|
<div className="aspect-video">
|
||||||
<div className="p-3 rounded-xl overflow-hidden bg-gradient-to-b from-blue-100/50 to-white/50">
|
<div className="p-3 rounded-xl overflow-hidden bg-gradient-to-b from-blue-100/50 to-white/50">
|
||||||
<Image
|
<Image
|
||||||
|
|||||||
@@ -8,7 +8,9 @@ import {
|
|||||||
Globe2Icon,
|
Globe2Icon,
|
||||||
LayoutPanelTopIcon,
|
LayoutPanelTopIcon,
|
||||||
LockIcon,
|
LockIcon,
|
||||||
|
ServerIcon,
|
||||||
} from 'lucide-react';
|
} from 'lucide-react';
|
||||||
|
import Image from 'next/image';
|
||||||
|
|
||||||
import { Heading1, Lead, Lead2 } from './copy';
|
import { Heading1, Lead, Lead2 } from './copy';
|
||||||
import { JoinWaitlist } from './join-waitlist';
|
import { JoinWaitlist } from './join-waitlist';
|
||||||
@@ -34,38 +36,40 @@ const features = [
|
|||||||
title: 'No cookies',
|
title: 'No cookies',
|
||||||
icon: CookieIcon,
|
icon: CookieIcon,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
title: 'Self-hosted',
|
||||||
|
icon: ServerIcon,
|
||||||
|
},
|
||||||
];
|
];
|
||||||
|
|
||||||
export function Hero({ waitlistCount }: { waitlistCount: number }) {
|
export function Hero({ waitlistCount }: { waitlistCount: number }) {
|
||||||
return (
|
return (
|
||||||
<div className="flex flex-col items-center w-full text-center text-blue-950">
|
<div className="flex flex-col items-center w-full text-center text-blue-950">
|
||||||
<div className="py-32 p-4 flex flex-col items-center max-w-3xl bg-[radial-gradient(circle,rgba(255,255,255,0.7)_0%,rgba(255,255,255,0.7)_50%,rgba(255,255,255,0)_100%)]">
|
<div className="pt-32 pb-56 p-4 flex flex-col items-center max-w-3xl bg-[radial-gradient(circle,rgba(255,255,255,0.7)_0%,rgba(255,255,255,0.7)_50%,rgba(255,255,255,0)_100%)]">
|
||||||
<Heading1 className="mb-4">
|
<Heading1 className="mb-4">
|
||||||
An open-source
|
An open-source
|
||||||
<br />
|
<br />
|
||||||
alternative to Mixpanel
|
alternative to Mixpanel
|
||||||
</Heading1>
|
</Heading1>
|
||||||
<p className="mb-8">
|
<p>
|
||||||
Mixpanel + Plausible ={' '}
|
Mixpanel + Plausible ={' '}
|
||||||
<strong className="text-blue-600">Openpanel!</strong> A simple
|
<strong className="text-blue-600">Openpanel!</strong> A simple
|
||||||
analytics tool that your wallet can afford.
|
analytics tool that your wallet can afford.
|
||||||
</p>
|
</p>
|
||||||
|
<div className="my-12 w-full flex flex-col items-center">
|
||||||
<JoinWaitlist />
|
<JoinWaitlist />
|
||||||
<div className="mt-4 text-sm">
|
<div className="mt-2">
|
||||||
<p>Get ahead of the curve and join our waiting list{' - '}</p>
|
<p>{waitlistCount} people have already signed up! 🚀</p>
|
||||||
<p>
|
|
||||||
there are already{' '}
|
|
||||||
<strong>{waitlistCount} savvy individuals on board!</strong> 🎉
|
|
||||||
</p>
|
|
||||||
</div>
|
</div>
|
||||||
{/* <div className="flex flex-wrap gap-10 mt-8 max-w-xl justify-center">
|
</div>
|
||||||
|
<div className="flex flex-wrap gap-10 max-w-xl justify-center">
|
||||||
{features.map(({ icon: Icon, title }) => (
|
{features.map(({ icon: Icon, title }) => (
|
||||||
<div className="flex gap-2 items-center justify-center">
|
<div className="flex gap-2 items-center justify-center">
|
||||||
<Icon className="text-blue-light " />
|
<Icon className="text-blue-light " />
|
||||||
{title}
|
{title}
|
||||||
</div>
|
</div>
|
||||||
))}
|
))}
|
||||||
</div> */}
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -33,7 +33,7 @@ export function Widget({
|
|||||||
<Icon
|
<Icon
|
||||||
key={i}
|
key={i}
|
||||||
size={120}
|
size={120}
|
||||||
className={cn('flex-shrink-0 opacity-10 relative', offsets?.[i])}
|
className={cn('flex-shrink-0 opacity-5 relative', offsets?.[i])}
|
||||||
strokeWidth={1.5}
|
strokeWidth={1.5}
|
||||||
/>
|
/>
|
||||||
))}
|
))}
|
||||||
|
|||||||
Reference in New Issue
Block a user