Add src/pages/AboutPage.tsx

This commit is contained in:
2026-06-15 21:11:14 +00:00
parent 5de84e2408
commit 9e6dac5426

61
src/pages/AboutPage.tsx Normal file
View File

@@ -0,0 +1,61 @@
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import { Link } from "react-router-dom";
import NavbarStyleApple from '@/components/navbar/NavbarStyleApple/NavbarStyleApple';
import AboutMetric from '@/components/sections/about/AboutMetric';
import FooterMedia from '@/components/sections/footer/FooterMedia';
import { Gauge, Cog, Users } from "lucide-react";
export default function AboutPage() {
const navItems = [
{ name: "Home", href: "/" },
{ name: "About", href: "/about" },
{ name: "Services", href: "/#services" },
{ name: "Projects", href: "/#projects" },
{ name: "Testimonials", href: "/#testimonials" },
{ name: "FAQ", href: "/#faq" },
{ name: "Contact", href: "/#contact" },
];
return (
<ThemeProvider
defaultButtonVariant="text-shift"
defaultTextAnimation="reveal-blur"
borderRadius="soft"
contentWidth="compact"
sizing="medium"
background="noiseDiagonalGradient"
cardStyle="outline"
primaryButtonStyle="shadow"
secondaryButtonStyle="layered"
headingFontWeight="bold"
>
<ReactLenis root>
<div id="nav" data-section="nav">
<NavbarStyleApple navItems={navItems} brandName="Ferguson Electric" />
</div>
<div id="about" data-section="about">
<AboutMetric
useInvertedBackground={true}
title="About Us - Our Commitment to Excellence"
metrics={[
{ icon: Gauge, label: "Years of Service", value: "28+" },
{ icon: Cog, label: "Projects Completed", value: "5000+" },
{ icon: Users, label: "Client Satisfaction", value: "High" },
]}
metricsAnimation="slide-up"
/>
</div>
<div id="footer" data-section="footer">
<FooterMedia
imageSrc="http://img.b2bpic.net/free-photo/blurred-night-lights_23-2148139340.jpg"
imageAlt="Abstract electrical wiring diagram"
logoText="Ferguson Electric"
columns={[{ title: "Company", items: [{ label: "Home", href: "/" }, { label: "About Us", href: "/about" }] }]}
copyrightText="© 2026 fergusonelectric.net. All rights reserved."
/>
</div>
</ReactLenis>
</ThemeProvider>
);
}