Compare commits
9 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 52e72eeabe | |||
| a2629542d3 | |||
| 5a93b3b198 | |||
| d2b679e6ad | |||
| d1a3260185 | |||
| be6ee11bc5 | |||
| 3106af4f4d | |||
| 28e820b6cd | |||
| 5ed5a9998f |
33
src/app/cart/page.tsx
Normal file
33
src/app/cart/page.tsx
Normal file
@@ -0,0 +1,33 @@
|
|||||||
|
"use client";
|
||||||
|
|
||||||
|
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
|
||||||
|
import ReactLenis from "lenis/react";
|
||||||
|
import NavbarStyleCentered from '@/components/navbar/NavbarStyleCentered/NavbarStyleCentered';
|
||||||
|
import FooterMedia from '@/components/sections/footer/FooterMedia';
|
||||||
|
|
||||||
|
export default function CartPage() {
|
||||||
|
return (
|
||||||
|
<ThemeProvider defaultButtonVariant="hover-magnetic" defaultTextAnimation="entrance-slide" borderRadius="rounded" contentWidth="medium" sizing="medium" background="circleGradient" cardStyle="glass-elevated" primaryButtonStyle="gradient" secondaryButtonStyle="glass" headingFontWeight="normal">
|
||||||
|
<ReactLenis root>
|
||||||
|
<div id="nav" data-section="nav">
|
||||||
|
<NavbarStyleCentered
|
||||||
|
navItems={[{ name: "Home", id: "/" }, { name: "Cart", id: "/cart" }, { name: "Checkout", id: "/checkout" }]}
|
||||||
|
brandName="ShopifyPro"
|
||||||
|
button={{ text: "Contact", href: "#contact" }}
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
<main className="py-20 px-6 container mx-auto">
|
||||||
|
<h1 className="text-4xl font-bold mb-8">Your Cart</h1>
|
||||||
|
<p>Cart items will appear here.</p>
|
||||||
|
</main>
|
||||||
|
<div id="footer" data-section="footer">
|
||||||
|
<FooterMedia
|
||||||
|
logoText="ShopifyPro"
|
||||||
|
imageSrc="https://img.b2bpic.net/free-photo/green-leaves-stacked-book-against-white-backdrop_23-2147924495.jpg?_wi=1"
|
||||||
|
columns={[{ title: "Company", items: [{ label: "About Us", href: "#" }] }]}
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
</ReactLenis>
|
||||||
|
</ThemeProvider>
|
||||||
|
);
|
||||||
|
}
|
||||||
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 ReactLenis from "lenis/react";
|
||||||
|
import NavbarStyleCentered from '@/components/navbar/NavbarStyleCentered/NavbarStyleCentered';
|
||||||
|
import FooterMedia from '@/components/sections/footer/FooterMedia';
|
||||||
|
|
||||||
|
export default function CheckoutPage() {
|
||||||
|
return (
|
||||||
|
<ThemeProvider defaultButtonVariant="hover-magnetic" defaultTextAnimation="entrance-slide" borderRadius="rounded" contentWidth="medium" sizing="medium" background="circleGradient" cardStyle="glass-elevated" primaryButtonStyle="gradient" secondaryButtonStyle="glass" headingFontWeight="normal">
|
||||||
|
<ReactLenis root>
|
||||||
|
<div id="nav" data-section="nav">
|
||||||
|
<NavbarStyleCentered
|
||||||
|
navItems={[{ name: "Home", id: "/" }, { name: "Cart", id: "/cart" }, { name: "Checkout", id: "/checkout" }]}
|
||||||
|
brandName="ShopifyPro"
|
||||||
|
button={{ text: "Contact", href: "#contact" }}
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
<main className="py-20 px-6 container mx-auto flex flex-col items-center">
|
||||||
|
<h1 className="text-4xl font-bold mb-8">Checkout</h1>
|
||||||
|
<div className="w-full max-w-2xl bg-card p-8 rounded-lg shadow-sm border border-border">
|
||||||
|
<h2 className="text-xl font-semibold mb-4">Order Summary</h2>
|
||||||
|
<div className="flex justify-between font-bold text-xl mb-8">
|
||||||
|
<span>Total</span>
|
||||||
|
<span>$129</span>
|
||||||
|
</div>
|
||||||
|
<button className="w-full bg-primary-cta text-white py-3 rounded-md hover:opacity-90 transition-opacity">
|
||||||
|
Confirm & Pay
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
</main>
|
||||||
|
<div id="footer" data-section="footer">
|
||||||
|
<FooterMedia
|
||||||
|
logoText="ShopifyPro"
|
||||||
|
imageSrc="https://img.b2bpic.net/free-photo/green-leaves-stacked-book-against-white-backdrop_23-2147924495.jpg?_wi=2"
|
||||||
|
columns={[{ title: "Company", items: [{ label: "About Us", href: "#" }] }]}
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
</ReactLenis>
|
||||||
|
</ThemeProvider>
|
||||||
|
);
|
||||||
|
}
|
||||||
196
src/app/page.tsx
196
src/app/page.tsx
@@ -2,15 +2,17 @@
|
|||||||
|
|
||||||
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
|
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
|
||||||
import ReactLenis from "lenis/react";
|
import ReactLenis from "lenis/react";
|
||||||
import ContactText from '@/components/sections/contact/ContactText';
|
import { Suspense, lazy } from "react";
|
||||||
import FooterBase from '@/components/sections/footer/FooterBase';
|
|
||||||
import HeroSplitDualMedia from '@/components/sections/hero/HeroSplitDualMedia';
|
|
||||||
import NavbarLayoutFloatingInline from '@/components/navbar/NavbarLayoutFloatingInline';
|
|
||||||
import PricingCardOne from '@/components/sections/pricing/PricingCardOne';
|
|
||||||
import ProductCatalog from '@/components/ecommerce/productCatalog/ProductCatalog';
|
|
||||||
import TestimonialCardFifteen from '@/components/sections/testimonial/TestimonialCardFifteen';
|
|
||||||
import { Sparkles } from "lucide-react";
|
import { Sparkles } from "lucide-react";
|
||||||
|
|
||||||
|
const ContactText = lazy(() => import('@/components/sections/contact/ContactText'));
|
||||||
|
const FooterBase = lazy(() => import('@/components/sections/footer/FooterBase'));
|
||||||
|
const HeroSplitDualMedia = lazy(() => import('@/components/sections/hero/HeroSplitDualMedia'));
|
||||||
|
const NavbarLayoutFloatingInline = lazy(() => import('@/components/navbar/NavbarLayoutFloatingInline'));
|
||||||
|
const PricingCardOne = lazy(() => import('@/components/sections/pricing/PricingCardOne'));
|
||||||
|
const ProductCatalog = lazy(() => import('@/components/ecommerce/productCatalog/ProductCatalog'));
|
||||||
|
const TestimonialCardFifteen = lazy(() => import('@/components/sections/testimonial/TestimonialCardFifteen'));
|
||||||
|
|
||||||
export default function LandingPage() {
|
export default function LandingPage() {
|
||||||
return (
|
return (
|
||||||
<ThemeProvider
|
<ThemeProvider
|
||||||
@@ -26,101 +28,103 @@ export default function LandingPage() {
|
|||||||
headingFontWeight="normal"
|
headingFontWeight="normal"
|
||||||
>
|
>
|
||||||
<ReactLenis root>
|
<ReactLenis root>
|
||||||
<div id="nav" data-section="nav">
|
<Suspense fallback={<div className="h-20" />}>
|
||||||
<NavbarLayoutFloatingInline
|
<div id="nav" data-section="nav">
|
||||||
navItems={[
|
<NavbarLayoutFloatingInline
|
||||||
{ name: "Home", id: "hero" },
|
navItems={[
|
||||||
{ name: "Products", id: "catalog" },
|
{ name: "Home", id: "hero" },
|
||||||
{ name: "Contact", id: "contact" },
|
{ name: "Products", id: "catalog" },
|
||||||
]}
|
{ name: "Contact", id: "contact" },
|
||||||
brandName="ShopifyPro"
|
]}
|
||||||
button={{ text: "Get Started", href: "#" }}
|
brandName="ShopifyPro"
|
||||||
/>
|
button={{ text: "Get Started", href: "#" }}
|
||||||
</div>
|
/>
|
||||||
|
</div>
|
||||||
|
|
||||||
<div id="hero" data-section="hero">
|
<div id="hero" data-section="hero">
|
||||||
<HeroSplitDualMedia
|
<HeroSplitDualMedia
|
||||||
background={{ variant: "gradient-bars" }}
|
background={{ variant: "gradient-bars" }}
|
||||||
title="Everything you need, delivered perfectly."
|
title="Everything you need, delivered perfectly."
|
||||||
description="Discover our curated selection of high-quality products designed for your modern lifestyle. Quality meets convenience at every click."
|
description="Discover our curated selection of high-quality products designed for your modern lifestyle. Quality meets convenience at every click."
|
||||||
tag="New Arrivals"
|
tag="New Arrivals"
|
||||||
mediaItems={[
|
mediaItems={[
|
||||||
{ imageSrc: "http://img.b2bpic.net/free-photo/stylish-girl-standing-cafe-with-shopping-bags_1157-32427.jpg", imageAlt: "Modern shopping aesthetic" },
|
{ imageSrc: "http://img.b2bpic.net/free-photo/stylish-girl-standing-cafe-with-shopping-bags_1157-32427.jpg?w=800&q=75", imageAlt: "Modern shopping aesthetic" },
|
||||||
{ imageSrc: "http://img.b2bpic.net/free-photo/monochrome-beauty-product-skincare_23-2151307225.jpg", imageAlt: "Premium product packaging" },
|
{ imageSrc: "http://img.b2bpic.net/free-photo/monochrome-beauty-product-skincare_23-2151307225.jpg?w=800&q=75", imageAlt: "Premium product packaging" },
|
||||||
]}
|
]}
|
||||||
mediaAnimation="slide-up"
|
mediaAnimation="slide-up"
|
||||||
rating={5}
|
rating={5}
|
||||||
ratingText="Trusted by 5,000+ customers"
|
ratingText="Trusted by 5,000+ customers"
|
||||||
tagIcon={Sparkles}
|
tagIcon={Sparkles}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="catalog" data-section="catalog">
|
<div id="catalog" data-section="catalog">
|
||||||
<ProductCatalog
|
<ProductCatalog
|
||||||
layout="section"
|
layout="section"
|
||||||
products={[
|
products={[
|
||||||
{ id: "p1", name: "Premium Gadget", price: "$129", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/green-leaves-stacked-book-against-white-backdrop_23-2147924495.jpg" },
|
{ id: "p1", name: "Premium Gadget", price: "$129", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/green-leaves-stacked-book-against-white-backdrop_23-2147924495.jpg?w=400&q=75" },
|
||||||
{ id: "p2", name: "Designer Decor", price: "$89", rating: 4, imageSrc: "http://img.b2bpic.net/free-photo/close-up-arrangement-modern-vases_23-2149646557.jpg" },
|
{ id: "p2", name: "Designer Decor", price: "$89", rating: 4, imageSrc: "http://img.b2bpic.net/free-photo/close-up-arrangement-modern-vases_23-2149646557.jpg?w=400&q=75" },
|
||||||
{ id: "p3", name: "Smart Accessory", price: "$45", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/black-white-cover-books-with-green-twig-against-white-background_23-2147924492.jpg" },
|
{ id: "p3", name: "Smart Accessory", price: "$45", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/black-white-cover-books-with-green-twig-against-white-background_23-2147924492.jpg?w=400&q=75" },
|
||||||
{ id: "p4", name: "Lifestyle Kit", price: "$159", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/flat-lay-frame-with-grey-bottle-copy-space_23-2148295666.jpg" },
|
{ id: "p4", name: "Lifestyle Kit", price: "$159", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/flat-lay-frame-with-grey-bottle-copy-space_23-2148295666.jpg?w=400&q=75" },
|
||||||
{ id: "p5", name: "Essential Tech", price: "$65", rating: 4, imageSrc: "http://img.b2bpic.net/free-photo/wireless-earbuds-with-neon-cyberpunk-style-lighting_23-2151074264.jpg" },
|
{ id: "p5", name: "Essential Tech", price: "$65", rating: 4, imageSrc: "http://img.b2bpic.net/free-photo/wireless-earbuds-with-neon-cyberpunk-style-lighting_23-2151074264.jpg?w=400&q=75" },
|
||||||
{ id: "p6", name: "Modern Tool", price: "$99", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/top-view-plastic-bottles-assortment_23-2149449773.jpg" },
|
{ id: "p6", name: "Modern Tool", price: "$99", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/top-view-plastic-bottles-assortment_23-2149449773.jpg?w=400&q=75" },
|
||||||
]}
|
]}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="testimonials" data-section="testimonials">
|
<div id="testimonials" data-section="testimonials">
|
||||||
<TestimonialCardFifteen
|
<TestimonialCardFifteen
|
||||||
useInvertedBackground={false}
|
useInvertedBackground={false}
|
||||||
testimonial="This shop changed my buying experience. High quality, great service, and fast shipping. Highly recommend!"
|
testimonial="This shop changed my buying experience. High quality, great service, and fast shipping. Highly recommend!"
|
||||||
rating={5}
|
rating={5}
|
||||||
author="Sarah Miller"
|
author="Sarah Miller"
|
||||||
avatars={[
|
avatars={[
|
||||||
{ src: "http://img.b2bpic.net/free-photo/expressive-young-girl-posing-studio_176474-79855.jpg", alt: "Customer 1" },
|
{ src: "http://img.b2bpic.net/free-photo/expressive-young-girl-posing-studio_176474-79855.jpg?w=100&q=75", alt: "Customer 1" },
|
||||||
{ src: "http://img.b2bpic.net/free-photo/beautiful-woman-holding-shopping-bags_23-2148660755.jpg", alt: "Customer 2" },
|
{ src: "http://img.b2bpic.net/free-photo/beautiful-woman-holding-shopping-bags_23-2148660755.jpg?w=100&q=75", alt: "Customer 2" },
|
||||||
{ src: "http://img.b2bpic.net/free-photo/portrait-beautiful-blond-woman-with-trendy-hairstyle_23-2149430868.jpg", alt: "Customer 3" },
|
{ src: "http://img.b2bpic.net/free-photo/portrait-beautiful-blond-woman-with-trendy-hairstyle_23-2149430868.jpg?w=100&q=75", alt: "Customer 3" },
|
||||||
{ src: "http://img.b2bpic.net/free-photo/elegance-glamour-concept-isolated-image-fashionable-glamourous-neat-young-female-with-freckled-face-loose-blonde-hair-smiling-joyfully-posing-studio-wearing-white-silky-blouse_343059-4200.jpg", alt: "Customer 4" },
|
{ src: "http://img.b2bpic.net/free-photo/elegance-glamour-concept-isolated-image-fashionable-glamourous-neat-young-female-with-freckled-face-loose-blonde-hair-smiling-joyfully-posing-studio-wearing-white-silky-blouse_343059-4200.jpg?w=100&q=75", alt: "Customer 4" },
|
||||||
{ src: "http://img.b2bpic.net/free-photo/portrait-woman-with-shopping-bags_23-2148225588.jpg", alt: "Customer 5" },
|
{ src: "http://img.b2bpic.net/free-photo/portrait-woman-with-shopping-bags_23-2148225588.jpg?w=100&q=75", alt: "Customer 5" },
|
||||||
]}
|
]}
|
||||||
ratingAnimation="blur-reveal"
|
ratingAnimation="blur-reveal"
|
||||||
avatarsAnimation="slide-up"
|
avatarsAnimation="slide-up"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="pricing" data-section="pricing">
|
<div id="pricing" data-section="pricing">
|
||||||
<PricingCardOne
|
<PricingCardOne
|
||||||
animationType="slide-up"
|
animationType="slide-up"
|
||||||
textboxLayout="default"
|
textboxLayout="default"
|
||||||
useInvertedBackground={false}
|
useInvertedBackground={false}
|
||||||
title="Simple, Transparent Pricing"
|
title="Simple, Transparent Pricing"
|
||||||
description="Choose the plan that fits your shopping habits and start saving today."
|
description="Choose the plan that fits your shopping habits and start saving today."
|
||||||
plans={[
|
plans={[
|
||||||
{ id: "basic", badge: "Starter", price: "$0", subtitle: "Perfect for casual shoppers.", features: ["Free shipping", "Monthly newsletter", "Basic support"] },
|
{ id: "basic", badge: "Starter", price: "$0", subtitle: "Perfect for casual shoppers.", features: ["Free shipping", "Monthly newsletter", "Basic support"] },
|
||||||
{ id: "pro", badge: "Most Popular", price: "$19", subtitle: "For frequent buyers.", features: ["Unlimited free shipping", "Priority support", "Exclusive discounts", "Early access"] },
|
{ id: "pro", badge: "Most Popular", price: "$19", subtitle: "For frequent buyers.", features: ["Unlimited free shipping", "Priority support", "Exclusive discounts", "Early access"] },
|
||||||
]}
|
]}
|
||||||
buttons={[{ text: "View Plans", href: "#" }]}
|
buttons={[{ text: "View Plans", href: "#" }]}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="contact" data-section="contact">
|
<div id="contact" data-section="contact">
|
||||||
<ContactText
|
<ContactText
|
||||||
useInvertedBackground={false}
|
useInvertedBackground={false}
|
||||||
background={{ variant: "radial-gradient" }}
|
background={{ variant: "radial-gradient" }}
|
||||||
text="Need help with an order? Contact our support team for quick assistance."
|
text="Need help with an order? Contact our support team for quick assistance."
|
||||||
buttons={[{ text: "Get Support", href: "mailto:support@shopifypro.com" }]}
|
buttons={[{ text: "Get Support", href: "mailto:support@shopifypro.com" }]}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="footer" data-section="footer">
|
<div id="footer" data-section="footer">
|
||||||
<FooterBase
|
<FooterBase
|
||||||
columns={[
|
columns={[
|
||||||
{ title: "Company", items: [{ label: "About Us", href: "#" }, { label: "Careers", href: "#" }] },
|
{ title: "Company", items: [{ label: "About Us", href: "#" }, { label: "Careers", href: "#" }] },
|
||||||
{ title: "Support", items: [{ label: "Contact", href: "#contact" }, { label: "Shipping", href: "#" }] },
|
{ title: "Support", items: [{ label: "Contact", href: "#contact" }, { label: "Shipping", href: "#" }] },
|
||||||
]}
|
]}
|
||||||
logoText="ShopifyPro"
|
logoText="ShopifyPro"
|
||||||
copyrightText="© 2025 ShopifyPro. All rights reserved."
|
copyrightText="© 2025 ShopifyPro. All rights reserved."
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
</Suspense>
|
||||||
</ReactLenis>
|
</ReactLenis>
|
||||||
</ThemeProvider>
|
</ThemeProvider>
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user