diff --git a/app/page.tsx b/app/page.tsx index 29f0d46..d522cf7 100644 --- a/app/page.tsx +++ b/app/page.tsx @@ -8,9 +8,108 @@ import { listSites, deleteSite, type Site } from '@/lib/api/sites' import { LoadingOverlay } from '@ciphera-net/ui' import SiteList from '@/components/sites/SiteList' import { Button } from '@ciphera-net/ui' -import { BarChartIcon, LockIcon, ZapIcon } from '@ciphera-net/ui' +import { BarChartIcon, LockIcon, ZapIcon, CheckCircleIcon, XIcon } from '@ciphera-net/ui' import { toast } from '@ciphera-net/ui' +function DashboardPreview() { + return ( +
+ {/* * Glow behind the image */} +
+ + {/* * The Dashboard Image Container */} +
+ {/* * Header of the fake browser window */} +
+
+
+
+
+ + {/* * Placeholder for actual dashboard screenshot - replace src with real image later */} +
+
+ +

Dashboard Preview

+
+
+
+
+ ) +} + +function ComparisonSection() { + return ( +
+
+

Why choose Pulse?

+

The lightweight, privacy-friendly alternative.

+
+ +
+ + + + + + + + + + {[ + { feature: "Cookie Banner Required", pulse: false, ga: true }, + { feature: "GDPR Compliant", pulse: true, ga: "Complex" }, + { feature: "Script Size", pulse: "< 1 KB", ga: "45 KB+" }, + { feature: "Data Ownership", pulse: "Yours", ga: "Google's" }, + ].map((row, i) => ( + + + + + + ))} + +
FeaturePulseGoogle Analytics
{row.feature} + {row.pulse === true ? ( + + ) : row.pulse === false ? ( + No + ) : ( + {row.pulse} + )} + + {row.ga === true ? ( + Yes + ) : ( + {row.ga} + )} +
+
+
+ ) +} + +function Footer() { + return ( +
+
+
+
P
+ Pulse +
+
+ © {new Date().getFullYear()} Ciphera. All rights reserved. +
+
+ Privacy + Terms + GitHub +
+
+
+ ) +} + export default function HomePage() { const { user, loading: authLoading } = useAuth() const [sites, setSites] = useState([]) @@ -55,7 +154,7 @@ export default function HomePage() { if (!user) { return ( -
+
{/* * --- 1. ATMOSPHERE (Background) --- */}
@@ -70,10 +169,10 @@ export default function HomePage() { />
-
+
{/* * --- 2. BADGE --- */} -
+
Privacy-First Analytics @@ -81,35 +180,40 @@ export default function HomePage() {
{/* * --- 3. HEADLINE --- */} -

- Simple analytics for
- - privacy-conscious - {/* * SVG Underline from Main Site */} - - - - - {' '}apps. -

+
+

+ Simple analytics for
+ + privacy-conscious + {/* * SVG Underline from Main Site */} + + + + + {' '}apps. +

-

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

+

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

- {/* * --- 4. CTAs --- */} -
- - + {/* * --- 4. CTAs --- */} +
+ + +
+ {/* * NEW: DASHBOARD PREVIEW */} + + {/* * --- 5. GLASS CARDS --- */} -
+
{[ { icon: LockIcon, title: "Privacy First", desc: "We don't track personal data. No IP addresses, no fingerprints, no cookies." }, { icon: BarChartIcon, title: "Simple Insights", desc: "Get the metrics that matter without the clutter. Page views, visitors, and sources." }, @@ -127,7 +231,22 @@ export default function HomePage() { ))}
+ {/* * NEW: COMPARISON SECTION */} + + + {/* * NEW: CTA BOTTOM */} +
+

Ready to switch?

+ +

No credit card required • Cancel anytime

+
+
+ + {/* * NEW: FOOTER */} +
) }