Merge version_3 into main #3

Open
bender wants to merge 4 commits from version_3 into main
2 changed files with 36 additions and 53 deletions

View File

@@ -1,58 +1,40 @@
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 "./styles/base.css";
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"],
});
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: "KitchenCraft | Premium Kitchen Tools & Cookware", description: "Discover premium culinary tools and cookware from KitchenCraft. Professional-grade kitchen equipment trusted by chefs worldwide. Shop now.", keywords: "kitchen tools, cookware, chef knives, premium kitchen equipment, culinary tools, cooking gear", metadataBase: new URL("https://kitchencraft.com"),
alternates: {
canonical: "https://kitchencraft.com"},
openGraph: {
title: "KitchenCraft | Premium Kitchen Tools & Cookware", description: "Discover premium culinary tools and cookware from KitchenCraft. Professional-grade kitchen equipment trusted by chefs worldwide.", url: "https://kitchencraft.com", siteName: "KitchenCraft", type: "website", images: [
{
url: "http://img.b2bpic.net/free-photo/front-view-man-cooking-home_23-2149943871.jpg", alt: "KitchenCraft Premium Kitchen Collection"},
],
},
twitter: {
card: "summary_large_image", title: "KitchenCraft | Premium Kitchen Tools & Cookware", description: "Professional-grade kitchen equipment trusted by chefs worldwide.", images: ["http://img.b2bpic.net/free-photo/front-view-man-cooking-home_23-2149943871.jpg"],
},
robots: {
index: true,
follow: true,
},
};
title: "KitchenCraft - Premium Culinary Tools & Cookware", description: "Premium culinary tools and cookware for passionate home chefs and professionals. Elevate your cooking experience with KitchenCraft."};
export default function RootLayout({
children,
}: Readonly<{
}: {
children: React.ReactNode;
}>) {
}) {
return (
<html lang="en" suppressHydrationWarning>
<ServiceWrapper>
<body
className={`${halant.variable} ${inter.variable} ${interTight.variable} antialiased`}
>
<body className={`${inter.variable}`}>
<ServiceWrapper>
<Tag />
{children}
</ServiceWrapper>
<script
dangerouslySetInnerHTML={{
__html: `
const setCssVariable = () => {
const vw = window.innerWidth / 100;
document.documentElement.style.setProperty('--vw', vw + 'px');
};
setCssVariable();
window.addEventListener('resize', setCssVariable);
`,
}}
/>
<script
dangerouslySetInnerHTML={{
__html: `
@@ -1420,7 +1402,14 @@ export default function RootLayout({
}}
/>
</body>
</ServiceWrapper>
</html>
);
}
function ServiceWrapper({ children }: { children: React.ReactNode }) {
return <>{children}</>;
}
function Tag() {
return null;
}

View File

@@ -175,8 +175,8 @@ export default function LandingPage() {
useInvertedBackground={false}
showCard={true}
speed={40}
names=[
"Michelin Guide", "Williams-Sonoma", "All-Clad", "Le Creuset", "Wüsthof", "KitchenAid", "Ninja Kitchen", "Dyson Kitchen"]
names={[
"Michelin Guide", "Williams-Sonoma", "All-Clad", "Le Creuset", "Wüsthof", "KitchenAid", "Ninja Kitchen", "Dyson Kitchen"]}
logos={[
"http://img.b2bpic.net/free-photo/front-view-delicious-food-arrangement_23-2148510887.jpg", "http://img.b2bpic.net/free-photo/front-view-chef-holding-delicious-food_23-2148510892.jpg", "http://img.b2bpic.net/free-photo/woman-mixing-hair-dye-bowl_23-2149167376.jpg", "http://img.b2bpic.net/free-vector/creative-restaurant-logo-template_23-2148466520.jpg", "http://img.b2bpic.net/free-photo/cook-cutting-red-tomato-board_23-2148040215.jpg", "http://img.b2bpic.net/free-vector/kitchen-utensils-icons-set_98292-1295.jpg", "http://img.b2bpic.net/free-vector/kitchen-badges_23-2147505720.jpg", "http://img.b2bpic.net/free-vector/cooking-utensils_24911-45049.jpg"]}
/>
@@ -191,23 +191,17 @@ export default function LandingPage() {
faqsAnimation="slide-up"
faqs={[
{
id: "1", title: "What warranty do your products come with?", content:
"All KitchenCraft products come with a minimum 1-year warranty. Professional and Elite collections include 2-year and lifetime warranties respectively. Warranty covers manufacturing defects and includes free replacement or repair."},
id: "1", title: "What warranty do your products come with?", content: "All KitchenCraft products come with a minimum 1-year warranty. Professional and Elite collections include 2-year and lifetime warranties respectively. Warranty covers manufacturing defects and includes free replacement or repair."},
{
id: "2", title: "How do I care for my kitchen tools?", content:
"Hand wash with warm soapy water immediately after use. Dry thoroughly with a soft cloth. For cutting boards, use food-grade mineral oil monthly. Store utensils in our recommended magnetic strips or knife blocks. Avoid dishwasher for premium items."},
id: "2", title: "How do I care for my kitchen tools?", content: "Hand wash with warm soapy water immediately after use. Dry thoroughly with a soft cloth. For cutting boards, use food-grade mineral oil monthly. Store utensils in our recommended magnetic strips or knife blocks. Avoid dishwasher for premium items."},
{
id: "3", title: "Do you offer international shipping?", content:
"Yes! We ship to over 150 countries worldwide. Standard international shipping typically takes 7-14 business days. Premium plans include free worldwide shipping. Customs and duties may apply depending on your location."},
id: "3", title: "Do you offer international shipping?", content: "Yes! We ship to over 150 countries worldwide. Standard international shipping typically takes 7-14 business days. Premium plans include free worldwide shipping. Customs and duties may apply depending on your location."},
{
id: "4", title: "Can I return products if I'm not satisfied?", content:
"Absolutely! We offer a 60-day money-back guarantee on all products. If you're not completely satisfied, simply contact our customer service team for a hassle-free return and full refund."},
id: "4", title: "Can I return products if I'm not satisfied?", content: "Absolutely! We offer a 60-day money-back guarantee on all products. If you're not completely satisfied, simply contact our customer service team for a hassle-free return and full refund."},
{
id: "5", title: "Are your products eco-friendly?", content:
"Yes, we're committed to sustainability. All our products use responsibly sourced materials. Packaging is 100% recyclable and biodegradable. We're carbon-neutral in our operations and support kitchen waste reduction initiatives."},
id: "5", title: "Are your products eco-friendly?", content: "Yes, we're committed to sustainability. All our products use responsibly sourced materials. Packaging is 100% recyclable and biodegradable. We're carbon-neutral in our operations and support kitchen waste reduction initiatives."},
{
id: "6", title: "Do professional chefs really use your products?", content:
"Yes! Our products are trusted by Michelin-starred chefs and professional kitchens worldwide. We partner with culinary schools and provide equipment to prestigious restaurants. Our testimonials feature real professional chefs."},
id: "6", title: "Do professional chefs really use your products?", content: "Yes! Our products are trusted by Michelin-starred chefs and professional kitchens worldwide. We partner with culinary schools and provide equipment to prestigious restaurants. Our testimonials feature real professional chefs."},
]}
/>
</div>