diff --git a/src/app/shopping-cart/page.tsx b/src/app/shopping-cart/page.tsx new file mode 100644 index 0000000..56d8857 --- /dev/null +++ b/src/app/shopping-cart/page.tsx @@ -0,0 +1,124 @@ +"use client"; + +import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider"; +import ReactLenis from "lenis/react"; +import NavbarLayoutFloatingOverlay from '@/components/navbar/NavbarLayoutFloatingOverlay/NavbarLayoutFloatingOverlay'; +import ProductCart from '@/components/ecommerce/cart/ProductCart'; +import FooterMedia from '@/components/sections/footer/FooterMedia'; + +export default function ShoppingCartPage() { + const dummyCartItems = [ + { + id: "suit1", name: "Classic Blue Suit", variants: ["Size 40R", "Slim Fit"], + price: "$499.99", quantity: 1, + imageSrc: "http://img.b2bpic.net/free-photo/stylish-man-in-blue-suit_1303-10022.jpg", imageAlt: "Classic Blue Suit"}, + { + id: "tie1", name: "Silk Necktie - Burgundy", variants: ["One Size"], + price: "$49.99", quantity: 2, + imageSrc: "http://img.b2bpic.net/free-photo/red-silk-necktie_23-2148405096.jpg", imageAlt: "Burgundy Silk Necktie"}, + ]; + + const handleQuantityChange = (id: string, quantity: number) => { + console.log(`Changed quantity for ${id} to ${quantity}`); + // In a real app, this would update cart state + }; + + const handleRemoveItem = (id: string) => { + console.log(`Removed item ${id}`); + // In a real app, this would remove item from cart state + }; + + 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 ( + + + + +
+
+

Your Shopping Cart

+ console.log("Cart closed")} + items={dummyCartItems} + onQuantityChange={handleQuantityChange} + onRemove={handleRemoveItem} + total="$599.97" + buttons={[ + { text: "Continue Shopping", href: "/" }, + { text: "Proceed to Checkout", href: "/checkout" }, + ]} + title="Your Items" + /> +
+
+ + +
+
+ ); +}