Update src/app/about/page.tsx

This commit is contained in:
2026-04-04 20:34:44 +00:00
parent e8bea07cac
commit 7e8a7635bf

View File

@@ -3,57 +3,47 @@
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import NavbarStyleFullscreen from '@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen';
import AboutMetric from '@/components/sections/about/AboutMetric';
import TeamCardTwo from '@/components/sections/team/TeamCardTwo';
import MetricCardEleven from '@/components/sections/metrics/MetricCardEleven';
import FooterMedia from '@/components/sections/footer/FooterMedia';
import { Users, Target, ShieldCheck } from "lucide-react";
export default function AboutPage() {
return (
<ThemeProvider>
<ThemeProvider defaultButtonVariant="hover-magnetic" defaultTextAnimation="entrance-slide" borderRadius="rounded" contentWidth="medium" sizing="medium" background="circleGradient" cardStyle="glass-elevated" primaryButtonStyle="gradient" secondaryButtonStyle="glass" headingFontWeight="normal">
<ReactLenis root>
<NavbarStyleFullscreen
navItems={[
{ name: "Home", id: "/" },
{ name: "About", id: "/about" },
{ name: "Support", id: "/faq" },
{ name: "Contact", id: "/contact" },
]}
brandName="M-Pesa"
/>
<div id="about-metrics" data-section="about">
<AboutMetric
<div id="nav" data-section="nav">
<NavbarStyleFullscreen
navItems={[
{ name: "Home", id: "/" },
{ name: "About", id: "/about" },
{ name: "Contact", id: "/contact" },
]}
brandName="M-Pesa"
/>
</div>
<div id="metrics" data-section="metrics">
<MetricCardEleven
title="Our Mission"
description="Empowering communities through innovative fintech solutions."
animationType="slide-up"
useInvertedBackground={false}
metrics={[
{ icon: Users, label: "Global Community", value: "30M+" },
{ icon: Target, label: "Daily Transactions", value: "100M+" },
{ icon: ShieldCheck, label: "Trust Rating", value: "99.9%" }
{ id: "1", icon: Users, title: "Global Community", value: "30M+", imageSrc: "http://img.b2bpic.net/free-photo/representation-user-experience-interface-design_23-2150169842.jpg?_wi=3" },
{ id: "2", icon: Target, title: "Daily Transactions", value: "100M+", imageSrc: "http://img.b2bpic.net/free-photo/representation-user-experience-interface-design_23-2150169842.jpg?_wi=3" },
{ id: "3", icon: ShieldCheck, title: "Trust Rating", value: "99.9%", imageSrc: "http://img.b2bpic.net/free-photo/representation-user-experience-interface-design_23-2150169842.jpg?_wi=3" }
]}
/>
</div>
<div id="team" data-section="team">
<TeamCardTwo
title="Meet Our Leadership"
description="The visionaries behind the M-Pesa movement."
gridVariant="three-columns-all-equal-width"
animationType="slide-up"
textboxLayout="default"
useInvertedBackground={false}
members={[
{ id: "1", name: "Alex Rivera", role: "CEO & Founder", description: "Leading the digital transformation of fintech in Africa." },
{ id: "2", name: "Sarah Chen", role: "CTO", description: "Building secure and scalable infrastructure for all." },
{ id: "3", name: "Marcus Vane", role: "Head of Operations", description: "Ensuring seamless user experiences worldwide." }
]}
/>
<div id="footer" data-section="footer">
<FooterMedia
imageSrc="http://img.b2bpic.net/free-photo/blue-neon-lines-deep-shadow-cyberpunk-background_169016-71497.jpg"
logoText="M-Pesa"
columns={[
{ title: "Company", items: [{ label: "About Us", href: "/about" }, { label: "Contact", href: "/contact" }] },
{ title: "Support", items: [{ label: "Help Center", href: "#" }, { label: "Privacy Policy", href: "#" }] },
]}
/>
</div>
<FooterMedia
imageSrc="http://img.b2bpic.net/free-photo/blue-neon-lines-deep-shadow-cyberpunk-background_169016-71497.jpg"
logoText="M-Pesa"
columns={[
{ title: "Company", items: [{ label: "About Us", href: "/about" }, { label: "Contact", href: "/contact" }] },
{ title: "Support", items: [{ label: "Help Center", href: "/faq" }, { label: "Privacy Policy", href: "#" }] },
]}
/>
</ReactLenis>
</ThemeProvider>
);