Add src/app/checkout/page.tsx
This commit is contained in:
65
src/app/checkout/page.tsx
Normal file
65
src/app/checkout/page.tsx
Normal file
@@ -0,0 +1,65 @@
|
||||
"use client";
|
||||
|
||||
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
|
||||
import ReactLenis from "lenis/react";
|
||||
import ContactSplitForm from '@/components/sections/contact/ContactSplitForm';
|
||||
import FooterBaseCard from '@/components/sections/footer/FooterBaseCard';
|
||||
import NavbarStyleCentered from '@/components/navbar/NavbarStyleCentered/NavbarStyleCentered';
|
||||
|
||||
export default function CheckoutPage() {
|
||||
return (
|
||||
<ThemeProvider
|
||||
defaultButtonVariant="shift-hover"
|
||||
defaultTextAnimation="background-highlight"
|
||||
borderRadius="pill"
|
||||
contentWidth="smallMedium"
|
||||
sizing="large"
|
||||
background="blurBottom"
|
||||
cardStyle="solid"
|
||||
primaryButtonStyle="double-inset"
|
||||
secondaryButtonStyle="radial-glow"
|
||||
headingFontWeight="extrabold"
|
||||
>
|
||||
<ReactLenis root>
|
||||
<div id="nav" data-section="nav">
|
||||
<NavbarStyleCentered
|
||||
navItems={[
|
||||
{ name: "Home", id: "/" },
|
||||
{ name: "Features", id: "/#features" },
|
||||
{ name: "Shop", id: "/#products" },
|
||||
{ name: "Checkout", id: "/checkout" },
|
||||
{ name: "Contact", id: "/#contact" },
|
||||
]}
|
||||
brandName="SwiftMarket"
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div className="min-h-screen py-24 flex items-center justify-center">
|
||||
<div className="w-full max-w-2xl px-6">
|
||||
<ContactSplitForm
|
||||
useInvertedBackground={false}
|
||||
title="Complete Your Order"
|
||||
description="Enter your shipping details and select a payment method to finalize your purchase."
|
||||
inputs={[
|
||||
{ name: "shippingAddress", type: "text", placeholder: "Shipping Address" },
|
||||
{ name: "paymentMethod", type: "text", placeholder: "Card Number / Payment Method" },
|
||||
]}
|
||||
buttonText="Confirm Purchase"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="footer" data-section="footer">
|
||||
<FooterBaseCard
|
||||
logoText="SwiftMarket"
|
||||
columns={[
|
||||
{ title: "Company", items: [{ label: "About", href: "#" }, { label: "Careers", href: "#" }] },
|
||||
{ title: "Support", items: [{ label: "Help Center", href: "#" }, { label: "FAQ", href: "#" }] },
|
||||
{ title: "Legal", items: [{ label: "Privacy Policy", href: "#" }, { label: "Terms", href: "#" }] },
|
||||
]}
|
||||
/>
|
||||
</div>
|
||||
</ReactLenis>
|
||||
</ThemeProvider>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user