From 11c52158f55de191aebdec0ae55481942a6a0ab9 Mon Sep 17 00:00:00 2001 From: bender Date: Tue, 9 Jun 2026 22:50:34 +0000 Subject: [PATCH] Add src/app/checkout/page.tsx --- src/app/checkout/page.tsx | 242 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 242 insertions(+) create mode 100644 src/app/checkout/page.tsx diff --git a/src/app/checkout/page.tsx b/src/app/checkout/page.tsx new file mode 100644 index 0000000..72b834b --- /dev/null +++ b/src/app/checkout/page.tsx @@ -0,0 +1,242 @@ +"use client"; + +import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider"; +import ReactLenis from "lenis/react"; +import NavbarLayoutFloatingOverlay from '@/components/navbar/NavbarLayoutFloatingOverlay/NavbarLayoutFloatingOverlay'; +import FooterMedia from '@/components/sections/footer/FooterMedia'; +import ButtonElasticEffect from '@/components/button/ButtonElasticEffect/ButtonElasticEffect'; +import { useState } from 'react'; + +export default function CheckoutPage() { + const [formData, setFormData] = useState({ + fullName: '', + email: '', + address: '', + city: '', + zip: '', + cardName: '', + cardNumber: '', + expDate: '', + cvv: '' + }); + + const handleChange = (e: React.ChangeEvent) => { + setFormData({ ...formData, [e.target.name]: e.target.value }); + }; + + const handleSubmit = (e: React.FormEvent) => { + e.preventDefault(); + console.log("Checkout form submitted:", formData); + // In a real app, process payment and redirect to order confirmation + window.location.href = "/order-confirmation"; + }; + + const footerColumns = [ + { + title: "Quick Links", items: [ + { label: "Home", href: "/" }, + { label: "About Us", href: "/#about" }, + { label: "Services", href: "/#services" }, + { label: "Team", href: "/#team" }, + { label: "Shopping Cart", href: "/shopping-cart" }, + { label: "Checkout", href: "/checkout" }, + { label: "Order Confirmation", href: "/order-confirmation" } + ], + }, + { + title: "Resources", items: [ + { label: "FAQ", href: "/#faq" }, + { label: "Contact Us", href: "/#contact" }, + { label: "Privacy Policy", href: "#" }, + { label: "Terms of Service", href: "#" }, + ], + }, + { + title: "Connect", items: [ + { label: "info@fcplus.com", href: "mailto:info@fcplus.com" }, + { label: "+1 (555) 123-4567", href: "tel:+15551234567" }, + { label: "456 Gentleman's Way", href: "#" }, + { label: "Fashion District, NY 10018", href: "#" }, + ], + }, + ]; + + const navItems = [ + { name: "Home", id: "/" }, + { name: "About", id: "/#about" }, + { name: "Services", id: "/#services" }, + { name: "Team", id: "/#team" }, + { name: "Testimonials", id: "/#testimonials" }, + { name: "FAQ", id: "/#faq" }, + { name: "Contact", id: "/#contact" }, + { name: "Cart", id: "/shopping-cart" }, + { name: "Checkout", id: "/checkout" }, + ]; + + return ( + + + + +
+

Checkout

+
+ {/* Shipping Information */} +
+

Shipping Information

+
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+
+ + {/* Payment Information */} +
+

Payment Information

+
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+
+ + + +
+ + +
+
+ ); +}