diff --git a/app/checkout/page.tsx b/app/checkout/page.tsx new file mode 100644 index 0000000..a4a58ec --- /dev/null +++ b/app/checkout/page.tsx @@ -0,0 +1,113 @@ +"use client"; +import { Container } from "@/components/container"; +import { Heading } from "@/components/heading"; +import { Button } from "@/components/ui/button"; +import { Input } from "@/components/ui/input"; +import { Label } from "@/components/ui/label"; +import { Footer } from "@/components/footer"; +import { CheckCircle2 } from "lucide-react"; +import { useState } from "react"; +import Link from "next/link"; + +export default function CheckoutPage() { + const [isOrdered, setIsOrdered] = useState(false); + + if (isOrdered) { + return ( + + + + + + + Order Placed Successfully! + Thank you for shopping with BharatStore. Your order #BS-12345 is being processed. + + Back to Home + + + + + + ); + } + + return ( + + + Checkout + + + + Shipping Address + + + Full Name + + + + Phone Number + + + + Address + + + + City + + + + Pincode + + + + + + + Payment Method + + + + UPI (Google Pay, PhonePe, Paytm) + + + + Credit / Debit Card + + + + Cash on Delivery + + + + + + + + Order Summary + + + Items Total + ₹2,499 + + + Delivery + FREE + + + Total Payable + ₹2,499 + + + setIsOrdered(true)} className="w-full rounded-full py-6 text-lg"> + Place Order + + + + + + + + ); +}
Thank you for shopping with BharatStore. Your order #BS-12345 is being processed.