Update src/app/page.tsx
This commit is contained in:
177
src/app/page.tsx
177
src/app/page.tsx
@@ -29,18 +29,13 @@ export default function LandingPage() {
|
||||
<NavbarLayoutFloatingInline
|
||||
navItems={[
|
||||
{
|
||||
name: "Shop",
|
||||
id: "/",
|
||||
},
|
||||
name: "Shop", id: "/"},
|
||||
{
|
||||
name: "Checkout",
|
||||
id: "/checkout",
|
||||
},
|
||||
name: "Checkout", id: "/checkout"},
|
||||
]}
|
||||
brandName="Dune Dragon"
|
||||
button={{
|
||||
text: "Cart",
|
||||
}}
|
||||
text: "Cart"}}
|
||||
animateOnLoad={false}
|
||||
/>
|
||||
</div>
|
||||
@@ -48,55 +43,36 @@ export default function LandingPage() {
|
||||
<div id="hero" data-section="hero">
|
||||
<HeroSplitDoubleCarousel
|
||||
background={{
|
||||
variant: "plain",
|
||||
}}
|
||||
variant: "plain"}}
|
||||
title="Elevate Your Apple Experience"
|
||||
description="Discover a world of premium accessories designed to seamlessly integrate with your Apple devices, enhancing protection, performance, and style."
|
||||
leftCarouselItems={[
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/side-view-woman-making-video-calls-with-laptop_23-2150711942.jpg",
|
||||
imageAlt: "Side view woman making video calls with laptop",
|
||||
},
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/side-view-woman-making-video-calls-with-laptop_23-2150711942.jpg", imageAlt: "Side view woman making video calls with laptop"},
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/side-view-woman-wearing-earphones_23-2149486926.jpg",
|
||||
imageAlt: "Side view woman wearing earphones",
|
||||
},
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/side-view-woman-wearing-earphones_23-2149486926.jpg", imageAlt: "Side view woman wearing earphones"},
|
||||
]}
|
||||
rightCarouselItems={[
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/minimal-tech-setup-with-earbuds_58702-17254.jpg",
|
||||
imageAlt: "Minimal Tech Setup with Earbuds",
|
||||
},
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/minimal-tech-setup-with-earbuds_58702-17254.jpg", imageAlt: "Minimal Tech Setup with Earbuds"},
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/high-angle-arrangement-with-watch-earphones_23-2148847743.jpg",
|
||||
imageAlt: "High angle arrangement with watch and earphones",
|
||||
},
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/high-angle-arrangement-with-watch-earphones_23-2148847743.jpg", imageAlt: "High angle arrangement with watch and earphones"},
|
||||
]}
|
||||
tag="Unleash Potential"
|
||||
tagIcon={Sparkles}
|
||||
buttons={[
|
||||
{
|
||||
text: "Shop Collections",
|
||||
href: "#products",
|
||||
},
|
||||
text: "Shop Collections", href: "#products"},
|
||||
{
|
||||
text: "Learn More",
|
||||
href: "#about",
|
||||
},
|
||||
text: "Learn More", href: "#about"},
|
||||
]}
|
||||
avatars={[
|
||||
{
|
||||
src: "http://img.b2bpic.net/free-photo/ambitious-smiling-corporate-woman-suit-showing-thumbs-up-recommending-something-good-standing-white-background_176420-50395.jpg",
|
||||
alt: "Sarah J.",
|
||||
},
|
||||
src: "http://img.b2bpic.net/free-photo/ambitious-smiling-corporate-woman-suit-showing-thumbs-up-recommending-something-good-standing-white-background_176420-50395.jpg", alt: "Sarah J."},
|
||||
{
|
||||
src: "http://img.b2bpic.net/free-photo/close-up-portrait-young-man-man-laughs-sly-smile_1321-3788.jpg",
|
||||
alt: "Michael C.",
|
||||
},
|
||||
src: "http://img.b2bpic.net/free-photo/close-up-portrait-young-man-man-laughs-sly-smile_1321-3788.jpg", alt: "Michael C."},
|
||||
{
|
||||
src: "http://img.b2bpic.net/free-photo/portrait-joyful-girl-pink-pantsuit-sitting-chair-happily-talking-her-phone-while-looking-camera-with-clothes-racks-background-fashion-boutique_574295-3546.jpg",
|
||||
alt: "Emily R.",
|
||||
},
|
||||
src: "http://img.b2bpic.net/free-photo/portrait-joyful-girl-pink-pantsuit-sitting-chair-happily-talking-her-phone-while-looking-camera-with-clothes-racks-background-fashion-boutique_574295-3546.jpg", alt: "Emily R."},
|
||||
]}
|
||||
avatarText="Join 100K+ Happy Customers"
|
||||
/>
|
||||
@@ -112,45 +88,15 @@ export default function LandingPage() {
|
||||
tag="Our Impact"
|
||||
metrics={[
|
||||
{
|
||||
id: "m1",
|
||||
value: "99%",
|
||||
title: "Customer Satisfaction",
|
||||
description: "Our users consistently rate us highly for product quality and service.",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/still-life-tech-device_23-2150722602.jpg",
|
||||
imageAlt: "Still life of tech device",
|
||||
},
|
||||
id: "m1", value: "99%", title: "Customer Satisfaction", description: "Our users consistently rate us highly for product quality and service.", imageSrc: "http://img.b2bpic.net/free-photo/still-life-tech-device_23-2150722602.jpg", imageAlt: "Still life of tech device"},
|
||||
{
|
||||
id: "m2",
|
||||
value: "24/7",
|
||||
title: "Dedicated Support",
|
||||
description: "Always here to help you with any questions or issues.",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/headphones-near-vinyl-disc-with-fingerprint_23-2147781811.jpg",
|
||||
imageAlt: "Headphones near vinyl disc with fingerprint",
|
||||
},
|
||||
id: "m2", value: "24/7", title: "Dedicated Support", description: "Always here to help you with any questions or issues.", imageSrc: "http://img.b2bpic.net/free-photo/headphones-near-vinyl-disc-with-fingerprint_23-2147781811.jpg", imageAlt: "Headphones near vinyl disc with fingerprint"},
|
||||
{
|
||||
id: "m3",
|
||||
value: "500+",
|
||||
title: "Products Curated",
|
||||
description: "A vast and growing selection of premium Apple accessories.",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/still-life-tech-device_23-2150722621.jpg",
|
||||
imageAlt: "Still life of tech device",
|
||||
},
|
||||
id: "m3", value: "500+", title: "Products Curated", description: "A vast and growing selection of premium Apple accessories.", imageSrc: "http://img.b2bpic.net/free-photo/still-life-tech-device_23-2150722621.jpg", imageAlt: "Still life of tech device"},
|
||||
{
|
||||
id: "m4",
|
||||
value: "1M+",
|
||||
title: "Devices Protected",
|
||||
description: "Ensuring the longevity and safety of your Apple gear.",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/square-music-speaker-control-knobs-closeup-details_169016-51505.jpg",
|
||||
imageAlt: "Square music speaker control knobs closeup details",
|
||||
},
|
||||
id: "m4", value: "1M+", title: "Devices Protected", description: "Ensuring the longevity and safety of your Apple gear.", imageSrc: "http://img.b2bpic.net/free-photo/square-music-speaker-control-knobs-closeup-details_169016-51505.jpg", imageAlt: "Square music speaker control knobs closeup details"},
|
||||
{
|
||||
id: "m5",
|
||||
value: "Top Rated",
|
||||
title: "Industry Recognition",
|
||||
description: "Consistently praised by tech enthusiasts and review sites.",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/young-woman-exercising-outdoor-woman-sports-clothing-resting-steps_329181-11132.jpg",
|
||||
imageAlt: "Young woman exercising outdoor.",
|
||||
},
|
||||
id: "m5", value: "Top Rated", title: "Industry Recognition", description: "Consistently praised by tech enthusiasts and review sites.", imageSrc: "http://img.b2bpic.net/free-photo/young-woman-exercising-outdoor-woman-sports-clothing-resting-steps_329181-11132.jpg", imageAlt: "Young woman exercising outdoor."},
|
||||
]}
|
||||
/>
|
||||
</div>
|
||||
@@ -165,62 +111,30 @@ export default function LandingPage() {
|
||||
tag="Our Services"
|
||||
plans={[
|
||||
{
|
||||
id: "plan-basic",
|
||||
badge: "Basic",
|
||||
price: "$5/month",
|
||||
subtitle: "Essential Protection",
|
||||
buttons: [
|
||||
id: "plan-basic", badge: "Basic", price: "$5/month", subtitle: "Essential Protection", buttons: [
|
||||
{
|
||||
text: "Get Started",
|
||||
href: "#",
|
||||
},
|
||||
text: "Get Started", href: "#"},
|
||||
],
|
||||
features: [
|
||||
"Standard Warranty Extension",
|
||||
"Accessory Discount (5%)",
|
||||
"Email Support",
|
||||
],
|
||||
"Standard Warranty Extension", "Accessory Discount (5%)", "Email Support"],
|
||||
},
|
||||
{
|
||||
id: "plan-pro",
|
||||
badge: "Pro",
|
||||
badgeIcon: Star,
|
||||
price: "$15/month",
|
||||
subtitle: "Advanced Coverage",
|
||||
buttons: [
|
||||
id: "plan-pro", badge: "Pro", badgeIcon={Star},
|
||||
price: "$15/month", subtitle: "Advanced Coverage", buttons: [
|
||||
{
|
||||
text: "Choose Pro",
|
||||
href: "#",
|
||||
},
|
||||
text: "Choose Pro", href: "#"},
|
||||
],
|
||||
features: [
|
||||
"Extended Warranty (2 years)",
|
||||
"Accessory Discount (15%)",
|
||||
"Priority Email & Chat Support",
|
||||
"Accidental Damage Protection",
|
||||
"Early Access to New Products",
|
||||
],
|
||||
"Extended Warranty (2 years)", "Accessory Discount (15%)", "Priority Email & Chat Support", "Accidental Damage Protection", "Early Access to New Products"],
|
||||
},
|
||||
{
|
||||
id: "plan-premium",
|
||||
badge: "Premium",
|
||||
badgeIcon: Crown,
|
||||
price: "$25/month",
|
||||
subtitle: "Ultimate Experience",
|
||||
buttons: [
|
||||
id: "plan-premium", badge: "Premium", badgeIcon={Crown},
|
||||
price: "$25/month", subtitle: "Ultimate Experience", buttons: [
|
||||
{
|
||||
text: "Go Premium",
|
||||
href: "#",
|
||||
},
|
||||
text: "Go Premium", href: "#"},
|
||||
],
|
||||
features: [
|
||||
"Lifetime Warranty",
|
||||
"Accessory Discount (25%)",
|
||||
"24/7 Phone & VIP Support",
|
||||
"Enhanced Accidental Damage",
|
||||
"Exclusive Product Previews",
|
||||
"Free Expedited Shipping",
|
||||
],
|
||||
"Lifetime Warranty", "Accessory Discount (25%)", "24/7 Phone & VIP Support", "Enhanced Accidental Damage", "Exclusive Product Previews", "Free Expedited Shipping"],
|
||||
},
|
||||
]}
|
||||
/>
|
||||
@@ -229,40 +143,24 @@ export default function LandingPage() {
|
||||
<div id="faq" data-section="faq">
|
||||
<FaqSplitText
|
||||
useInvertedBackground={false}
|
||||
faqsAnimation="slide-up"
|
||||
faqs={[
|
||||
{
|
||||
id: "faq4",
|
||||
title: "How do I track my order?",
|
||||
content: "Once your order ships, you will receive an email with a tracking number and a link to monitor its progress.",
|
||||
},
|
||||
id: "faq4", title: "How do I track my order?", content: "Once your order ships, you will receive an email with a tracking number and a link to monitor its progress."},
|
||||
{
|
||||
id: "faq5",
|
||||
title: "Can I modify my order after it's placed?",
|
||||
content: "To modify an order, please contact customer support immediately. Modifications may not be possible if the order has already been processed for shipping.",
|
||||
},
|
||||
id: "faq5", title: "Can I modify my order after it's placed?", content: "To modify an order, please contact customer support immediately. Modifications may not be possible if the order has already been processed for shipping."},
|
||||
{
|
||||
id: "faq6",
|
||||
title: "Are your accessories genuine Apple products?",
|
||||
content: "Dune Dragon sells both official Apple accessories and high-quality third-party products that meet Apple's compatibility standards. Each product description specifies its brand.",
|
||||
},
|
||||
id: "faq6", title: "Are your accessories genuine Apple products?", content: "Dune Dragon sells both official Apple accessories and high-quality third-party products that meet Apple's compatibility standards. Each product description specifies its brand."},
|
||||
{
|
||||
id: "faq7",
|
||||
title: "Do you offer international shipping?",
|
||||
content: "Yes, we offer worldwide shipping. Please note that international orders may be subject to customs duties and taxes.",
|
||||
},
|
||||
id: "faq7", title: "Do you offer international shipping?", content: "Yes, we offer worldwide shipping. Please note that international orders may be subject to customs duties and taxes."},
|
||||
{
|
||||
id: "faq8",
|
||||
title: "What if my product arrives damaged?",
|
||||
content: "In the rare event of a damaged product, please contact our support team within 48 hours of delivery for a replacement or refund.",
|
||||
},
|
||||
id: "faq8", title: "What if my product arrives damaged?", content: "In the rare event of a damaged product, please contact our support team within 48 hours of delivery for a replacement or refund."},
|
||||
]}
|
||||
sideTitle="Your Questions, Answered"
|
||||
sideDescription="Find quick solutions and detailed information regarding your purchases, shipping, and products."
|
||||
buttons={[
|
||||
{
|
||||
text: "Contact Support",
|
||||
href: "/checkout",
|
||||
},
|
||||
text: "Contact Support", href: "/checkout"},
|
||||
]}
|
||||
/>
|
||||
</div>
|
||||
@@ -271,8 +169,7 @@ export default function LandingPage() {
|
||||
<ContactSplit
|
||||
useInvertedBackground={false}
|
||||
background={{
|
||||
variant: "plain",
|
||||
}}
|
||||
variant: "plain"}}
|
||||
tag="Get in Touch"
|
||||
title="Have Questions?"
|
||||
description="Our friendly support team is here to assist you with any inquiries about our products or your order."
|
||||
|
||||
Reference in New Issue
Block a user