Merge version_16 into main #22
48
src/app/cart/page.tsx
Normal file
48
src/app/cart/page.tsx
Normal file
@@ -0,0 +1,48 @@
|
||||
"use client";
|
||||
|
||||
import { useState } from 'react';
|
||||
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
|
||||
import NavbarStyleFullscreen from '@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen';
|
||||
import FooterCard from '@/components/sections/footer/FooterCard';
|
||||
import ProductCart from '@/components/ecommerce/cart/ProductCart';
|
||||
|
||||
export default function CartPage() {
|
||||
const [isOpen, setIsOpen] = useState(true);
|
||||
|
||||
return (
|
||||
<ThemeProvider
|
||||
defaultButtonVariant="directional-hover"
|
||||
defaultTextAnimation="reveal-blur"
|
||||
borderRadius="soft"
|
||||
contentWidth="compact"
|
||||
sizing="mediumLargeSizeLargeTitles"
|
||||
background="none"
|
||||
cardStyle="gradient-mesh"
|
||||
primaryButtonStyle="diagonal-gradient"
|
||||
secondaryButtonStyle="radial-glow"
|
||||
headingFontWeight="bold"
|
||||
>
|
||||
<NavbarStyleFullscreen
|
||||
navItems={[
|
||||
{ name: "Home", id: "/" },
|
||||
{ name: "Products", id: "/products" },
|
||||
{ name: "About", id: "/#about" },
|
||||
{ name: "Contact", id: "/#contact" },
|
||||
{ name: "Cart", id: "/cart" }
|
||||
]}
|
||||
brandName="ELEGANT SKIN"
|
||||
/>
|
||||
<div className="pt-32 pb-20 min-h-[60vh]">
|
||||
<ProductCart
|
||||
isOpen={isOpen}
|
||||
onClose={() => setIsOpen(false)}
|
||||
items={[]}
|
||||
total="$0.00"
|
||||
buttons={[{ text: "Checkout" }]}
|
||||
title="Your Shopping Cart"
|
||||
/>
|
||||
</div>
|
||||
<FooterCard logoText="ELEGANT SKIN" copyrightText="© 2025 Elegant Skin. All rights reserved." />
|
||||
</ThemeProvider>
|
||||
);
|
||||
}
|
||||
32
src/app/checkout/page.tsx
Normal file
32
src/app/checkout/page.tsx
Normal file
@@ -0,0 +1,32 @@
|
||||
"use client";
|
||||
|
||||
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
|
||||
import ReactLenis from "lenis/react";
|
||||
import NavbarStyleFullscreen from '@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen';
|
||||
import ContactSplit from '@/components/sections/contact/ContactSplit';
|
||||
import FooterCard from '@/components/sections/footer/FooterCard';
|
||||
|
||||
export default function CheckoutPage() {
|
||||
return (
|
||||
<ThemeProvider>
|
||||
<ReactLenis root>
|
||||
<NavbarStyleFullscreen
|
||||
navItems={[
|
||||
{ name: "Home", id: "/" },
|
||||
{ name: "Products", id: "/#products" },
|
||||
{ name: "About", id: "/#about" },
|
||||
{ name: "Contact", id: "/#contact" },
|
||||
{ name: "Checkout", id: "/checkout" },
|
||||
{ name: "Profile", id: "/profile" },
|
||||
{ name: "Confirmation", id: "/order-confirmation" }
|
||||
]}
|
||||
brandName="ELEGANT SKIN"
|
||||
/>
|
||||
<div className="min-h-screen pt-32">
|
||||
<ContactSplit title="Checkout" description="Please enter your shipping and payment details to complete your order." tag="Order" background={{ variant: "plain" }} />
|
||||
</div>
|
||||
<FooterCard logoText="ELEGANT SKIN" copyrightText="© 2025 Elegant Skin. All rights reserved." />
|
||||
</ReactLenis>
|
||||
</ThemeProvider>
|
||||
);
|
||||
}
|
||||
32
src/app/order-confirmation/page.tsx
Normal file
32
src/app/order-confirmation/page.tsx
Normal file
@@ -0,0 +1,32 @@
|
||||
"use client";
|
||||
|
||||
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
|
||||
import ReactLenis from "lenis/react";
|
||||
import NavbarStyleFullscreen from '@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen';
|
||||
import FooterCard from '@/components/sections/footer/FooterCard';
|
||||
import MediaAbout from '@/components/sections/about/MediaAbout';
|
||||
|
||||
export default function OrderConfirmationPage() {
|
||||
return (
|
||||
<ThemeProvider>
|
||||
<ReactLenis root>
|
||||
<NavbarStyleFullscreen
|
||||
navItems={[
|
||||
{ name: "Home", id: "/" },
|
||||
{ name: "Products", id: "/#products" },
|
||||
{ name: "About", id: "/#about" },
|
||||
{ name: "Contact", id: "/#contact" },
|
||||
{ name: "Checkout", id: "/checkout" },
|
||||
{ name: "Profile", id: "/profile" },
|
||||
{ name: "Confirmation", id: "/order-confirmation" }
|
||||
]}
|
||||
brandName="ELEGANT SKIN"
|
||||
/>
|
||||
<div className="min-h-screen pt-32">
|
||||
<MediaAbout title="Order Confirmed" description="Thank you for your purchase! Your order summary is below." />
|
||||
</div>
|
||||
<FooterCard logoText="ELEGANT SKIN" copyrightText="© 2025 Elegant Skin. All rights reserved." />
|
||||
</ReactLenis>
|
||||
</ThemeProvider>
|
||||
);
|
||||
}
|
||||
@@ -30,10 +30,13 @@ export default function LandingPage() {
|
||||
<div id="nav" data-section="nav">
|
||||
<NavbarStyleFullscreen
|
||||
navItems={[
|
||||
{ name: "Home", id: "#home" },
|
||||
{ name: "Home", id: "/" },
|
||||
{ name: "Products", id: "#products" },
|
||||
{ name: "About", id: "#about" },
|
||||
{ name: "Contact", id: "#contact" },
|
||||
{ name: "Checkout", id: "/checkout" },
|
||||
{ name: "Profile", id: "/profile" },
|
||||
{ name: "Confirmation", id: "/order-confirmation" }
|
||||
]}
|
||||
brandName="ELEGANT SKIN"
|
||||
/>
|
||||
@@ -138,4 +141,4 @@ export default function LandingPage() {
|
||||
</ReactLenis>
|
||||
</ThemeProvider>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
48
src/app/products/page.tsx
Normal file
48
src/app/products/page.tsx
Normal file
@@ -0,0 +1,48 @@
|
||||
"use client";
|
||||
|
||||
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
|
||||
import NavbarStyleFullscreen from '@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen';
|
||||
import FooterCard from '@/components/sections/footer/FooterCard';
|
||||
import ProductCardThree from '@/components/sections/product/ProductCardThree';
|
||||
|
||||
export default function ProductsPage() {
|
||||
return (
|
||||
<ThemeProvider
|
||||
defaultButtonVariant="directional-hover"
|
||||
defaultTextAnimation="reveal-blur"
|
||||
borderRadius="soft"
|
||||
contentWidth="compact"
|
||||
sizing="mediumLargeSizeLargeTitles"
|
||||
background="none"
|
||||
cardStyle="gradient-mesh"
|
||||
primaryButtonStyle="diagonal-gradient"
|
||||
secondaryButtonStyle="radial-glow"
|
||||
headingFontWeight="bold"
|
||||
>
|
||||
<NavbarStyleFullscreen
|
||||
navItems={[
|
||||
{ name: "Home", id: "/" },
|
||||
{ name: "Products", id: "/products" },
|
||||
{ name: "About", id: "/#about" },
|
||||
{ name: "Contact", id: "/#contact" },
|
||||
{ name: "Cart", id: "/cart" }
|
||||
]}
|
||||
brandName="ELEGANT SKIN"
|
||||
/>
|
||||
<div className="pt-32 pb-20">
|
||||
<ProductCardThree
|
||||
title="All Products"
|
||||
description="Browse our complete collection of botanical skincare."
|
||||
gridVariant="four-items-2x2-equal-grid"
|
||||
animationType="slide-up"
|
||||
textboxLayout="default"
|
||||
products={[
|
||||
{ id: "p1", name: "Botanical Night Cream", price: "$45.00", imageSrc: "https://images.unsplash.com/photo-1598440947619-2c35fd959146?q=80&w=800" },
|
||||
{ id: "p2", name: "Day Radiance Cream", price: "$38.00", imageSrc: "https://images.unsplash.com/photo-1619451334792-150fd3d24c94?q=80&w=800" },
|
||||
]}
|
||||
/>
|
||||
</div>
|
||||
<FooterCard logoText="ELEGANT SKIN" copyrightText="© 2025 Elegant Skin. All rights reserved." />
|
||||
</ThemeProvider>
|
||||
);
|
||||
}
|
||||
32
src/app/profile/page.tsx
Normal file
32
src/app/profile/page.tsx
Normal file
@@ -0,0 +1,32 @@
|
||||
"use client";
|
||||
|
||||
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
|
||||
import ReactLenis from "lenis/react";
|
||||
import NavbarStyleFullscreen from '@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen';
|
||||
import FooterCard from '@/components/sections/footer/FooterCard';
|
||||
import MediaAbout from '@/components/sections/about/MediaAbout';
|
||||
|
||||
export default function ProfilePage() {
|
||||
return (
|
||||
<ThemeProvider>
|
||||
<ReactLenis root>
|
||||
<NavbarStyleFullscreen
|
||||
navItems={[
|
||||
{ name: "Home", id: "/" },
|
||||
{ name: "Products", id: "/#products" },
|
||||
{ name: "About", id: "/#about" },
|
||||
{ name: "Contact", id: "/#contact" },
|
||||
{ name: "Checkout", id: "/checkout" },
|
||||
{ name: "Profile", id: "/profile" },
|
||||
{ name: "Confirmation", id: "/order-confirmation" }
|
||||
]}
|
||||
brandName="ELEGANT SKIN"
|
||||
/>
|
||||
<div className="min-h-screen pt-32">
|
||||
<MediaAbout title="User Profile" description="Manage your account settings, order history, and preferences." />
|
||||
</div>
|
||||
<FooterCard logoText="ELEGANT SKIN" copyrightText="© 2025 Elegant Skin. All rights reserved." />
|
||||
</ReactLenis>
|
||||
</ThemeProvider>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user