"use client";

import ReactLenis from "lenis/react";
import NavbarLayoutFloatingInline from "@/components/navbar/NavbarLayoutFloatingInline";
import FooterMedia from "@/components/sections/footer/FooterMedia";
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import HeroBillboardCarousel from "@/components/sections/hero/HeroBillboardCarousel";

export default function SaintJeromePage() {
    const navItems = [
        { name: "Home", id: "/" },
        { name: "About", id: "/about" },
        { name: "Giving", id: "/giving" },
        { 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>
                <NavbarLayoutFloatingInline
                    navItems={navItems}
                    brandName="Saint Jerome"
                    button={{ text: "Giving", href: "/giving" }}
                    logoSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3CPYUJPeaDgYc4FSlAZFCKnMOqE/uploaded-1776289077688-pmeewk62.jpg"
                />
                <main>
                    <HeroBillboardCarousel 
                        title="Welcome to Saint Jerome Parish"
                        description="A community of faith, service, and devotion."
                        background={{ variant: "sparkles-gradient" }}
                        mediaItems={[
                            { imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3CPYUJPeaDgYc4FSlAZFCKnMOqE/uploaded-1776289077687-hlsfoa09.jpg" },
                            { imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3CPYUJPeaDgYc4FSlAZFCKnMOqE/uploaded-1776289077687-ufy51wxw.jpg" }
                        ]}
                    />
                </main>
                <FooterMedia
                    logoText="Saint Jerome Parish"
                    imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3CPYUJPeaDgYc4FSlAZFCKnMOqE/uploaded-1776289077688-pmeewk62.jpg"
                    columns={[
                        {
                            title: "Menu",                            items: [
                                { label: "Home", href: "/" },
                                { label: "About", href: "/about" },
                                { label: "Giving", href: "/giving" },
                                { label: "Contact", href: "/contact" },
                            ],
                        }
                    ]}
                />
            </ReactLenis>
        </ThemeProvider>
    );
}