Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 3a759d2667 | |||
| b141b96f38 | |||
| 7523e2ee2e |
339
src/app/page.tsx
339
src/app/page.tsx
@@ -7,12 +7,10 @@ import FaqSplitText from '@/components/sections/faq/FaqSplitText';
|
||||
import FeatureCardSixteen from '@/components/sections/feature/FeatureCardSixteen';
|
||||
import FooterBaseCard from '@/components/sections/footer/FooterBaseCard';
|
||||
import HeroOverlayTestimonial from '@/components/sections/hero/HeroOverlayTestimonial';
|
||||
import MetricCardOne from '@/components/sections/metrics/MetricCardOne';
|
||||
import NavbarStyleCentered from '@/components/navbar/NavbarStyleCentered/NavbarStyleCentered';
|
||||
import ProductCardOne from '@/components/sections/product/ProductCardOne';
|
||||
import SplitAbout from '@/components/sections/about/SplitAbout';
|
||||
import TestimonialCardOne from '@/components/sections/testimonial/TestimonialCardOne';
|
||||
import { CheckCircle, Leaf, Users } from "lucide-react";
|
||||
|
||||
export default function LandingPage() {
|
||||
return (
|
||||
@@ -22,32 +20,20 @@ export default function LandingPage() {
|
||||
borderRadius="pill"
|
||||
contentWidth="medium"
|
||||
sizing="largeSmallSizeLargeTitles"
|
||||
background="floatingGradient"
|
||||
cardStyle="layered-gradient"
|
||||
primaryButtonStyle="shadow"
|
||||
secondaryButtonStyle="layered"
|
||||
background="none"
|
||||
cardStyle="solid"
|
||||
primaryButtonStyle="flat"
|
||||
secondaryButtonStyle="solid"
|
||||
headingFontWeight="medium"
|
||||
>
|
||||
<ReactLenis root>
|
||||
<div id="nav" data-section="nav">
|
||||
<NavbarStyleCentered
|
||||
navItems={[
|
||||
{
|
||||
name: "Shop",
|
||||
id: "products",
|
||||
},
|
||||
{
|
||||
name: "Our Story",
|
||||
id: "about",
|
||||
},
|
||||
{
|
||||
name: "Reviews",
|
||||
id: "testimonials",
|
||||
},
|
||||
{
|
||||
name: "FAQ",
|
||||
id: "faq",
|
||||
},
|
||||
{ name: "Shop", id: "products" },
|
||||
{ name: "Our Story", id: "about" },
|
||||
{ name: "Reviews", id: "testimonials" },
|
||||
{ name: "Contact", id: "contact" },
|
||||
]}
|
||||
brandName="Radiance"
|
||||
/>
|
||||
@@ -55,100 +41,30 @@ export default function LandingPage() {
|
||||
|
||||
<div id="hero" data-section="hero">
|
||||
<HeroOverlayTestimonial
|
||||
title="Radiance in Every Drop"
|
||||
description="Formulated with the purest botanical ingredients to nourish, hydrate, and restore your skin's natural glow."
|
||||
testimonials={[
|
||||
{
|
||||
name: "Sarah J.",
|
||||
handle: "@sarahskin",
|
||||
testimonial: "My skin has never felt this hydrated. A true game changer.",
|
||||
rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/young-beautiful-woman-having-online-meeting_23-2149116347.jpg",
|
||||
},
|
||||
{
|
||||
name: "Emma W.",
|
||||
handle: "@emma_glow",
|
||||
testimonial: "Radiance transformed my morning routine completely.",
|
||||
rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/beauty-concept-beautiful-caucasian-woman-with-clean-skin-natural-make-up-isolated-bright-pink-background-with-copy-space_1258-1094.jpg",
|
||||
},
|
||||
{
|
||||
name: "Mark D.",
|
||||
handle: "@markbeauty",
|
||||
testimonial: "Gentle, effective, and results you can see.",
|
||||
rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/woman-applying-cream-face-while-looking-mirror_23-2148875051.jpg",
|
||||
},
|
||||
{
|
||||
name: "Lisa R.",
|
||||
handle: "@lisaskincare",
|
||||
testimonial: "Finally found products that actually respect my sensitive skin.",
|
||||
rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/front-view-smiley-woman-holding-mirror_23-2150100204.jpg",
|
||||
},
|
||||
{
|
||||
name: "Chloe T.",
|
||||
handle: "@chloetbeauty",
|
||||
testimonial: "Simply the best skincare I've tried in years.",
|
||||
rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/close-up-portrait-slim-young-woman-with-long-brown-hair_613910-8511.jpg",
|
||||
},
|
||||
]}
|
||||
title="Perfection in Every Corner"
|
||||
description="Experience the art of fine dining and artisanal coffee in the heart of Buraydah. Designed for the senses, crafted for the soul."
|
||||
testimonials={[]}
|
||||
buttons={[
|
||||
{
|
||||
text: "Shop Collection",
|
||||
href: "#products",
|
||||
},
|
||||
{ text: "Reserve a Table" },
|
||||
{ text: "Explore the Menu" }
|
||||
]}
|
||||
imageSrc="http://img.b2bpic.net/free-photo/ecofriendly-beauty-product_23-2150669167.jpg"
|
||||
imageAlt="luxury skincare product photography"
|
||||
avatars={[
|
||||
{
|
||||
src: "http://img.b2bpic.net/free-photo/portrait-women-laughing-playing-with-moisturizer_23-2148850636.jpg",
|
||||
alt: "Portrait of women laughing and playing with moisturizer",
|
||||
},
|
||||
{
|
||||
src: "http://img.b2bpic.net/free-photo/front-view-woman-holding-mirror_23-2150100196.jpg",
|
||||
alt: "Front view woman holding mirror",
|
||||
},
|
||||
{
|
||||
src: "http://img.b2bpic.net/free-photo/close-up-view-woman-talking-care-skin-home-look-phone_197531-32940.jpg",
|
||||
alt: "Close up view of woman talking care of skin at home look at phone",
|
||||
},
|
||||
{
|
||||
src: "http://img.b2bpic.net/free-photo/portrait-natural-model-laughing_23-2148398597.jpg",
|
||||
alt: "Portrait of natural model laughing",
|
||||
},
|
||||
{
|
||||
src: "http://img.b2bpic.net/free-photo/natural-beauty-portrait-beautiful-spa-woman-perfect-fresh-skin_1258-132132.jpg",
|
||||
alt: "Natural beauty portrait beautiful spa woman perfect fresh skin",
|
||||
},
|
||||
]}
|
||||
avatarText="Join 100k+ radiant souls"
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div id="about" data-section="about">
|
||||
<SplitAbout
|
||||
textboxLayout="split"
|
||||
useInvertedBackground={false}
|
||||
title="Natural Beauty, Science-Backed"
|
||||
description="We believe in the power of plants to heal and protect. Our formulas are meticulously crafted to provide clinical results while maintaining the purity of raw, natural ingredients."
|
||||
bulletPoints={[
|
||||
{
|
||||
title: "Plant-Powered",
|
||||
description: "Derived from sustainable, nature-based ingredients.",
|
||||
},
|
||||
{
|
||||
title: "Clinical Efficacy",
|
||||
description: "Results verified through rigorous dermatological testing.",
|
||||
},
|
||||
{
|
||||
title: "Ethically Sourced",
|
||||
description: "Respecting the planet and those who cultivate our ingredients.",
|
||||
},
|
||||
{ title: "Plant-Powered", description: "Derived from sustainable, nature-based ingredients." },
|
||||
{ title: "Clinical Efficacy", description: "Results verified through rigorous dermatological testing." },
|
||||
{ title: "Ethically Sourced", description: "Respecting the planet and those who cultivate our ingredients." },
|
||||
]}
|
||||
imageSrc="http://img.b2bpic.net/free-photo/water-wave-texture-background-white-design_53876-145213.jpg"
|
||||
textboxLayout="split"
|
||||
useInvertedBackground={false}
|
||||
mediaAnimation="slide-up"
|
||||
/>
|
||||
</div>
|
||||
@@ -158,24 +74,8 @@ export default function LandingPage() {
|
||||
animationType="slide-up"
|
||||
textboxLayout="default"
|
||||
useInvertedBackground={true}
|
||||
negativeCard={{
|
||||
items: [
|
||||
"No Synthetic Fragrances",
|
||||
"No Harsh Chemicals",
|
||||
"No Plastic Microbeads",
|
||||
"No Silicones",
|
||||
"No Artificial Colors",
|
||||
],
|
||||
}}
|
||||
positiveCard={{
|
||||
items: [
|
||||
"Paraben-Free",
|
||||
"Sulfate-Free",
|
||||
"Cruelty-Free",
|
||||
"Vegan Formula",
|
||||
"Dermatologist Tested",
|
||||
],
|
||||
}}
|
||||
negativeCard={{ items: ["No Synthetic Fragrances", "No Harsh Chemicals", "No Plastic Microbeads", "No Silicones", "No Artificial Colors"] }}
|
||||
positiveCard={{ items: ["Paraben-Free", "Sulfate-Free", "Cruelty-Free", "Vegan Formula", "Dermatologist Tested"] }}
|
||||
title="Why Your Skin Loves Radiance"
|
||||
description="Transparency is at the heart of our mission."
|
||||
/>
|
||||
@@ -188,42 +88,10 @@ export default function LandingPage() {
|
||||
gridVariant="four-items-2x2-equal-grid"
|
||||
useInvertedBackground={false}
|
||||
products={[
|
||||
{
|
||||
id: "p1",
|
||||
name: "Hydrating Serum",
|
||||
price: "$45",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/open-compact-powder-stacked-sponge-wooden-table_23-2148031374.jpg",
|
||||
},
|
||||
{
|
||||
id: "p2",
|
||||
name: "Radiance Oil",
|
||||
price: "$52",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/close-up-floating-water_23-2150963082.jpg",
|
||||
},
|
||||
{
|
||||
id: "p3",
|
||||
name: "Calming Mist",
|
||||
price: "$28",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/nude-beautiful-blonde-girl-with-fresh-perfect-skin-smiling-holding-cosmetology-spray-bottle_176420-9349.jpg",
|
||||
},
|
||||
{
|
||||
id: "p4",
|
||||
name: "Night Recovery Cream",
|
||||
price: "$65",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/ecofriendly-beauty-product_23-2150669110.jpg",
|
||||
},
|
||||
{
|
||||
id: "p5",
|
||||
name: "Gentle Gel Cleanser",
|
||||
price: "$32",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/beautiful-still-life-with-herbal-medicine_23-2149291990.jpg",
|
||||
},
|
||||
{
|
||||
id: "p6",
|
||||
name: "Eye Brightening Cream",
|
||||
price: "$48",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/elegant-gold-lid-pink-cream-jar-skincare-cosmetics_187299-47396.jpg",
|
||||
},
|
||||
{ id: "p1", name: "Hydrating Serum", price: "$45", imageSrc: "http://img.b2bpic.net/free-photo/open-compact-powder-stacked-sponge-wooden-table_23-2148031374.jpg" },
|
||||
{ id: "p2", name: "Radiance Oil", price: "$52", imageSrc: "http://img.b2bpic.net/free-photo/close-up-floating-water_23-2150963082.jpg" },
|
||||
{ id: "p3", name: "Calming Mist", price: "$28", imageSrc: "http://img.b2bpic.net/free-photo/nude-beautiful-blonde-girl-with-fresh-perfect-skin-smiling-holding-cosmetology-spray-bottle_176420-9349.jpg" },
|
||||
{ id: "p4", name: "Night Recovery Cream", price: "$65", imageSrc: "http://img.b2bpic.net/free-photo/ecofriendly-beauty-product_23-2150669110.jpg" },
|
||||
]}
|
||||
title="Discover Your Essentials"
|
||||
description="Curated skincare to fit every step of your ritual."
|
||||
@@ -237,105 +105,22 @@ export default function LandingPage() {
|
||||
gridVariant="three-columns-all-equal-width"
|
||||
useInvertedBackground={true}
|
||||
testimonials={[
|
||||
{
|
||||
id: "t1",
|
||||
name: "Jane Doe",
|
||||
role: "User",
|
||||
company: "Happy Fan",
|
||||
rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/green-eyed-woman-white-t-shirt-pink-jacket-with-snow-white-smile-looks-front-posing-street_197531-17040.jpg",
|
||||
},
|
||||
{
|
||||
id: "t2",
|
||||
name: "John Smith",
|
||||
role: "User",
|
||||
company: "Skincare Enthusiast",
|
||||
rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/portrait-happy-young-fit-woman-doing-sports-exercises-home-drinks-water-from-bottle-sm_1258-182451.jpg",
|
||||
},
|
||||
{
|
||||
id: "t3",
|
||||
name: "Alice Chen",
|
||||
role: "User",
|
||||
company: "Customer",
|
||||
rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/two-caucasian-girls-different-ages-cosmetic-facial-procedures-light-room-wellness-self-care-concept_197531-31432.jpg",
|
||||
},
|
||||
{
|
||||
id: "t4",
|
||||
name: "Bob Williams",
|
||||
role: "User",
|
||||
company: "Verified Buyer",
|
||||
rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/portrait-happy-smiley-older-woman_23-2149022596.jpg",
|
||||
},
|
||||
{
|
||||
id: "t5",
|
||||
name: "Eva Green",
|
||||
role: "User",
|
||||
company: "Brand Lover",
|
||||
rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/portrait-woman-showing-ok-sign-smiling_273609-13735.jpg",
|
||||
},
|
||||
{ id: "t1", name: "Jane Doe", role: "User", company: "Happy Fan", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/green-eyed-woman-white-t-shirt-pink-jacket-with-snow-white-smile-looks-front-posing-street_197531-17040.jpg" },
|
||||
{ id: "t2", name: "John Smith", role: "User", company: "Skincare Enthusiast", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/portrait-happy-young-fit-woman-doing-sports-exercises-home-drinks-water-from-bottle-sm_1258-182451.jpg" },
|
||||
{ id: "t3", name: "Alice Chen", role: "User", company: "Customer", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/two-caucasian-girls-different-ages-cosmetic-facial-procedures-light-room-wellness-self-care-concept_197531-31432.jpg" },
|
||||
]}
|
||||
title="Trusted by Thousands"
|
||||
description="Join our growing community of happy customers."
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div id="metrics" data-section="metrics">
|
||||
<MetricCardOne
|
||||
animationType="slide-up"
|
||||
textboxLayout="default"
|
||||
gridVariant="uniform-all-items-equal"
|
||||
useInvertedBackground={false}
|
||||
metrics={[
|
||||
{
|
||||
id: "m1",
|
||||
value: "100k+",
|
||||
title: "Happy Customers",
|
||||
description: "Joining the Radiance movement.",
|
||||
icon: Users,
|
||||
},
|
||||
{
|
||||
id: "m2",
|
||||
value: "50+",
|
||||
title: "Botanical Extracts",
|
||||
description: "In every bottle we create.",
|
||||
icon: Leaf,
|
||||
},
|
||||
{
|
||||
id: "m3",
|
||||
value: "98%",
|
||||
title: "Skin Improvement",
|
||||
description: "Confirmed by our clinical testers.",
|
||||
icon: CheckCircle,
|
||||
},
|
||||
]}
|
||||
title="Real Impact, Verified"
|
||||
description="Our commitment to quality speaks for itself."
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div id="faq" data-section="faq">
|
||||
<FaqSplitText
|
||||
useInvertedBackground={true}
|
||||
faqs={[
|
||||
{
|
||||
id: "f1",
|
||||
title: "Are your products organic?",
|
||||
content: "Yes, we prioritize organic and ethically sourced ingredients.",
|
||||
},
|
||||
{
|
||||
id: "f2",
|
||||
title: "Is shipping free?",
|
||||
content: "We offer free shipping on orders over $50.",
|
||||
},
|
||||
{
|
||||
id: "f3",
|
||||
title: "Can I return products?",
|
||||
content: "We offer a 30-day money-back guarantee.",
|
||||
},
|
||||
{ id: "f1", title: "Are your products organic?", content: "Yes, we prioritize organic and ethically sourced ingredients." },
|
||||
{ id: "f2", title: "Is shipping free?", content: "We offer free shipping on orders over $50." },
|
||||
{ id: "f3", title: "Can I return products?", content: "We offer a 30-day money-back guarantee." },
|
||||
]}
|
||||
sideTitle="Your Questions, Answered"
|
||||
sideDescription="Not sure where to start? We're here to help."
|
||||
@@ -349,25 +134,10 @@ export default function LandingPage() {
|
||||
title="Need Help? Reach Out"
|
||||
description="Our skincare specialists are ready to guide you to your ideal routine."
|
||||
inputs={[
|
||||
{
|
||||
name: "name",
|
||||
type: "text",
|
||||
placeholder: "Your Name",
|
||||
required: true,
|
||||
},
|
||||
{
|
||||
name: "email",
|
||||
type: "email",
|
||||
placeholder: "Your Email",
|
||||
required: true,
|
||||
},
|
||||
{ name: "name", type: "text", placeholder: "Your Name", required: true },
|
||||
{ name: "email", type: "email", placeholder: "Your Email", required: true },
|
||||
]}
|
||||
textarea={{
|
||||
name: "message",
|
||||
placeholder: "Ask us anything!",
|
||||
required: true,
|
||||
rows: 4,
|
||||
}}
|
||||
textarea={{ name: "message", placeholder: "Ask us anything!", required: true, rows: 4 }}
|
||||
imageSrc="http://img.b2bpic.net/free-photo/top-view-flowers-with-copy-space_23-2148172550.jpg"
|
||||
/>
|
||||
</div>
|
||||
@@ -376,49 +146,12 @@ export default function LandingPage() {
|
||||
<FooterBaseCard
|
||||
logoText="Radiance"
|
||||
columns={[
|
||||
{
|
||||
title: "Shop",
|
||||
items: [
|
||||
{
|
||||
label: "All Products",
|
||||
href: "#products",
|
||||
},
|
||||
{
|
||||
label: "New Arrivals",
|
||||
href: "#",
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
title: "Support",
|
||||
items: [
|
||||
{
|
||||
label: "Contact",
|
||||
href: "#contact",
|
||||
},
|
||||
{
|
||||
label: "FAQ",
|
||||
href: "#faq",
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
title: "Legal",
|
||||
items: [
|
||||
{
|
||||
label: "Privacy Policy",
|
||||
href: "#",
|
||||
},
|
||||
{
|
||||
label: "Terms",
|
||||
href: "#",
|
||||
},
|
||||
],
|
||||
},
|
||||
{ title: "Shop", items: [{ label: "All Products", href: "#products" }] },
|
||||
{ title: "Support", items: [{ label: "Contact", href: "#contact" }, { label: "FAQ", href: "#faq" }] },
|
||||
]}
|
||||
/>
|
||||
</div>
|
||||
</ReactLenis>
|
||||
</ThemeProvider>
|
||||
);
|
||||
}
|
||||
}
|
||||
@@ -10,15 +10,15 @@
|
||||
--accent: #ffffff;
|
||||
--background-accent: #ffffff; */
|
||||
|
||||
--background: #f5f4ef;
|
||||
--card: #dad6cd;
|
||||
--foreground: #2a2928;
|
||||
--primary-cta: #2a2928;
|
||||
--background: #ffffff;
|
||||
--card: #ffffff;
|
||||
--foreground: #000000;
|
||||
--primary-cta: #000000;
|
||||
--primary-cta-text: #f5f4ef;
|
||||
--secondary-cta: #ecebea;
|
||||
--secondary-cta: #e5e5e5;
|
||||
--secondary-cta-text: #2a2928;
|
||||
--accent: #ffffff;
|
||||
--background-accent: #c6b180;
|
||||
--accent: #f5f5f5;
|
||||
--background-accent: #e5e5e5;
|
||||
|
||||
/* text sizing - set by ThemeProvider */
|
||||
/* --text-2xs: clamp(0.465rem, 0.62vw, 0.62rem);
|
||||
|
||||
Reference in New Issue
Block a user