Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 13b0c24769 | |||
| dd4efda1cd |
73
src/app/checkout/page.tsx
Normal file
73
src/app/checkout/page.tsx
Normal file
@@ -0,0 +1,73 @@
|
||||
"use client";
|
||||
|
||||
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
|
||||
import ReactLenis from "lenis/react";
|
||||
import { useState } from "react";
|
||||
import NavbarStyleFullscreen from '@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen';
|
||||
import FooterBaseCard from '@/components/sections/footer/FooterBaseCard';
|
||||
import Input from '@/components/form/Input';
|
||||
|
||||
export default function CheckoutPage() {
|
||||
const [email, setEmail] = useState("");
|
||||
const [city, setCity] = useState("");
|
||||
const [country, setCountry] = useState("");
|
||||
const [zip, setZip] = useState("");
|
||||
const [phone, setPhone] = useState("");
|
||||
const [street, setStreet] = useState("");
|
||||
|
||||
return (
|
||||
<ThemeProvider
|
||||
defaultButtonVariant="shift-hover"
|
||||
defaultTextAnimation="reveal-blur"
|
||||
borderRadius="pill"
|
||||
contentWidth="mediumSmall"
|
||||
sizing="mediumSizeLargeTitles"
|
||||
background="floatingGradient"
|
||||
cardStyle="inset"
|
||||
primaryButtonStyle="gradient"
|
||||
secondaryButtonStyle="solid"
|
||||
headingFontWeight="normal"
|
||||
>
|
||||
<ReactLenis root>
|
||||
<div id="nav" data-section="nav">
|
||||
<NavbarStyleFullscreen
|
||||
navItems={[
|
||||
{ name: "Home", id: "/" },
|
||||
{ name: "Shop", id: "/shop" },
|
||||
{ name: "About", id: "/about" },
|
||||
{ name: "Contact", id: "/contact" },
|
||||
]}
|
||||
brandName="90style"
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div id="checkout" data-section="checkout" className="py-20 px-4 md:px-10">
|
||||
<div className="max-w-2xl mx-auto space-y-6">
|
||||
<h1 className="text-3xl font-bold">إتمام الطلب (الدفع عند الاستلام)</h1>
|
||||
<Input value={email} onChange={setEmail} placeholder="البريد الإلكتروني" required />
|
||||
<Input value={phone} onChange={setPhone} placeholder="رقم الهاتف" required />
|
||||
<Input value={street} onChange={setStreet} placeholder="اسم الشارع" required />
|
||||
<div className="grid grid-cols-2 gap-4">
|
||||
<Input value={city} onChange={setCity} placeholder="المدينة" required />
|
||||
<Input value={country} onChange={setCountry} placeholder="الدولة" required />
|
||||
</div>
|
||||
<Input value={zip} onChange={setZip} placeholder="الرمز البريدي" />
|
||||
<button className="w-full bg-primary-cta text-white py-3 rounded-full font-semibold">
|
||||
تأكيد الطلب
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="footer" data-section="footer">
|
||||
<FooterBaseCard
|
||||
logoText="90style"
|
||||
columns={[
|
||||
{ title: "Company", items: [{ label: "About", href: "/about" }, { label: "Contact", href: "/contact" }] },
|
||||
{ title: "Shop", items: [{ label: "Jerseys", href: "/shop" }, { label: "Jackets", href: "/shop" }] },
|
||||
]}
|
||||
/>
|
||||
</div>
|
||||
</ReactLenis>
|
||||
</ThemeProvider>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user