'use client' import { useAuth } from '@/lib/auth/context' import { initiateOAuthFlow, initiateSignupFlow } from '@/lib/api/oauth' import LoadingOverlay from '@/components/LoadingOverlay' import SiteList from '@/components/sites/SiteList' import { Button } from '@ciphera-net/ui' import { BarChartIcon, LockClosedIcon, LightningBoltIcon } from '@radix-ui/react-icons' import { useRouter } from 'next/navigation' export default function HomePage() { const { user, loading } = useAuth() const router = useRouter() if (loading) { return } if (!user) { return (
{/* Hero Section */}
Privacy-First Analytics

Simple analytics for
privacy-conscious apps.

Respect your users' privacy while getting the insights you need. No cookies, no IP tracking, fully GDPR compliant.

{/* Features Grid */}

Privacy First

We don't track personal data. No IP addresses, no fingerprints, no cookies.

Simple Insights

Get the metrics that matter without the clutter. Page views, visitors, and sources.

Lightweight

Our script is less than 1kb. It won't slow down your site or affect your SEO.

) } return (

Your Sites

Manage your analytics sites and view insights

) }