import { cn } from '@/lib/utils'; import { ArrowRightIcon, CalendarIcon, CheckIcon, ChevronRightIcon, CookieIcon, CreditCardIcon, DatabaseIcon, DollarSignIcon, FlaskRoundIcon, GithubIcon, ServerIcon, StarIcon, } from 'lucide-react'; import Link from 'next/link'; import { useState } from 'react'; import { Competition } from './competition'; import { HeroCarousel } from './hero-carousel'; import { HeroMap } from './hero-map'; import { Tag } from './tag'; import { Button } from './ui/button'; const perks = [ { text: 'Free trial 30 days', icon: CalendarIcon }, { text: 'No credit card required', icon: CreditCardIcon }, { text: 'Cookie-less tracking', icon: CookieIcon }, { text: 'Open-source', icon: GithubIcon }, { text: 'Your data, your rules', icon: DatabaseIcon }, { text: 'Self-hostable', icon: ServerIcon }, ]; export function Hero() { return ( Trusted by +2000 projects An open-source alternative to A web and product analytics platform that combines the power of Mixpanel with the ease of Plausible and one of the best Google Analytics replacements. Get started now {perks.map((perk) => ( {perk.text} ))} {/* Window controls */} {/* URL bar */} https://demo.openpanel.dev Test live demo ); } export function HeroContainer({ children, className, }: { children?: React.ReactNode; className?: string; }): React.ReactElement { return ( {children} {/* Shadow bottom */} ); }
A web and product analytics platform that combines the power of Mixpanel with the ease of Plausible and one of the best Google Analytics replacements.