Merge version_3 into main #9
263
src/app/page.tsx
263
src/app/page.tsx
@@ -1,50 +1,223 @@
|
||||
'use client';
|
||||
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
|
||||
import NavbarStyleCentered from "@/components/navbar/NavbarStyleCentered/NavbarStyleCentered";
|
||||
import HeroLogoBillboard from "@/components/sections/hero/HeroLogoBillboard";
|
||||
import TestimonialAboutCard from "@/components/sections/about/TestimonialAboutCard";
|
||||
import ProductCatalog from "@/components/ecommerce/productCatalog/ProductCatalog";
|
||||
import FeatureCardTwentySix from "@/components/sections/feature/FeatureCardTwentySix";
|
||||
import SocialProofOne from "@/components/sections/socialProof/SocialProofOne";
|
||||
import TestimonialCardTen from "@/components/sections/testimonial/TestimonialCardTen";
|
||||
import FaqSplitText from "@/components/sections/faq/FaqSplitText";
|
||||
import ContactSplitForm from "@/components/sections/contact/ContactSplitForm";
|
||||
import FooterBaseCard from "@/components/sections/footer/FooterBaseCard";
|
||||
import { Shield, Users, Zap, CheckCircle } from "lucide-react";
|
||||
"use client";
|
||||
|
||||
export default function Page() {
|
||||
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
|
||||
import ReactLenis from "lenis/react";
|
||||
import ContactSplitForm from '@/components/sections/contact/ContactSplitForm';
|
||||
import FaqSplitText from '@/components/sections/faq/FaqSplitText';
|
||||
import FeatureCardTwentySix from '@/components/sections/feature/FeatureCardTwentySix';
|
||||
import FooterBaseCard from '@/components/sections/footer/FooterBaseCard';
|
||||
import HeroLogoBillboard from '@/components/sections/hero/HeroLogoBillboard';
|
||||
import NavbarStyleCentered from '@/components/navbar/NavbarStyleCentered/NavbarStyleCentered';
|
||||
import ProductCatalog from '@/components/ecommerce/productCatalog/ProductCatalog';
|
||||
import SocialProofOne from '@/components/sections/socialProof/SocialProofOne';
|
||||
import TestimonialAboutCard from '@/components/sections/about/TestimonialAboutCard';
|
||||
import TestimonialCardTen from '@/components/sections/testimonial/TestimonialCardTen';
|
||||
import { Coffee, CheckCircle, Leaf, Zap, Heart } from "lucide-react";
|
||||
|
||||
export default function LandingPage() {
|
||||
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">
|
||||
<div id="nav" data-section="nav">
|
||||
<NavbarStyleCentered navItems={[{name: "Home", id: "/"}]} />
|
||||
</div>
|
||||
<div id="hero" data-section="hero">
|
||||
<HeroLogoBillboard logoText="Hero" description="Billboard hero content" buttons={[{text: "Get Started"}]} background={{ variant: "animated-grid" }} />
|
||||
</div>
|
||||
<div id="about" data-section="about">
|
||||
<TestimonialAboutCard tag="About" title="About Us" description="Desc" subdescription="Sub" icon={Users} imageSrc="https://images.unsplash.com/photo-1556761175-b413da4baf72?auto=format&fit=crop&q=80&w=800" useInvertedBackground={false} />
|
||||
</div>
|
||||
<div id="products" data-section="products">
|
||||
<ProductCatalog layout="section" products={[{id: "1", name: "Prod 1", price: "$10", rating: 5, imageSrc: "https://images.unsplash.com/photo-1505740420928-5e560c06d30e?auto=format&fit=crop&q=80&w=400"}, {id: "2", name: "Prod 2", price: "$20", rating: 4, imageSrc: "https://images.unsplash.com/photo-1523275335684-37898b6baf30?auto=format&fit=crop&q=80&w=400"}, {id: "3", name: "Prod 3", price: "$30", rating: 5, imageSrc: "https://images.unsplash.com/photo-1572635196237-14b3f281503f?auto=format&fit=crop&q=80&w=400"}]} />
|
||||
</div>
|
||||
<div id="features" data-section="features">
|
||||
<FeatureCardTwentySix title="Features" description="Our key features" textboxLayout="default" useInvertedBackground={false} features={[{title: "F1", description: "Desc 1", buttonIcon: Shield}, {title: "F2", description: "Desc 2", buttonIcon: Users}, {title: "F3", description: "Desc 3", buttonIcon: Zap}, {title: "F4", description: "Desc 4", buttonIcon: CheckCircle}]} />
|
||||
</div>
|
||||
<div id="social" data-section="social">
|
||||
<SocialProofOne names={["Partner 1", "Partner 2"]} title="Partners" description="Our partners" textboxLayout="default" useInvertedBackground={false} />
|
||||
</div>
|
||||
<div id="testimonials" data-section="testimonials">
|
||||
<TestimonialCardTen title="Testimonials" textboxLayout="default" testimonials={[{id: "1", title: "T1", quote: "Great!", name: "John", role: "CEO"}, {id: "2", title: "T2", quote: "Awesome!", name: "Jane", role: "CTO"}]} description="Customer feedback" useInvertedBackground={false} />
|
||||
</div>
|
||||
<div id="faq" data-section="faq">
|
||||
<FaqSplitText sideTitle="FAQ" faqsAnimation="slide-up" faqs={[{id: "1", title: "Q1", content: "A1"}, {id: "2", title: "Q2", content: "A2"}]} useInvertedBackground={false} />
|
||||
</div>
|
||||
<div id="contact" data-section="contact">
|
||||
<ContactSplitForm title="Contact" description="Get in touch" inputs={[{name: "name", type: "text", placeholder: "Name"}, {name: "email", type: "email", placeholder: "Email"}]} useInvertedBackground={false} />
|
||||
</div>
|
||||
<div id="footer" data-section="footer">
|
||||
<FooterBaseCard logoText="Brand" columns={[{title: "Links", items: [{label: "Home", href: "/"}]}]} />
|
||||
</div>
|
||||
<ThemeProvider
|
||||
defaultButtonVariant="expand-hover"
|
||||
defaultTextAnimation="background-highlight"
|
||||
borderRadius="soft"
|
||||
contentWidth="smallMedium"
|
||||
sizing="largeSmallSizeLargeTitles"
|
||||
background="none"
|
||||
cardStyle="layered-gradient"
|
||||
primaryButtonStyle="gradient"
|
||||
secondaryButtonStyle="glass"
|
||||
headingFontWeight="semibold"
|
||||
>
|
||||
<ReactLenis root>
|
||||
<div id="nav" data-section="nav">
|
||||
<NavbarStyleCentered
|
||||
navItems={[
|
||||
{
|
||||
name: "Home", id: "hero"},
|
||||
{
|
||||
name: "Shop", id: "products"},
|
||||
{
|
||||
name: "About", id: "about"},
|
||||
{
|
||||
name: "Contact", id: "contact"},
|
||||
]}
|
||||
brandName="Cream First"
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div id="hero" data-section="hero">
|
||||
<HeroLogoBillboard
|
||||
background={{
|
||||
variant: "plain"}}
|
||||
logoText="Cream First"
|
||||
description="Your go-to shop for high-quality, quirky, and essential merch that always comes first."
|
||||
buttons={[
|
||||
{
|
||||
text: "Browse Shop", href: "#products"},
|
||||
{
|
||||
text: "Learn More", href: "#about"},
|
||||
]}
|
||||
imageSrc="http://img.b2bpic.net/free-photo/pretty-girl-with-book-library_23-2147689824.jpg?_wi=1"
|
||||
mediaAnimation="slide-up"
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div id="about" data-section="about">
|
||||
<TestimonialAboutCard
|
||||
useInvertedBackground={false}
|
||||
tag="Our Story"
|
||||
title="Built on a Simple Principle"
|
||||
description="Cream First started in a small kitchen, dedicated to the art of the perfect cup and the perfect fit. We believe that life's essentials deserve a little extra love."
|
||||
subdescription="From our iconic mugs to our premium cotton tees, everything we sell is designed to make your daily routine a bit brighter and a lot more comfortable."
|
||||
icon={Coffee}
|
||||
imageSrc="http://img.b2bpic.net/free-photo/home-composition-with-cup-stack-books-knitted-element-copy-space_169016-25843.jpg?_wi=1"
|
||||
mediaAnimation="slide-up"
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div id="products" data-section="products">
|
||||
<ProductCatalog
|
||||
layout="section"
|
||||
products={[
|
||||
{
|
||||
id: "p1", name: "Classic Cream Mug", price: "$15.00", rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/cup-tea-beautiful-wooden-background-with-winter-sweater-old-book-winter-autumn-close-up_169016-4542.jpg?_wi=1"},
|
||||
{
|
||||
id: "p2", name: "Logo Essential Tee", price: "$25.00", rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/shirt-mockup-concept-with-plain-clothing_23-2149448731.jpg"},
|
||||
{
|
||||
id: "p3", name: "Cream First Hoodie", price: "$55.00", rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/beautiful-blonde-woman-white-hoodie-blue-jeans-posing-gray-background_89887-988.jpg"},
|
||||
{
|
||||
id: "p4", name: "Canvas Tote Bag", price: "$18.00", rating: 4,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/still-life-hanging-bag_23-2151008995.jpg"},
|
||||
{
|
||||
id: "p5", name: "Signature Sticker Pack", price: "$8.00", rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/vintage-victorian-style-engraving-set-original-from-british-library-digitally-enhanced-by-rawpixel_53876-165338.jpg"},
|
||||
{
|
||||
id: "p6", name: "Daily Journal", price: "$12.00", rating: 4,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/top-view-desktop-with-agenda-notepad_23-2148430839.jpg"},
|
||||
]}
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div id="features" data-section="features">
|
||||
<FeatureCardTwentySix
|
||||
textboxLayout="default"
|
||||
useInvertedBackground={false}
|
||||
features={[
|
||||
{
|
||||
title: "Premium Material", description: "We source only the softest cotton and highest quality ceramic.", buttonIcon: CheckCircle,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/top-view-t-shirt-painting-still-life_23-2150572729.jpg", imageAlt: "high quality apparel printing"},
|
||||
{
|
||||
title: "Eco-Packaging", description: "All shipments use recycled materials to ensure zero guilt.", buttonIcon: Leaf,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/pretty-girl-with-book-library_23-2147689824.jpg?_wi=2", imageAlt: "high quality apparel printing"},
|
||||
{
|
||||
title: "Fast Shipping", description: "Your merch arrives at your door faster than you can brew a cup.", buttonIcon: Zap,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/home-composition-with-cup-stack-books-knitted-element-copy-space_169016-25843.jpg?_wi=2", imageAlt: "high quality apparel printing"},
|
||||
{
|
||||
title: "Happiness First", description: "If you don't love it, we'll make it right. No questions asked.", buttonIcon: Heart,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/cup-tea-beautiful-wooden-background-with-winter-sweater-old-book-winter-autumn-close-up_169016-4542.jpg?_wi=2", imageAlt: "high quality apparel printing"},
|
||||
]}
|
||||
title="Why Cream First?"
|
||||
description="We don't just sell merch; we sell items that stand the test of time and style."
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div id="social" data-section="social">
|
||||
<SocialProofOne
|
||||
textboxLayout="default"
|
||||
useInvertedBackground={false}
|
||||
names={[
|
||||
"Cream First", "Modern Style", "Urban Merch", "Cozy Vibes", "Daily Essentials", "Quirky Tees", "Home Comfort"]}
|
||||
title="Loved Across the Country"
|
||||
description="Join thousands of satisfied customers who have made Cream First a part of their daily life."
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div id="testimonials" data-section="testimonials">
|
||||
<TestimonialCardTen
|
||||
textboxLayout="split"
|
||||
useInvertedBackground={false}
|
||||
testimonials={[
|
||||
{
|
||||
id: "t1", title: "Amazing quality!", quote: "The mug is perfect and the tshirt is so soft. I love it!", name: "Sarah J.", role: "Fan", imageSrc: "http://img.b2bpic.net/free-photo/trend-young-woman-looking-confident_1298-551.jpg"},
|
||||
{
|
||||
id: "t2", title: "Super fast!", quote: "Arrived within two days. Perfect packaging too.", name: "Mark D.", role: "Customer", imageSrc: "http://img.b2bpic.net/free-photo/portrait-handsome-man-smiling_23-2148729669.jpg"},
|
||||
{
|
||||
id: "t3", title: "Favorite store.", quote: "I've bought hoodies for all my friends. They're obsessed.", name: "Emily R.", role: "Fan", imageSrc: "http://img.b2bpic.net/free-photo/smiley-woman-doing-thumbs-up_23-2148628939.jpg"},
|
||||
{
|
||||
id: "t4", title: "Stickers are great.", quote: "Added them to my laptop. The quality is top notch.", name: "David K.", role: "Designer", imageSrc: "http://img.b2bpic.net/free-photo/stylish-smiling-redhead-girl-with-braid-wearing-black-hat-sleeveless-denim-jacket_273609-9275.jpg"},
|
||||
{
|
||||
id: "t5", title: "Best comfort ever.", quote: "This is genuinely the softest hoodie I have ever owned.", name: "Anna P.", role: "Student", imageSrc: "http://img.b2bpic.net/free-photo/young-woman-park-bench-posing-sitting-outdoors_1153-9513.jpg"},
|
||||
]}
|
||||
title="Customer Stories"
|
||||
description="See why our community loves our merchandise."
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div id="faq" data-section="faq">
|
||||
<FaqSplitText
|
||||
useInvertedBackground={false}
|
||||
faqs={[
|
||||
{
|
||||
id: "f1", title: "How long is shipping?", content: "Shipping usually takes 3-5 business days."},
|
||||
{
|
||||
id: "f2", title: "Do you offer returns?", content: "Yes, within 30 days of receiving your item."},
|
||||
{
|
||||
id: "f3", title: "Is the clothing unisex?", content: "Most of our tees and hoodies are designed for a relaxed, unisex fit."},
|
||||
]}
|
||||
sideTitle="Common Questions"
|
||||
sideDescription="Everything you need to know about shopping with us."
|
||||
faqsAnimation="slide-up"
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div id="contact" data-section="contact">
|
||||
<ContactSplitForm
|
||||
useInvertedBackground={false}
|
||||
title="Get in Touch"
|
||||
description="Have questions or just want to say hi? We're always here to chat."
|
||||
inputs={[
|
||||
{
|
||||
name: "name", type: "text", placeholder: "Your Name"},
|
||||
{
|
||||
name: "email", type: "email", placeholder: "Your Email"},
|
||||
]}
|
||||
textarea={{
|
||||
name: "message", placeholder: "How can we help?"}}
|
||||
imageSrc="http://img.b2bpic.net/free-photo/male-barista-with-tattoos-serving-coffee-counter_23-2149052846.jpg"
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div id="footer" data-section="footer">
|
||||
<FooterBaseCard
|
||||
logoText="Cream First"
|
||||
columns={[
|
||||
{
|
||||
title: "Shop", items: [
|
||||
{
|
||||
label: "T-Shirts", href: "#products"},
|
||||
{
|
||||
label: "Hoodies", href: "#products"},
|
||||
{
|
||||
label: "Mugs", href: "#products"},
|
||||
],
|
||||
},
|
||||
{
|
||||
title: "Support", items: [
|
||||
{
|
||||
label: "FAQs", href: "#faq"},
|
||||
{
|
||||
label: "Contact", href: "#contact"},
|
||||
{
|
||||
label: "Returns", href: "#"},
|
||||
],
|
||||
},
|
||||
]}
|
||||
/>
|
||||
</div>
|
||||
</ReactLenis>
|
||||
</ThemeProvider>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user