|
| 1 | +import { ArrowLeftIcon } from '@phosphor-icons/react/ssr'; |
| 2 | +import Link from 'next/link'; |
| 3 | +import { SciFiButton } from '@/components/landing/scifi-btn'; |
| 4 | +import Section from '@/components/landing/section'; |
| 5 | +import { Spotlight } from '@/components/landing/spotlight'; |
| 6 | + |
| 7 | +export default function NotFound() { |
| 8 | + return ( |
| 9 | + <div className="overflow-hidden"> |
| 10 | + <Spotlight transform="translateX(-60%) translateY(-50%)" /> |
| 11 | + |
| 12 | + <Section className="overflow-hidden" customPaddings id="not-found-hero"> |
| 13 | + <section className="relative w-full pt-24 pb-24 sm:pt-32 sm:pb-32"> |
| 14 | + <div className="mx-auto w-full max-w-4xl px-4 sm:px-6 lg:px-8"> |
| 15 | + <div className="text-center"> |
| 16 | + <h1 className="mb-4 font-semibold text-3xl leading-tight tracking-tight sm:text-5xl md:text-6xl lg:text-7xl"> |
| 17 | + <span className="block"> |
| 18 | + Comparison <span className="text-muted-foreground">not</span> |
| 19 | + </span> |
| 20 | + <span className="block"> |
| 21 | + <span className="text-muted-foreground">found</span> |
| 22 | + </span> |
| 23 | + </h1> |
| 24 | + <p className="mx-auto mb-8 max-w-2xl text-balance font-medium text-muted-foreground text-sm leading-relaxed tracking-tight sm:text-base lg:text-lg"> |
| 25 | + We don't have a comparison for this analytics platform yet, but |
| 26 | + we're constantly adding new ones. |
| 27 | + </p> |
| 28 | + |
| 29 | + <div className="mb-8 rounded border border-border bg-card/30 p-6 backdrop-blur-sm"> |
| 30 | + <h3 className="mb-4 font-semibold text-foreground text-lg"> |
| 31 | + Available Comparisons: |
| 32 | + </h3> |
| 33 | + <div className="flex flex-wrap justify-center gap-4"> |
| 34 | + <Link |
| 35 | + className="rounded border border-primary/20 bg-primary/10 px-3 py-2 text-primary text-sm backdrop-blur-sm transition-all hover:border-primary/30 hover:bg-primary/20 hover:shadow-lg" |
| 36 | + href="/compare/plausible" |
| 37 | + > |
| 38 | + vs Plausible |
| 39 | + </Link> |
| 40 | + <Link |
| 41 | + className="rounded border border-primary/20 bg-primary/10 px-3 py-2 text-primary text-sm backdrop-blur-sm transition-all hover:border-primary/30 hover:bg-primary/20 hover:shadow-lg" |
| 42 | + href="/compare/google-analytics" |
| 43 | + > |
| 44 | + vs Google Analytics |
| 45 | + </Link> |
| 46 | + <Link |
| 47 | + className="rounded border border-primary/20 bg-primary/10 px-3 py-2 text-primary text-sm backdrop-blur-sm transition-all hover:border-primary/30 hover:bg-primary/20 hover:shadow-lg" |
| 48 | + href="/compare/fathom" |
| 49 | + > |
| 50 | + vs Fathom Analytics |
| 51 | + </Link> |
| 52 | + </div> |
| 53 | + </div> |
| 54 | + |
| 55 | + <div className="flex flex-col items-center gap-4 sm:flex-row sm:justify-center"> |
| 56 | + <Link |
| 57 | + className="group relative inline-flex items-center justify-center gap-2 overflow-hidden rounded border border-border bg-foreground/5 px-6 py-3 font-medium text-foreground backdrop-blur-sm transition-all hover:bg-foreground/10 active:scale-[0.98]" |
| 58 | + href="/compare" |
| 59 | + > |
| 60 | + <ArrowLeftIcon |
| 61 | + className="group-hover:-translate-x-0.5 h-4 w-4 transition-transform" |
| 62 | + weight="fill" |
| 63 | + /> |
| 64 | + All Comparisons |
| 65 | + </Link> |
| 66 | + <SciFiButton asChild> |
| 67 | + <Link |
| 68 | + href="https://app.databuddy.cc/login" |
| 69 | + rel="noopener noreferrer" |
| 70 | + target="_blank" |
| 71 | + > |
| 72 | + TRY DATABUDDY FREE |
| 73 | + </Link> |
| 74 | + </SciFiButton> |
| 75 | + </div> |
| 76 | + </div> |
| 77 | + </div> |
| 78 | + </section> |
| 79 | + </Section> |
| 80 | + </div> |
| 81 | + ); |
| 82 | +} |
0 commit comments