Add src/app/order-confirmation/page.tsx

This commit is contained in:
2026-06-03 10:32:11 +00:00
parent 5052621b78
commit 79bc1f6371

View File

@@ -0,0 +1,89 @@
"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'; // Reusing TextAbout for confirmation message
export default function OrderConfirmationPage() {
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="order-confirmation" data-section="order-confirmation">
<TextAbout
useInvertedBackground={false}
tag="Thank You!"
title="Order Confirmed!"
description="Your appointment has been successfully booked. A confirmation email with all the details has been sent to your inbox. We look forward to seeing you!"
buttons={[
{
text: "Continue Browsing", href: "/"
}
]}
/>
</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>
);
}