diff --git a/app/page.tsx b/app/page.tsx index 4f84a39..343b3cf 100644 --- a/app/page.tsx +++ b/app/page.tsx @@ -4,7 +4,7 @@ import { useEffect, useState } from 'react' import Link from 'next/link' import { motion } from 'framer-motion' import { useAuth } from '@/lib/auth/context' -import { initiateOAuthFlow, initiateSignupFlow } from '@/lib/api/oauth' +import { initiateOAuthFlow } from '@/lib/api/oauth' import { listSites, listDeletedSites, restoreSite, type Site } from '@/lib/api/sites' import { getStats } from '@/lib/api/stats' import type { Stats } from '@/lib/api/stats' @@ -15,6 +15,7 @@ import DeleteSiteModal from '@/components/sites/DeleteSiteModal' import { Button } from '@ciphera-net/ui' import Image from 'next/image' import { BarChartIcon, LockIcon, ZapIcon, CheckCircleIcon, XIcon, GlobeIcon } from '@ciphera-net/ui' +import { Cookie, ShieldCheck, Code, Lightning, ArrowRight, GithubLogo } from '@phosphor-icons/react' import { toast } from '@ciphera-net/ui' import { getAuthErrorMessage } from '@ciphera-net/ui' import { getSitesLimitForPlan } from '@/lib/plans' @@ -232,83 +233,82 @@ export default function HomePage() { if (!user) { return ( -
- - {/* * --- 1. ATMOSPHERE (Background) --- */} -
- {/* * Bottom-right Neutral Glow */} -
- {/* * Grid Pattern with Radial Mask */} -
-
+ <> + {/* HERO — full viewport */} +
+ {/* Background atmosphere */} +
+
+
+
+
-
- - {/* * --- 2. BADGE --- */} - - - - Privacy-First Analytics - - - - {/* * --- 3. HEADLINE --- */} -
+
+ {/* H1 */} - Simple analytics for
+ Analytics without the{' '} - privacy-conscious - {/* * SVG Underline from Main Site */} + surveillance. - {' '}apps.
+ {/* Subtitle */} - Respect your users' privacy while getting the insights you need. + Respect your users' privacy while getting the insights you need. No cookies, no IP tracking, fully GDPR compliant. - {/* * --- 4. CTAs --- */} + {/* CTAs */} + + + + + + {/* Trust badges */} - - + Cookie-free + | + Open source client + | + GDPR compliant + | + Under 2KB
+
- {/* * NEW: DASHBOARD PREVIEW */} + {/* Existing content below hero */} +
- {/* * --- 5. GLASS CARDS --- */} + {/* Glass cards */}
{[ { icon: LockIcon, title: "Privacy First", desc: "We don't track personal data. No IP addresses, no fingerprints, no cookies." }, @@ -334,10 +334,9 @@ export default function HomePage() { ))}
- {/* * NEW: COMPARISON SECTION */} - {/* * NEW: CTA BOTTOM */} + {/* Bottom CTA */}

No credit card required • Cancel anytime

-
-
+ ) }