Files
80b0c230-e6ee-410f-8d10-033…/src/app/analytics/page.tsx

148 lines
7.5 KiB
TypeScript

"use client";
import Link from "next/link";
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarLayoutFloatingOverlay from "@/components/navbar/NavbarLayoutFloatingOverlay/NavbarLayoutFloatingOverlay";
import MetricCardEleven from "@/components/sections/metrics/MetricCardEleven";
import ContactCTA from "@/components/sections/contact/ContactCTA";
import FooterBase from "@/components/sections/footer/FooterBase";
import { Rocket } from "lucide-react";
export default function AnalyticsPage() {
return (
<ThemeProvider
defaultButtonVariant="shift-hover"
defaultTextAnimation="background-highlight"
borderRadius="rounded"
contentWidth="compact"
sizing="largeSizeMediumTitles"
background="floatingGradient"
cardStyle="gradient-bordered"
primaryButtonStyle="gradient"
secondaryButtonStyle="glass"
headingFontWeight="extrabold"
>
{/* Navbar */}
<div id="nav" data-section="nav">
<NavbarLayoutFloatingOverlay
brandName="Emphra"
navItems={[
{ name: "Home", id: "/" },
{ name: "How It Works", id: "/how-it-works" },
{ name: "Playground", id: "/playground" },
{ name: "Analytics", id: "/analytics" },
{ name: "Documentation", id: "/api-docs" },
]}
button={{
text: "Get Started", href: "/contact"}}
/>
</div>
{/* Analytics Overview Section */}
<div id="analytics-overview" data-section="analytics-overview">
<MetricCardEleven
title="Platform Analytics Dashboard"
description="Real-time insights into global platform usage, intervention effectiveness, and communication trends"
tag="Global Impact"
tagAnimation="slide-up"
metrics={[
{
id: "1", value: "250M+", title: "Messages Analyzed", description: "Monthly message volume across all platforms", imageSrc:
"https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AW6vwj9rEXp2p2oPGNNsw1tfOO/global-analytics-dashboard-with-multiple-1772711737178-39901c27.png?_wi=1", imageAlt: "Analytics dashboard with charts"},
{
id: "2", value: "87%", title: "Intervention Rate", description: "Users who reflect and rewrite on first intervention", imageSrc:
"https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AW6vwj9rEXp2p2oPGNNsw1tfOO/user-profile-card-showing-behavioral-ana-1772711736379-800f42cd.png?_wi=2", imageAlt: "User behavior profile"},
{
id: "3", value: "42%", title: "Toxicity Reduction", description: "Average reduction in harmful language after 30 days", imageSrc:
"https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AW6vwj9rEXp2p2oPGNNsw1tfOO/dataset-marketplace-interface-showing-mu-1772711737522-4b064b22.png", imageAlt: "Dataset marketplace interface"},
{
id: "4", value: "95+", title: "Countries Served", description: "Global platform adoption and deployment locations", imageSrc:
"https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AW6vwj9rEXp2p2oPGNNsw1tfOO/api-code-example-with-json-response-1772711737159-af9f3875.png", imageAlt: "API code example"},
]}
animationType="slide-up"
textboxLayout="default"
useInvertedBackground={false}
/>
</div>
{/* Analytics Details Section */}
<div id="analytics-details" data-section="analytics-details">
<MetricCardEleven
title="Advanced Analytics Features"
description="Detailed behavioral insights and performance metrics for your platform"
tag="Insights"
tagAnimation="slide-up"
metrics={[
{
id: "5", value: "Feature 1", title: "User Behavioral Trends", description:
"Track communication quality improvements and positive streak metrics over time", imageSrc:
"https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AW6vwj9rEXp2p2oPGNNsw1tfOO/global-analytics-dashboard-with-multiple-1772711737178-39901c27.png?_wi=2", imageAlt: "Behavioral trends dashboard"},
{
id: "6", value: "Feature 2", title: "Intervention Analytics", description:
"Measure effectiveness of reflection prompts and suggestion adoption rates", imageSrc:
"https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AW6vwj9rEXp2p2oPGNNsw1tfOO/user-profile-card-showing-behavioral-ana-1772711736379-800f42cd.png?_wi=3", imageAlt: "Intervention effectiveness metrics"},
{
id: "7", value: "Feature 3", title: "Emotion Distribution", description:
"Analyze emotion types detected across your platform and community sentiment", imageSrc:
"https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AW6vwj9rEXp2p2oPGNNsw1tfOO/a-circular-gauge-meter-showing-emotion-r-1772711737798-2f35738c.png?_wi=2", imageAlt: "Emotion distribution analysis"},
]}
animationType="slide-up"
textboxLayout="default"
useInvertedBackground={false}
/>
</div>
{/* CTA Section */}
<div id="cta" data-section="cta">
<ContactCTA
tag="Get Started with Analytics"
tagIcon={Rocket}
tagAnimation="slide-up"
title="Monitor Your Platform's Communication Health"
description="Access comprehensive analytics dashboards to track how Emphra is improving your community's conversation quality. Real-time insights help you optimize moderation strategies."
buttons={[
{ text: "Request Demo Access", href: "/contact" },
{ text: "Learn More", href: "/how-it-works" },
]}
buttonAnimation="slide-up"
background={{ variant: "plain" }}
useInvertedBackground={false}
/>
</div>
{/* Footer */}
<div id="footer" data-section="footer">
<FooterBase
logoText="Emphra"
copyrightText="© 2025 Emphra. All rights reserved."
columns={[
{
title: "Product", items: [
{ label: "Features", href: "/#features" },
{ label: "Playground", href: "/playground" },
{ label: "Pricing", href: "#pricing" },
{ label: "API Docs", href: "/api-docs" },
],
},
{
title: "Company", items: [
{ label: "About", href: "#" },
{ label: "Blog", href: "#" },
{ label: "Careers", href: "#" },
{ label: "Contact", href: "/contact" },
],
},
{
title: "Legal", items: [
{ label: "Privacy Policy", href: "#" },
{ label: "Terms of Service", href: "#" },
{ label: "Security", href: "#" },
{ label: "Compliance", href: "#" },
],
},
]}
/>
</div>
</ThemeProvider>
);
}