Add src/app/cart/page.tsx

This commit is contained in:
2026-06-03 10:32:10 +00:00
parent 3814d7be61
commit a902ccc906

97
src/app/cart/page.tsx Normal file
View File

@@ -0,0 +1,97 @@
"use client";
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import NavbarStyleCentered from '@/components/navbar/NavbarStyleCentered/NavbarStyleCentered';
import FooterBaseReveal from '@/components/sections/footer/FooterBaseReveal';
import TextAbout from '@/components/sections/about/TextAbout'; // Using TextAbout for cart section placeholder
export default function CartPage() {
return (
<ThemeProvider
defaultButtonVariant="text-stagger"
defaultTextAnimation="entrance-slide"
borderRadius="rounded"
contentWidth="medium"
sizing="mediumLargeSizeMediumTitles"
background="none"
cardStyle="subtle-shadow"
primaryButtonStyle="primary-glow"
secondaryButtonStyle="glass"
headingFontWeight="semibold"
>
<ReactLenis root>
<div id="nav" data-section="nav">
<NavbarStyleCentered
navItems={[
{ name: "Home", id: "/" },
{ name: "Services", id: "#services" },
{ name: "Barbers", id: "#barbers" },
{ name: "Pricing", id: "#pricing" },
{ name: "Testimonials", id: "#testimonials" },
{ name: "FAQ", id: "#faq" },
{ name: "Cart", id: "/cart" },
{ name: "Checkout", id: "/checkout" }
]}
button={{ text: "Book Now", href: "#contact" }}
brandName="The Modern Cut"
/>
</div>
<div id="cart" data-section="cart">
<TextAbout
useInvertedBackground={false}
tag="Your Order"
title="Your Shopping Cart"
description="Review the items in your cart before proceeding to checkout. Your ultimate grooming experience awaits!"
buttons={[
{
text: "Proceed to Checkout", href: "/checkout"
}
]}
/>
{/* Placeholder for actual cart items display */}
<div className="container mx-auto py-12 px-4">
<h3 className="text-2xl font-bold mb-6">Cart Items</h3>
<div className="bg-card p-6 rounded-lg shadow-lg">
<p className="text-foreground">No items in your cart yet. Start adding some services!</p>
{/* In a real scenario, this would dynamically render cart items */}
</div>
</div>
</div>
<div id="footer" data-section="footer">
<FooterBaseReveal
logoText="The Modern Cut"
columns={[
{
title: "Services", items: [
{ label: "Haircuts", href: "#services" },
{ label: "Shaves", href: "#services" },
{ label: "Beard Trims", href: "#services" },
{ label: "Styling", href: "#services" }
]
},
{
title: "Company", items: [
{ label: "About Us", href: "#about" },
{ label: "Our Team", href: "#barbers" },
{ label: "Pricing", href: "#pricing" },
{ label: "Contact", href: "#contact" }
]
},
{
title: "Support", items: [
{ label: "FAQ", href: "#faq" },
{ label: "Privacy Policy", href: "#" },
{ label: "Terms of Service", href: "#" }
]
}
]}
copyrightText="© 2024 The Modern Cut. All rights reserved."
/>
</div>
</ReactLenis>
</ThemeProvider>
);
}