"use client";

import ReactLenis from "lenis/react";
import NavbarLayoutFloatingInline from "@/components/navbar/NavbarLayoutFloatingInline";
import MetricSplitMediaAbout from "@/components/sections/about/MetricSplitMediaAbout";
import FooterCard from "@/components/sections/footer/FooterCard";
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import { History } from "lucide-react";

export default function AboutPage() {
    const navItems = [
        { name: "Home", id: "/" },
        { name: "About", id: "/about" },
        { name: "Contact", id: "/contact" },
    ];

    return (
        <ThemeProvider
            defaultButtonVariant="icon-arrow"
            defaultTextAnimation="entrance-slide"
            borderRadius="rounded"
            contentWidth="medium"
            sizing="medium"
            background="none"
            cardStyle="glass-elevated"
            primaryButtonStyle="shadow"
            secondaryButtonStyle="solid"
            headingFontWeight="medium"
        >
            <ReactLenis root>
                <div id="nav" data-section="nav">
                    <NavbarLayoutFloatingInline
                        navItems={navItems}
                        brandName="St. Jerome"
                    />
                </div>
                <main className="pt-32">
                    <div id="about" data-section="about">
                        <MetricSplitMediaAbout
                            title="Our History & Mission"
                            description="Founded with a vision of community and spiritual growth, St. Jerome has been a pillar of the neighborhood for decades. We are dedicated to nurturing faith through tradition, sacraments, and active engagement with our local mission."
                            tag="Faith in Action"
                            tagIcon={History}
                            metrics={[{ value: "100+", title: "Years Served" }, { value: "500+", title: "Families" }]}
                            useInvertedBackground={false}
                            imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3CPYUJPeaDgYc4FSlAZFCKnMOqE/uploaded-1776289077687-hlsfoa09.jpg"
                            imageAlt="Church History"
                        />
                    </div>
                </main>
                <FooterCard
                    logoText="St. Jerome"
                    copyrightText="© 2025 St. Jerome Roman Catholic Church"
                />
            </ReactLenis>
        </ThemeProvider>
    );
}