Merge version_3 into main #3
42
src/app/checkout/page.tsx
Normal file
42
src/app/checkout/page.tsx
Normal file
@@ -0,0 +1,42 @@
|
||||
"use client";
|
||||
|
||||
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
|
||||
import NavbarStyleApple from '@/components/navbar/NavbarStyleApple/NavbarStyleApple';
|
||||
import ContactSplitForm from '@/components/sections/contact/ContactSplitForm';
|
||||
|
||||
export default function CheckoutPage() {
|
||||
return (
|
||||
<ThemeProvider
|
||||
defaultButtonVariant="expand-hover"
|
||||
defaultTextAnimation="entrance-slide"
|
||||
borderRadius="soft"
|
||||
contentWidth="mediumLarge"
|
||||
sizing="largeSizeMediumTitles"
|
||||
background="floatingGradient"
|
||||
cardStyle="glass-elevated"
|
||||
primaryButtonStyle="flat"
|
||||
secondaryButtonStyle="layered"
|
||||
headingFontWeight="extrabold"
|
||||
>
|
||||
<NavbarStyleApple
|
||||
navItems={[
|
||||
{ name: "Home", id: "/" },
|
||||
{ name: "Shop", id: "/shop" },
|
||||
{ name: "Cart", id: "/cart" },
|
||||
]}
|
||||
brandName="Joli Café Bar"
|
||||
/>
|
||||
<div className="pt-32 pb-16">
|
||||
<ContactSplitForm
|
||||
title="Checkout"
|
||||
description="Enter your shipping and payment details to complete your order."
|
||||
inputs={[
|
||||
{ name: "shippingAddress", type: "text", placeholder: "Shipping Address", required: true },
|
||||
{ name: "paymentInfo", type: "text", placeholder: "Card Details", required: true }
|
||||
]}
|
||||
buttonText="Complete Purchase"
|
||||
/>
|
||||
</div>
|
||||
</ThemeProvider>
|
||||
);
|
||||
}
|
||||
@@ -34,6 +34,8 @@ export default function LandingPage() {
|
||||
{ name: "About", id: "about" },
|
||||
{ name: "Menu", id: "menu" },
|
||||
{ name: "Contact", id: "contact" },
|
||||
{ name: "Shop", id: "/shop" },
|
||||
{ name: "Cart", id: "/cart" },
|
||||
]}
|
||||
brandName="Joli Café Bar"
|
||||
/>
|
||||
|
||||
61
src/app/shop/page.tsx
Normal file
61
src/app/shop/page.tsx
Normal file
@@ -0,0 +1,61 @@
|
||||
"use client";
|
||||
|
||||
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
|
||||
import ReactLenis from "lenis/react";
|
||||
import NavbarStyleApple from '@/components/navbar/NavbarStyleApple/NavbarStyleApple';
|
||||
import FooterLogoEmphasis from '@/components/sections/footer/FooterLogoEmphasis';
|
||||
import ProductCardTwo from '@/components/sections/product/ProductCardTwo';
|
||||
|
||||
export default function ShopPage() {
|
||||
return (
|
||||
<ThemeProvider
|
||||
defaultButtonVariant="expand-hover"
|
||||
defaultTextAnimation="entrance-slide"
|
||||
borderRadius="soft"
|
||||
contentWidth="mediumLarge"
|
||||
sizing="largeSizeMediumTitles"
|
||||
background="floatingGradient"
|
||||
cardStyle="glass-elevated"
|
||||
primaryButtonStyle="flat"
|
||||
secondaryButtonStyle="layered"
|
||||
headingFontWeight="extrabold"
|
||||
>
|
||||
<ReactLenis root>
|
||||
<div id="nav" data-section="nav">
|
||||
<NavbarStyleApple
|
||||
navItems={[
|
||||
{ name: "Home", id: "/" },
|
||||
{ name: "Shop", id: "/shop" },
|
||||
]}
|
||||
brandName="Joli Café Bar"
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div id="products" data-section="products">
|
||||
<ProductCardTwo
|
||||
title="Our Clothing Collection"
|
||||
description="Discover our latest apparel, curated for style and comfort."
|
||||
gridVariant="four-items-2x2-equal-grid"
|
||||
animationType="slide-up"
|
||||
textboxLayout="split"
|
||||
products={[
|
||||
{ id: "p1", brand: "Joli", name: "Essential Cotton Tee", price: "$35", rating: 5, reviewCount: "(120)", imageSrc: "http://img.b2bpic.net/free-photo/stylish-man-casual-clothes_23-2148782354.jpg" },
|
||||
{ id: "p2", brand: "Joli", name: "Relaxed Fit Hoodie", price: "$65", rating: 4, reviewCount: "(85)", imageSrc: "http://img.b2bpic.net/free-photo/hoodie-mockup_23-2148782354.jpg" },
|
||||
{ id: "p3", brand: "Joli", name: "Summer Linen Shirt", price: "$55", rating: 5, reviewCount: "(45)", imageSrc: "http://img.b2bpic.net/free-photo/linen-shirt_23-2148782354.jpg" },
|
||||
{ id: "p4", brand: "Joli", name: "Denim Everyday Jacket", price: "$95", rating: 4, reviewCount: "(60)", imageSrc: "http://img.b2bpic.net/free-photo/denim-jacket_23-2148782354.jpg" }
|
||||
]}
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div id="footer" data-section="footer">
|
||||
<FooterLogoEmphasis
|
||||
logoText="Joli Café Bar"
|
||||
columns={[
|
||||
{ items: [{ label: "Home", href: "/" }, { label: "Shop", href: "/shop" }] }
|
||||
]}
|
||||
/>
|
||||
</div>
|
||||
</ReactLenis>
|
||||
</ThemeProvider>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user