Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 1617ff9fa4 | |||
| 1dc4a8a045 | |||
| e090c4beae |
@@ -7,41 +7,27 @@ import { ServiceWrapper } from "@/components/ServiceWrapper";
|
||||
import Tag from "@/tag/Tag";
|
||||
|
||||
const halant = Halant({
|
||||
variable: "--font-halant",
|
||||
subsets: ["latin"],
|
||||
variable: "--font-halant", subsets: ["latin"],
|
||||
weight: ["300", "400", "500", "600", "700"],
|
||||
});
|
||||
|
||||
const inter = Inter({
|
||||
variable: "--font-inter",
|
||||
subsets: ["latin"],
|
||||
variable: "--font-inter", subsets: ["latin"],
|
||||
});
|
||||
|
||||
const roboto = Roboto({
|
||||
variable: "--font-roboto",
|
||||
subsets: ["latin"],
|
||||
variable: "--font-roboto", subsets: ["latin"],
|
||||
weight: ["100", "300", "400", "500", "700", "900"],
|
||||
});
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "Nexora - Premium Smart Home Gadgets for Modern Living",
|
||||
description: "Discover smart home solutions that save time, enhance convenience, and improve your lifestyle. Premium gadgets with free shipping, 30-day guarantee, and 24/7 support.",
|
||||
keywords: "smart home gadgets, home automation, smart devices, IoT solutions, premium smart home",
|
||||
metadataBase: new URL("https://nexora.com"),
|
||||
title: "Nexora - Premium Smart Home Gadgets for Modern Living", description: "Discover smart home solutions that save time, enhance convenience, and improve your lifestyle. Premium gadgets with free shipping, 30-day guarantee, and 24/7 support.", keywords: "smart home gadgets, home automation, smart devices, IoT solutions, premium smart home", metadataBase: new URL("https://nexora.com"),
|
||||
alternates: {
|
||||
canonical: "https://nexora.com",
|
||||
},
|
||||
canonical: "https://nexora.com"},
|
||||
openGraph: {
|
||||
title: "Nexora - Smart Solutions for Everyday Living",
|
||||
description: "Transform your home with premium smart gadgets designed for convenience and efficiency.",
|
||||
siteName: "Nexora",
|
||||
type: "website",
|
||||
},
|
||||
title: "Nexora - Smart Solutions for Everyday Living", description: "Transform your home with premium smart gadgets designed for convenience and efficiency.", siteName: "Nexora", type: "website"},
|
||||
twitter: {
|
||||
card: "summary_large_image",
|
||||
title: "Nexora - Smart Home Gadgets",
|
||||
description: "Premium smart home solutions with free shipping and 30-day guarantee.",
|
||||
},
|
||||
card: "summary_large_image", title: "Nexora - Smart Home Gadgets", description: "Premium smart home solutions with free shipping and 30-day guarantee."},
|
||||
robots: {
|
||||
index: true,
|
||||
follow: true,
|
||||
@@ -1432,4 +1418,4 @@ export default function RootLayout({
|
||||
</ServiceWrapper>
|
||||
</html>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
157
src/app/page.tsx
157
src/app/page.tsx
@@ -15,6 +15,10 @@ import Link from "next/link";
|
||||
import { Truck, RotateCcw, Lock, Headphones, Sparkles, Shield, Zap, Award, Star } from "lucide-react";
|
||||
|
||||
export default function HomePage() {
|
||||
const handleProductClick = (productId: string, productName: string) => {
|
||||
window.location.href = `/product/${productId}`;
|
||||
};
|
||||
|
||||
return (
|
||||
<ThemeProvider
|
||||
defaultButtonVariant="bounce-effect"
|
||||
@@ -38,9 +42,7 @@ export default function HomePage() {
|
||||
{ name: "Contact", id: "/contact" },
|
||||
]}
|
||||
button={{
|
||||
text: "Cart",
|
||||
href: "#cart",
|
||||
}}
|
||||
text: "Cart", href: "#cart"}}
|
||||
animateOnLoad={true}
|
||||
/>
|
||||
</div>
|
||||
@@ -70,46 +72,22 @@ export default function HomePage() {
|
||||
tagIcon={Sparkles}
|
||||
products={[
|
||||
{
|
||||
id: "1",
|
||||
name: "Smart Motion Sensor",
|
||||
price: "$79.99",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/white-wireless-earbuds-with-case_53876-96327.jpg?_wi=1",
|
||||
imageAlt: "Smart Motion Sensor",
|
||||
id: "1", name: "Smart Motion Sensor", price: "$79.99", imageSrc: "http://img.b2bpic.net/free-photo/white-wireless-earbuds-with-case_53876-96327.jpg?_wi=1", imageAlt: "Smart Motion Sensor", onProductClick: () => handleProductClick("1", "Smart Motion Sensor"),
|
||||
},
|
||||
{
|
||||
id: "2",
|
||||
name: "Eco Smart Thermostat",
|
||||
price: "$129.99",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/top-view-virtual-reality-headset-white-headphones_23-2148912739.jpg?_wi=1",
|
||||
imageAlt: "Eco Smart Thermostat",
|
||||
id: "2", name: "Eco Smart Thermostat", price: "$129.99", imageSrc: "http://img.b2bpic.net/free-photo/top-view-virtual-reality-headset-white-headphones_23-2148912739.jpg?_wi=1", imageAlt: "Eco Smart Thermostat", onProductClick: () => handleProductClick("2", "Eco Smart Thermostat"),
|
||||
},
|
||||
{
|
||||
id: "3",
|
||||
name: "Voice Control Hub",
|
||||
price: "$99.99",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/composition-tablet-with-home-automation-app_23-2149036813.jpg?_wi=1",
|
||||
imageAlt: "Voice Control Hub",
|
||||
id: "3", name: "Voice Control Hub", price: "$99.99", imageSrc: "http://img.b2bpic.net/free-photo/composition-tablet-with-home-automation-app_23-2149036813.jpg?_wi=1", imageAlt: "Voice Control Hub", onProductClick: () => handleProductClick("3", "Voice Control Hub"),
|
||||
},
|
||||
{
|
||||
id: "4",
|
||||
name: "Smart Lighting Strip",
|
||||
price: "$49.99",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/female-couch-holding-her-phone-mug-sitting-front-table-with-gadgets_181624-56360.jpg?_wi=1",
|
||||
imageAlt: "Smart Lighting Strip",
|
||||
id: "4", name: "Smart Lighting Strip", price: "$49.99", imageSrc: "http://img.b2bpic.net/free-photo/female-couch-holding-her-phone-mug-sitting-front-table-with-gadgets_181624-56360.jpg?_wi=1", imageAlt: "Smart Lighting Strip", onProductClick: () => handleProductClick("4", "Smart Lighting Strip"),
|
||||
},
|
||||
{
|
||||
id: "5",
|
||||
name: "AI Security Camera",
|
||||
price: "$149.99",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/female-couch-holding-her-phone-mug-sitting-front-table-with-gadgets_181624-56360.jpg?_wi=2",
|
||||
imageAlt: "AI Security Camera",
|
||||
id: "5", name: "AI Security Camera", price: "$149.99", imageSrc: "http://img.b2bpic.net/free-photo/female-couch-holding-her-phone-mug-sitting-front-table-with-gadgets_181624-56360.jpg?_wi=2", imageAlt: "AI Security Camera", onProductClick: () => handleProductClick("5", "AI Security Camera"),
|
||||
},
|
||||
{
|
||||
id: "6",
|
||||
name: "Smart Door Lock",
|
||||
price: "$189.99",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/devices-arrangement-table_23-2148994216.jpg?_wi=1",
|
||||
imageAlt: "Smart Door Lock",
|
||||
id: "6", name: "Smart Door Lock", price: "$189.99", imageSrc: "http://img.b2bpic.net/free-photo/devices-arrangement-table_23-2148994216.jpg?_wi=1", imageAlt: "Smart Door Lock", onProductClick: () => handleProductClick("6", "Smart Door Lock"),
|
||||
},
|
||||
]}
|
||||
gridVariant="three-columns-all-equal-width"
|
||||
@@ -127,24 +105,16 @@ export default function HomePage() {
|
||||
tagIcon={Shield}
|
||||
bulletPoints={[
|
||||
{
|
||||
title: "Free Shipping",
|
||||
description: "Complimentary shipping on all orders across the entire range of smart home gadgets.",
|
||||
icon: Truck,
|
||||
title: "Free Shipping", description: "Complimentary shipping on all orders across the entire range of smart home gadgets.", icon: Truck,
|
||||
},
|
||||
{
|
||||
title: "30-Day Money Back",
|
||||
description: "Full refund guarantee if you're not completely satisfied with your purchase.",
|
||||
icon: RotateCcw,
|
||||
title: "30-Day Money Back", description: "Full refund guarantee if you're not completely satisfied with your purchase.", icon: RotateCcw,
|
||||
},
|
||||
{
|
||||
title: "Secure Checkout",
|
||||
description: "Bank-level encryption and trusted payment processing for your peace of mind.",
|
||||
icon: Lock,
|
||||
title: "Secure Checkout", description: "Bank-level encryption and trusted payment processing for your peace of mind.", icon: Lock,
|
||||
},
|
||||
{
|
||||
title: "24/7 Support",
|
||||
description: "Dedicated customer support team ready to help you anytime, day or night.",
|
||||
icon: Headphones,
|
||||
title: "24/7 Support", description: "Dedicated customer support team ready to help you anytime, day or night.", icon: Headphones,
|
||||
},
|
||||
]}
|
||||
imageSrc="http://img.b2bpic.net/free-photo/white-wireless-earbuds-with-case_53876-96327.jpg?_wi=2"
|
||||
@@ -165,28 +135,16 @@ export default function HomePage() {
|
||||
features={[
|
||||
{
|
||||
id: 1,
|
||||
title: "Save Time Daily",
|
||||
description: "Automate routine tasks and reclaim hours every week with intelligent home automation.",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/top-view-virtual-reality-headset-white-headphones_23-2148912739.jpg?_wi=2",
|
||||
},
|
||||
title: "Save Time Daily", description: "Automate routine tasks and reclaim hours every week with intelligent home automation.", imageSrc: "http://img.b2bpic.net/free-photo/top-view-virtual-reality-headset-white-headphones_23-2148912739.jpg?_wi=2"},
|
||||
{
|
||||
id: 2,
|
||||
title: "Enhance Convenience",
|
||||
description: "Control everything from your smartphone or voice commands for seamless living.",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/composition-tablet-with-home-automation-app_23-2149036813.jpg?_wi=2",
|
||||
},
|
||||
title: "Enhance Convenience", description: "Control everything from your smartphone or voice commands for seamless living.", imageSrc: "http://img.b2bpic.net/free-photo/composition-tablet-with-home-automation-app_23-2149036813.jpg?_wi=2"},
|
||||
{
|
||||
id: 3,
|
||||
title: "Improve Security",
|
||||
description: "Monitor and protect your home 24/7 with advanced smart security solutions.",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/female-couch-holding-her-phone-mug-sitting-front-table-with-gadgets_181624-56360.jpg?_wi=3",
|
||||
},
|
||||
title: "Improve Security", description: "Monitor and protect your home 24/7 with advanced smart security solutions.", imageSrc: "http://img.b2bpic.net/free-photo/female-couch-holding-her-phone-mug-sitting-front-table-with-gadgets_181624-56360.jpg?_wi=3"},
|
||||
{
|
||||
id: 4,
|
||||
title: "Reduce Energy Costs",
|
||||
description: "Optimize energy consumption and lower your bills with intelligent climate control.",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/female-couch-holding-her-phone-mug-sitting-front-table-with-gadgets_181624-56360.jpg?_wi=4",
|
||||
},
|
||||
title: "Reduce Energy Costs", description: "Optimize energy consumption and lower your bills with intelligent climate control.", imageSrc: "http://img.b2bpic.net/free-photo/female-couch-holding-her-phone-mug-sitting-front-table-with-gadgets_181624-56360.jpg?_wi=4"},
|
||||
]}
|
||||
textboxLayout="default"
|
||||
useInvertedBackground={false}
|
||||
@@ -201,15 +159,7 @@ export default function HomePage() {
|
||||
tag="Industry Leaders"
|
||||
tagIcon={Award}
|
||||
names={[
|
||||
"TechFlow",
|
||||
"SmartLiving Co",
|
||||
"InnovateTech",
|
||||
"CloudSync",
|
||||
"NextGen Solutions",
|
||||
"Digital Homes",
|
||||
"Future Living",
|
||||
"Smart Innovations",
|
||||
]}
|
||||
"TechFlow", "SmartLiving Co", "InnovateTech", "CloudSync", "NextGen Solutions", "Digital Homes", "Future Living", "Smart Innovations"]}
|
||||
textboxLayout="default"
|
||||
useInvertedBackground={false}
|
||||
speed={40}
|
||||
@@ -221,41 +171,17 @@ export default function HomePage() {
|
||||
<TestimonialCardTwelve
|
||||
testimonials={[
|
||||
{
|
||||
id: "1",
|
||||
name: "Sarah Chen",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/positive-confident-businesswoman-wearing-formal-suit-standing-with-arms-folded_74855-10328.jpg",
|
||||
imageAlt: "Sarah Chen",
|
||||
},
|
||||
id: "1", name: "Sarah Chen", imageSrc: "http://img.b2bpic.net/free-photo/positive-confident-businesswoman-wearing-formal-suit-standing-with-arms-folded_74855-10328.jpg", imageAlt: "Sarah Chen"},
|
||||
{
|
||||
id: "2",
|
||||
name: "Michael Rodriguez",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/portrait-businessman-conference-room-thinking-about-future_482257-25787.jpg",
|
||||
imageAlt: "Michael Rodriguez",
|
||||
},
|
||||
id: "2", name: "Michael Rodriguez", imageSrc: "http://img.b2bpic.net/free-photo/portrait-businessman-conference-room-thinking-about-future_482257-25787.jpg", imageAlt: "Michael Rodriguez"},
|
||||
{
|
||||
id: "3",
|
||||
name: "Emma Johnson",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/happy-young-professional-posing-office_1262-21170.jpg",
|
||||
imageAlt: "Emma Johnson",
|
||||
},
|
||||
id: "3", name: "Emma Johnson", imageSrc: "http://img.b2bpic.net/free-photo/happy-young-professional-posing-office_1262-21170.jpg", imageAlt: "Emma Johnson"},
|
||||
{
|
||||
id: "4",
|
||||
name: "David Thompson",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/close-up-portrait-young-handsome-successful-man_1163-5475.jpg",
|
||||
imageAlt: "David Thompson",
|
||||
},
|
||||
id: "4", name: "David Thompson", imageSrc: "http://img.b2bpic.net/free-photo/close-up-portrait-young-handsome-successful-man_1163-5475.jpg", imageAlt: "David Thompson"},
|
||||
{
|
||||
id: "5",
|
||||
name: "Jessica Martinez",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/close-up-portrait-young-bearded-man-white-shirt-jacket-posing-camera-with-broad-smile-isolated-gray_171337-629.jpg",
|
||||
imageAlt: "Jessica Martinez",
|
||||
},
|
||||
id: "5", name: "Jessica Martinez", imageSrc: "http://img.b2bpic.net/free-photo/close-up-portrait-young-bearded-man-white-shirt-jacket-posing-camera-with-broad-smile-isolated-gray_171337-629.jpg", imageAlt: "Jessica Martinez"},
|
||||
{
|
||||
id: "6",
|
||||
name: "James Wilson",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/happy-businessman-smiling-camera_1163-4660.jpg",
|
||||
imageAlt: "James Wilson",
|
||||
},
|
||||
id: "6", name: "James Wilson", imageSrc: "http://img.b2bpic.net/free-photo/happy-businessman-smiling-camera_1163-4660.jpg", imageAlt: "James Wilson"},
|
||||
]}
|
||||
cardTitle="Over 15,000 satisfied customers trust Nexora for premium smart home solutions"
|
||||
cardTag="Verified Reviews"
|
||||
@@ -281,25 +207,13 @@ export default function HomePage() {
|
||||
sideDescription="Have questions? We've got answers. Explore our comprehensive FAQ section."
|
||||
faqs={[
|
||||
{
|
||||
id: "1",
|
||||
title: "Are your products compatible with Shopify?",
|
||||
content: "Yes, all our smart home gadgets are fully compatible with Shopify. We support seamless integration with AutoDS for automated product importing, order fulfillment, and inventory syncing.",
|
||||
},
|
||||
id: "1", title: "Are your products compatible with Shopify?", content: "Yes, all our smart home gadgets are fully compatible with Shopify. We support seamless integration with AutoDS for automated product importing, order fulfillment, and inventory syncing."},
|
||||
{
|
||||
id: "2",
|
||||
title: "What is your return and refund policy?",
|
||||
content: "We offer a 30-day money-back guarantee on all purchases. If you're not completely satisfied, simply return the product for a full refund, no questions asked.",
|
||||
},
|
||||
id: "2", title: "What is your return and refund policy?", content: "We offer a 30-day money-back guarantee on all purchases. If you're not completely satisfied, simply return the product for a full refund, no questions asked."},
|
||||
{
|
||||
id: "3",
|
||||
title: "How long does shipping take?",
|
||||
content: "Standard shipping is free and typically takes 5-7 business days. We also offer expedited shipping options for faster delivery.",
|
||||
},
|
||||
id: "3", title: "How long does shipping take?", content: "Standard shipping is free and typically takes 5-7 business days. We also offer expedited shipping options for faster delivery."},
|
||||
{
|
||||
id: "4",
|
||||
title: "Do you provide technical support?",
|
||||
content: "Absolutely! Our 24/7 customer support team is available via email, chat, and phone to help with any technical questions or issues.",
|
||||
},
|
||||
id: "4", title: "Do you provide technical support?", content: "Absolutely! Our 24/7 customer support team is available via email, chat, and phone to help with any technical questions or issues."},
|
||||
]}
|
||||
faqsAnimation="slide-up"
|
||||
textPosition="left"
|
||||
@@ -312,8 +226,7 @@ export default function HomePage() {
|
||||
<FooterBaseReveal
|
||||
columns={[
|
||||
{
|
||||
title: "Shop",
|
||||
items: [
|
||||
title: "Shop", items: [
|
||||
{ label: "All Products", href: "/shop" },
|
||||
{ label: "Collections", href: "/collections" },
|
||||
{ label: "New Arrivals", href: "/shop?sort=newest" },
|
||||
@@ -321,8 +234,7 @@ export default function HomePage() {
|
||||
],
|
||||
},
|
||||
{
|
||||
title: "Company",
|
||||
items: [
|
||||
title: "Company", items: [
|
||||
{ label: "About Us", href: "/about" },
|
||||
{ label: "Contact", href: "/contact" },
|
||||
{ label: "Track Order", href: "/track-order" },
|
||||
@@ -330,8 +242,7 @@ export default function HomePage() {
|
||||
],
|
||||
},
|
||||
{
|
||||
title: "Legal",
|
||||
items: [
|
||||
title: "Legal", items: [
|
||||
{ label: "Privacy Policy", href: "/privacy-policy" },
|
||||
{ label: "Terms of Service", href: "/terms-of-service" },
|
||||
{ label: "Shipping Policy", href: "/shipping-policy" },
|
||||
@@ -344,4 +255,4 @@ export default function HomePage() {
|
||||
</div>
|
||||
</ThemeProvider>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user