Merge version_2 into main #2
@@ -1,60 +1,43 @@
|
||||
import type { Metadata } from "next";
|
||||
import { Halant } from "next/font/google";
|
||||
import { Inter } from "next/font/google";
|
||||
import { Inter_Tight } from "next/font/google";
|
||||
import "./globals.css";
|
||||
import { ServiceWrapper } from "@/components/ServiceWrapper";
|
||||
import Tag from "@/tag/Tag";
|
||||
|
||||
const halant = Halant({
|
||||
variable: "--font-halant", subsets: ["latin"],
|
||||
weight: ["300", "400", "500", "600", "700"],
|
||||
});
|
||||
import { ServiceWrapper } from "@/components/service/ServiceWrapper";
|
||||
|
||||
const inter = Inter({
|
||||
variable: "--font-inter", subsets: ["latin"],
|
||||
});
|
||||
|
||||
const interTight = Inter_Tight({
|
||||
variable: "--font-inter-tight", subsets: ["latin"],
|
||||
weight: ["100", "200", "300", "400", "500", "600", "700", "800", "900"],
|
||||
});
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "HomeWare | Premium Kitchen & Home Accessories", description: "Discover premium kitchen and home accessories. Curated selection of quality cookware, dinnerware, and organizational solutions for modern living.", keywords: "kitchen accessories, home goods, cookware, dinnerware, kitchen tools, home decor, premium kitchenware", metadataBase: new URL("https://homeware.com"),
|
||||
alternates: {
|
||||
canonical: "https://homeware.com"
|
||||
},
|
||||
openGraph: {
|
||||
title: "HomeWare | Premium Kitchen & Home Accessories", description: "Elevate your kitchen and home with our curated collection of premium accessories. Quality, style, and functionality in every piece.", type: "website", siteName: "HomeWare", images: [
|
||||
{
|
||||
url: "http://img.b2bpic.net/free-photo/slice-bread-with-oil-bottle-against-white-wall_23-2147853746.jpg", alt: "HomeWare premium kitchen accessories"
|
||||
}
|
||||
]
|
||||
},
|
||||
twitter: {
|
||||
card: "summary_large_image", title: "HomeWare | Premium Kitchen & Home Accessories", description: "Discover premium kitchen and home accessories for modern living.", images: ["http://img.b2bpic.net/free-photo/slice-bread-with-oil-bottle-against-white-wall_23-2147853746.jpg"]
|
||||
},
|
||||
robots: {
|
||||
index: true,
|
||||
follow: true
|
||||
}
|
||||
};
|
||||
title: "HomeWare - Premium Kitchen & Home Accessories", description: "Discover our curated collection of premium kitchen and home accessories designed for modern living. Quality, style, and functionality in every piece."};
|
||||
|
||||
export default function RootLayout({
|
||||
children,
|
||||
}: Readonly<{
|
||||
}: {
|
||||
children: React.ReactNode;
|
||||
}>) {
|
||||
}) {
|
||||
return (
|
||||
<html lang="en" suppressHydrationWarning>
|
||||
<ServiceWrapper>
|
||||
<body
|
||||
className={`${halant.variable} ${inter.variable} ${interTight.variable} antialiased`}
|
||||
>
|
||||
<Tag />
|
||||
<head>
|
||||
<script
|
||||
dangerouslySetInnerHTML={{
|
||||
__html: `
|
||||
try {
|
||||
if (localStorage.getItem('theme') === 'dark' || (!('theme' in localStorage) && window.matchMedia('(prefers-color-scheme: dark)').matches)) {
|
||||
document.documentElement.classList.add('dark');
|
||||
} else {
|
||||
document.documentElement.classList.remove('dark');
|
||||
}
|
||||
} catch (e) {}
|
||||
`,
|
||||
}}
|
||||
/>
|
||||
</head>
|
||||
<body className={`${inter.variable} antialiased`}>
|
||||
<ServiceWrapper>
|
||||
{children}
|
||||
|
||||
</ServiceWrapper>
|
||||
|
||||
<script
|
||||
dangerouslySetInnerHTML={{
|
||||
__html: `
|
||||
@@ -1422,7 +1405,6 @@ export default function RootLayout({
|
||||
}}
|
||||
/>
|
||||
</body>
|
||||
</ServiceWrapper>
|
||||
</html>
|
||||
);
|
||||
}
|
||||
|
||||
@@ -7,11 +7,16 @@ import ProductCardFour from '@/components/sections/product/ProductCardFour';
|
||||
import TextSplitAbout from '@/components/sections/about/TextSplitAbout';
|
||||
import FeatureCardSix from '@/components/sections/feature/FeatureCardSix';
|
||||
import TestimonialCardThirteen from '@/components/sections/testimonial/TestimonialCardThirteen';
|
||||
import ContactSplit from '@/components/sections/contact/ContactSplit';
|
||||
import ContactSplitForm from '@/components/sections/contact/ContactSplitForm';
|
||||
import FooterBaseCard from '@/components/sections/footer/FooterBaseCard';
|
||||
import { Sparkles, Award, CheckCircle, Mail } from "lucide-react";
|
||||
import { Sparkles, Award, CheckCircle, Mail, MapPin, Phone } from "lucide-react";
|
||||
|
||||
export default function LandingPage() {
|
||||
const handleContactSubmit = (data: Record<string, string>) => {
|
||||
console.log('Contact form submitted:', data);
|
||||
// Handle form submission here
|
||||
};
|
||||
|
||||
return (
|
||||
<ThemeProvider
|
||||
defaultButtonVariant="text-stagger"
|
||||
@@ -183,21 +188,26 @@ export default function LandingPage() {
|
||||
</div>
|
||||
|
||||
<div id="contact" data-section="contact">
|
||||
<ContactSplit
|
||||
tag="Newsletter"
|
||||
tagIcon={Mail}
|
||||
tagAnimation="slide-up"
|
||||
title="Stay Updated"
|
||||
description="Subscribe to our newsletter and get exclusive offers, new product launches, and kitchen tips delivered to your inbox."
|
||||
background={{ variant: "animated-grid" }}
|
||||
<ContactSplitForm
|
||||
title="Get in Touch"
|
||||
description="Have a question about our products or need assistance? We'd love to hear from you. Fill out the form below and our team will get back to you within 24 hours."
|
||||
inputs={[
|
||||
{ name: "name", type: "text", placeholder: "Full Name", required: true },
|
||||
{ name: "email", type: "email", placeholder: "Email Address", required: true },
|
||||
{ name: "phone", type: "tel", placeholder: "Phone Number", required: false },
|
||||
{ name: "subject", type: "text", placeholder: "Subject", required: true }
|
||||
]}
|
||||
textarea={{
|
||||
name: "message", placeholder: "Tell us how we can help. We're here to assist with any questions about our products, orders, or services.", rows: 6,
|
||||
required: true
|
||||
}}
|
||||
useInvertedBackground={false}
|
||||
imageSrc="http://img.b2bpic.net/free-photo/woman-man-drinking-tea-watching-video-laptop_651396-2772.jpg"
|
||||
imageAlt="Modern kitchen lifestyle"
|
||||
imageAlt="HomeWare customer service"
|
||||
mediaAnimation="blur-reveal"
|
||||
mediaPosition="right"
|
||||
inputPlaceholder="Enter your email"
|
||||
buttonText="Subscribe"
|
||||
termsText="We respect your privacy. Unsubscribe anytime with one click."
|
||||
buttonText="Send Message"
|
||||
onSubmit={handleContactSubmit}
|
||||
/>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user