Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| ba43061a2d |
234
src/app/page.tsx
234
src/app/page.tsx
@@ -31,21 +31,13 @@ export default function LandingPage() {
|
||||
<NavbarStyleApple
|
||||
navItems={[
|
||||
{
|
||||
name: "Home",
|
||||
id: "hero",
|
||||
},
|
||||
name: "Home", id: "hero"},
|
||||
{
|
||||
name: "Features",
|
||||
id: "features",
|
||||
},
|
||||
name: "Features", id: "features"},
|
||||
{
|
||||
name: "New Arrivals",
|
||||
id: "products",
|
||||
},
|
||||
name: "New Arrivals", id: "products"},
|
||||
{
|
||||
name: "Support",
|
||||
id: "faq",
|
||||
},
|
||||
name: "Support", id: "faq"},
|
||||
]}
|
||||
brandName="Smyths Toys"
|
||||
/>
|
||||
@@ -54,61 +46,38 @@ export default function LandingPage() {
|
||||
<div id="hero" data-section="hero">
|
||||
<HeroSplit
|
||||
background={{
|
||||
variant: "sparkles-gradient",
|
||||
}}
|
||||
variant: "sparkles-gradient"}}
|
||||
title="Worlds of Wonder Await!"
|
||||
description="Discover thousands of toys, games, and electronics for kids of all ages. Spark imagination today!"
|
||||
buttons={[
|
||||
{
|
||||
text: "Shop Toys",
|
||||
href: "#products",
|
||||
},
|
||||
text: "Shop Toys", href: "#products"},
|
||||
]}
|
||||
imageSrc="http://img.b2bpic.net/free-photo/back-view-woman-festival-game-stand_23-2148287954.jpg"
|
||||
mediaAnimation="slide-up"
|
||||
avatars={[
|
||||
{
|
||||
src: "http://img.b2bpic.net/free-photo/abstract-blur-book-bookshelves-bookstore_1232-4954.jpg",
|
||||
alt: "Child playing",
|
||||
},
|
||||
src: "http://img.b2bpic.net/free-photo/abstract-blur-book-bookshelves-bookstore_1232-4954.jpg", alt: "Child playing"},
|
||||
{
|
||||
src: "http://img.b2bpic.net/free-photo/close-up-woman-popping-balloons-back-view_23-2148287899.jpg",
|
||||
alt: "Child playing",
|
||||
},
|
||||
src: "http://img.b2bpic.net/free-photo/close-up-woman-popping-balloons-back-view_23-2148287899.jpg", alt: "Child playing"},
|
||||
{
|
||||
src: "http://img.b2bpic.net/free-photo/woman-close-shop-window_1098-252.jpg",
|
||||
alt: "Child playing",
|
||||
},
|
||||
src: "http://img.b2bpic.net/free-photo/woman-close-shop-window_1098-252.jpg", alt: "Child playing"},
|
||||
{
|
||||
src: "http://img.b2bpic.net/free-photo/blurred-background-arcade_1232-875.jpg",
|
||||
alt: "Child playing",
|
||||
},
|
||||
src: "http://img.b2bpic.net/free-photo/blurred-background-arcade_1232-875.jpg", alt: "Child playing"},
|
||||
{
|
||||
src: "http://img.b2bpic.net/free-photo/rear-view-two-happy-female-friends-standing-front-toy-shop_23-2147911814.jpg",
|
||||
alt: "Child playing",
|
||||
},
|
||||
src: "http://img.b2bpic.net/free-photo/rear-view-two-happy-female-friends-standing-front-toy-shop_23-2147911814.jpg", alt: "Child playing"},
|
||||
]}
|
||||
marqueeItems={[
|
||||
{
|
||||
type: "text",
|
||||
text: "Free Shipping on $50+",
|
||||
},
|
||||
type: "text", text: "Free Shipping on $50+"},
|
||||
{
|
||||
type: "text",
|
||||
text: "100% Satisfaction Guaranteed",
|
||||
},
|
||||
type: "text", text: "100% Satisfaction Guaranteed"},
|
||||
{
|
||||
type: "text",
|
||||
text: "New Toys Weekly",
|
||||
},
|
||||
type: "text", text: "New Toys Weekly"},
|
||||
{
|
||||
type: "text",
|
||||
text: "Safe & Secure",
|
||||
},
|
||||
type: "text", text: "Safe & Secure"},
|
||||
{
|
||||
type: "text",
|
||||
text: "Gift Wrapping Available",
|
||||
},
|
||||
type: "text", text: "Gift Wrapping Available"},
|
||||
]}
|
||||
/>
|
||||
</div>
|
||||
@@ -120,45 +89,25 @@ export default function LandingPage() {
|
||||
useInvertedBackground={false}
|
||||
features={[
|
||||
{
|
||||
id: "f1",
|
||||
title: "Creative Building",
|
||||
descriptions: [
|
||||
"Hours of imaginative construction fun.",
|
||||
],
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/high-angle-kid-playing-memory-game_23-2150294731.jpg",
|
||||
},
|
||||
id: "f1", title: "Creative Building", descriptions: [
|
||||
"Hours of imaginative construction fun."],
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/high-angle-kid-playing-memory-game_23-2150294731.jpg"},
|
||||
{
|
||||
id: "f2",
|
||||
title: "Science & Tech",
|
||||
descriptions: [
|
||||
"Explore the wonders of STEM.",
|
||||
],
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/two-girls-with-safety-glasses-carrying-chemistry-experiments_23-2148571258.jpg",
|
||||
},
|
||||
id: "f2", title: "Science & Tech", descriptions: [
|
||||
"Explore the wonders of STEM."],
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/two-girls-with-safety-glasses-carrying-chemistry-experiments_23-2148571258.jpg"},
|
||||
{
|
||||
id: "f3",
|
||||
title: "Outdoor Action",
|
||||
descriptions: [
|
||||
"Get moving with fun gear.",
|
||||
],
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/3d-view-puzzle-pieces_23-2150499129.jpg",
|
||||
},
|
||||
id: "f3", title: "Outdoor Action", descriptions: [
|
||||
"Get moving with fun gear."],
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/3d-view-puzzle-pieces_23-2150499129.jpg"},
|
||||
{
|
||||
id: "f4",
|
||||
title: "Artistic Fun",
|
||||
descriptions: [
|
||||
"Unleash their inner artist.",
|
||||
],
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/girl-with-hair-net-safety-glasses-doing-science-experiments-with-test-tube_23-2148799242.jpg",
|
||||
},
|
||||
id: "f4", title: "Artistic Fun", descriptions: [
|
||||
"Unleash their inner artist."],
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/girl-with-hair-net-safety-glasses-doing-science-experiments-with-test-tube_23-2148799242.jpg"},
|
||||
{
|
||||
id: "f5",
|
||||
title: "Board Game Nights",
|
||||
descriptions: [
|
||||
"Family fun in every box.",
|
||||
],
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/kids-learning-more-about-chemistry-class_23-2149068379.jpg",
|
||||
},
|
||||
id: "f5", title: "Board Game Nights", descriptions: [
|
||||
"Family fun in every box."],
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/kids-learning-more-about-chemistry-class_23-2149068379.jpg"},
|
||||
]}
|
||||
title="Everything They Love"
|
||||
description="Explore our categories designed for joy."
|
||||
@@ -168,46 +117,23 @@ export default function LandingPage() {
|
||||
<div id="products" data-section="products">
|
||||
<ProductCardOne
|
||||
animationType="slide-up"
|
||||
textboxLayout="default"
|
||||
textboxLayout="split-actions"
|
||||
gridVariant="uniform-all-items-equal"
|
||||
useInvertedBackground={false}
|
||||
buttons={[{ text: "Buy Now" }]}
|
||||
products={[
|
||||
{
|
||||
id: "p1",
|
||||
name: "Super Action Bot",
|
||||
price: "$29.99",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/cookies-marmelades-blue-platter-marble_114579-72246.jpg",
|
||||
},
|
||||
id: "p1", name: "Super Action Bot", price: "$29.99", imageSrc: "http://img.b2bpic.net/free-photo/cookies-marmelades-blue-platter-marble_114579-72246.jpg"},
|
||||
{
|
||||
id: "p2",
|
||||
name: "Plushie Bear",
|
||||
price: "$15.99",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/happy-woman-playing-arcade-machine_23-2148253120.jpg",
|
||||
},
|
||||
id: "p2", name: "Plushie Bear", price: "$15.99", imageSrc: "http://img.b2bpic.net/free-photo/happy-woman-playing-arcade-machine_23-2148253120.jpg"},
|
||||
{
|
||||
id: "p3",
|
||||
name: "Princess Palace",
|
||||
price: "$49.99",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/small-red-car-toy-kid-child-playing-with-it_114579-7239.jpg",
|
||||
},
|
||||
id: "p3", name: "Princess Palace", price: "$49.99", imageSrc: "http://img.b2bpic.net/free-photo/small-red-car-toy-kid-child-playing-with-it_114579-7239.jpg"},
|
||||
{
|
||||
id: "p4",
|
||||
name: "Fast RC Car",
|
||||
price: "$34.99",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/fluffy-toy-texture-close-up_23-2149686877.jpg",
|
||||
},
|
||||
id: "p4", name: "Fast RC Car", price: "$34.99", imageSrc: "http://img.b2bpic.net/free-photo/fluffy-toy-texture-close-up_23-2149686877.jpg"},
|
||||
{
|
||||
id: "p5",
|
||||
name: "Brick Adventure",
|
||||
price: "$24.99",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/man-smiling-with-toy-car_1187-2215.jpg",
|
||||
},
|
||||
id: "p5", name: "Brick Adventure", price: "$24.99", imageSrc: "http://img.b2bpic.net/free-photo/man-smiling-with-toy-car_1187-2215.jpg"},
|
||||
{
|
||||
id: "p6",
|
||||
name: "Logic Puzzle",
|
||||
price: "$12.99",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/composition-fathers-day_23-2148101916.jpg",
|
||||
},
|
||||
id: "p6", name: "Logic Puzzle", price: "$12.99", imageSrc: "http://img.b2bpic.net/free-photo/composition-fathers-day_23-2148101916.jpg"},
|
||||
]}
|
||||
title="New Arrivals"
|
||||
description="Check out the latest hits in our shop."
|
||||
@@ -222,20 +148,11 @@ export default function LandingPage() {
|
||||
useInvertedBackground={false}
|
||||
metrics={[
|
||||
{
|
||||
id: "m1",
|
||||
value: "10k+",
|
||||
description: "Happy Kids",
|
||||
},
|
||||
id: "m1", value: "10k+", description: "Happy Kids"},
|
||||
{
|
||||
id: "m2",
|
||||
value: "5k+",
|
||||
description: "Toys Available",
|
||||
},
|
||||
id: "m2", value: "5k+", description: "Toys Available"},
|
||||
{
|
||||
id: "m3",
|
||||
value: "100",
|
||||
description: "Store Locations",
|
||||
},
|
||||
id: "m3", value: "100", description: "Store Locations"},
|
||||
]}
|
||||
title="Our Reach"
|
||||
description="Building memories everywhere."
|
||||
@@ -249,40 +166,15 @@ export default function LandingPage() {
|
||||
useInvertedBackground={false}
|
||||
testimonials={[
|
||||
{
|
||||
id: "t1",
|
||||
name: "Sarah D.",
|
||||
handle: "@sarahmom",
|
||||
testimonial: "My kids absolutely love the toys here!",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/picture-cheerful-young-caucasian-female-male-holds-their-child-hands-smiles-rejoices_132075-10480.jpg",
|
||||
},
|
||||
id: "t1", name: "Sarah D.", handle: "@sarahmom", testimonial: "My kids absolutely love the toys here!", imageSrc: "http://img.b2bpic.net/free-photo/picture-cheerful-young-caucasian-female-male-holds-their-child-hands-smiles-rejoices_132075-10480.jpg"},
|
||||
{
|
||||
id: "t2",
|
||||
name: "Mike R.",
|
||||
handle: "@mikerocks",
|
||||
testimonial: "Best selection in town, hands down.",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/blissful-preschool-child-sitting-shopping-cart-laughing-kid-jeans-having-fun-pink-background_197531-13716.jpg",
|
||||
},
|
||||
id: "t2", name: "Mike R.", handle: "@mikerocks", testimonial: "Best selection in town, hands down.", imageSrc: "http://img.b2bpic.net/free-photo/blissful-preschool-child-sitting-shopping-cart-laughing-kid-jeans-having-fun-pink-background_197531-13716.jpg"},
|
||||
{
|
||||
id: "t3",
|
||||
name: "Anna W.",
|
||||
handle: "@annawild",
|
||||
testimonial: "Great quality and fair prices.",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/full-length-portrait-happy-family_171337-2238.jpg",
|
||||
},
|
||||
id: "t3", name: "Anna W.", handle: "@annawild", testimonial: "Great quality and fair prices.", imageSrc: "http://img.b2bpic.net/free-photo/full-length-portrait-happy-family_171337-2238.jpg"},
|
||||
{
|
||||
id: "t4",
|
||||
name: "John B.",
|
||||
handle: "@johnbplay",
|
||||
testimonial: "Fast delivery and happy smiles.",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/beautiful-woman-smiling_93675-133804.jpg",
|
||||
},
|
||||
id: "t4", name: "John B.", handle: "@johnbplay", testimonial: "Fast delivery and happy smiles.", imageSrc: "http://img.b2bpic.net/free-photo/beautiful-woman-smiling_93675-133804.jpg"},
|
||||
{
|
||||
id: "t5",
|
||||
name: "Lisa K.",
|
||||
handle: "@lisakids",
|
||||
testimonial: "Truly the go-to place for toys.",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/portrait-lovely-cute-little-kid-holding-present-box_171337-7115.jpg",
|
||||
},
|
||||
id: "t5", name: "Lisa K.", handle: "@lisakids", testimonial: "Truly the go-to place for toys.", imageSrc: "http://img.b2bpic.net/free-photo/portrait-lovely-cute-little-kid-holding-present-box_171337-7115.jpg"},
|
||||
]}
|
||||
title="Parent Approved"
|
||||
description="See why families love shopping with us."
|
||||
@@ -294,20 +186,11 @@ export default function LandingPage() {
|
||||
useInvertedBackground={false}
|
||||
faqs={[
|
||||
{
|
||||
id: "q1",
|
||||
title: "Do you ship everywhere?",
|
||||
content: "Yes, we ship nationwide!",
|
||||
},
|
||||
id: "q1", title: "Do you ship everywhere?", content: "Yes, we ship nationwide!"},
|
||||
{
|
||||
id: "q2",
|
||||
title: "How to return toys?",
|
||||
content: "Visit our help page for returns.",
|
||||
},
|
||||
id: "q2", title: "How to return toys?", content: "Visit our help page for returns."},
|
||||
{
|
||||
id: "q3",
|
||||
title: "Do you have gift cards?",
|
||||
content: "Yes, in store and online.",
|
||||
},
|
||||
id: "q3", title: "Do you have gift cards?", content: "Yes, in store and online."},
|
||||
]}
|
||||
sideTitle="Questions?"
|
||||
faqsAnimation="slide-up"
|
||||
@@ -318,8 +201,7 @@ export default function LandingPage() {
|
||||
<ContactCenter
|
||||
useInvertedBackground={false}
|
||||
background={{
|
||||
variant: "sparkles-gradient",
|
||||
}}
|
||||
variant: "sparkles-gradient"}}
|
||||
tag="Stay Updated"
|
||||
title="Join Our Toy Club"
|
||||
description="Get latest news and exclusive discounts."
|
||||
@@ -331,21 +213,15 @@ export default function LandingPage() {
|
||||
logoText="Smyths Toys"
|
||||
columns={[
|
||||
{
|
||||
title: "Shop",
|
||||
items: [
|
||||
title: "Shop", items: [
|
||||
{
|
||||
label: "All Toys",
|
||||
href: "#products",
|
||||
},
|
||||
label: "All Toys", href: "#products"},
|
||||
],
|
||||
},
|
||||
{
|
||||
title: "Company",
|
||||
items: [
|
||||
title: "Company", items: [
|
||||
{
|
||||
label: "About Us",
|
||||
href: "#",
|
||||
},
|
||||
label: "About Us", href: "#"},
|
||||
],
|
||||
},
|
||||
]}
|
||||
|
||||
Reference in New Issue
Block a user