Merge version_3 into main #5

Open
bender wants to merge 2 commits from version_3 into main
2 changed files with 31 additions and 44 deletions

View File

@@ -1,49 +1,24 @@
import type { Metadata } from "next";
import { Source_Sans_3 } from "next/font/google";
import { Inter } from "next/font/google";
import "./globals.css";
import { ServiceWrapper } from "@/components/ServiceWrapper";
import Tag from "@/tag/Tag";
import "./styles/variables.css";
import "./styles/base.css";
const sourceSans3 = Source_Sans_3({
variable: "--font-source-sans-3",
subsets: ["latin"],
});
const inter = Inter({ subsets: ["latin"] });
export const metadata: Metadata = {
title: "mmart - Premium Online Shopping Platform",
description: "Shop thousands of premium products with fast shipping, secure payments, and 24/7 customer support. Join 500K+ happy customers at mmart.",
keywords: "online shopping, ecommerce, products, buy online, shopping platform, retail",
metadataBase: new URL("https://mmart.example.com"),
alternates: {
canonical: "https://mmart.example.com",
},
openGraph: {
title: "mmart - Premium Online Shopping",
description: "Discover curated products, exclusive deals, and seamless shopping experience.",
siteName: "mmart",
type: "website",
},
twitter: {
card: "summary_large_image",
title: "mmart - Shop Premium Products",
description: "Fast shipping, secure payments, 24/7 support",
},
};
title: "mmart - Premium Online Shopping", description: "Discover an extensive collection of premium products curated just for you. Shop with confidence and enjoy seamless checkout experiences."};
export default function RootLayout({
children,
}: Readonly<{
}: {
children: React.ReactNode;
}>) {
}) {
return (
<html lang="en" suppressHydrationWarning>
<ServiceWrapper>
<body
className={`${sourceSans3.variable} antialiased`}
>
<Tag />
{children}
<html lang="en">
<body className={inter.className}>
{children}
<script
dangerouslySetInnerHTML={{
__html: `
@@ -1411,7 +1386,6 @@ export default function RootLayout({
}}
/>
</body>
</ServiceWrapper>
</html>
);
}
}

View File

@@ -11,7 +11,7 @@ import PricingCardEight from "@/components/sections/pricing/PricingCardEight";
import SocialProofOne from "@/components/sections/socialProof/SocialProofOne";
import ContactSplit from "@/components/sections/contact/ContactSplit";
import FooterSimple from "@/components/sections/footer/FooterSimple";
import { Sparkles, Award, Zap, Heart, Shield, Mail, Package, Crown } from "lucide-react";
import { Sparkles, Award, Zap, Heart, Shield, Mail, Package, Crown, ShoppingCart } from "lucide-react";
export default function HomePage() {
const navItems = [
@@ -118,13 +118,26 @@ export default function HomePage() {
tagAnimation="slide-up"
products={[
{
id: "1", name: "Premium Wireless Headphones", price: "$129.99", imageSrc: "http://img.b2bpic.net/free-photo/woman-holding-cup-store-concept-choosing-dishes_169016-23448.jpg", imageAlt: "premium product high quality item featured merchandise best seller product highlight"},
id: "1", name: "Premium Wireless Headphones", price: "$129.99", imageSrc: "http://img.b2bpic.net/free-photo/woman-holding-cup-store-concept-choosing-dishes_169016-23448.jpg", imageAlt: "premium product high quality item featured merchandise best seller product highlight", onProductClick: () => {
// Handle add to cart or product details
console.log("Product clicked: Premium Wireless Headphones");
},
},
{
id: "2", name: "Ultra-Slim Smartwatch", price: "$199.99", imageSrc: "http://img.b2bpic.net/free-photo/beautiful-woman-with-black-friday-shopping-bag_23-2148313165.jpg", imageAlt: "exclusive product trending item popular merchandise customer favorite top rated"},
id: "2", name: "Ultra-Slim Smartwatch", price: "$199.99", imageSrc: "http://img.b2bpic.net/free-photo/beautiful-woman-with-black-friday-shopping-bag_23-2148313165.jpg", imageAlt: "exclusive product trending item popular merchandise customer favorite top rated", onProductClick: () => {
console.log("Product clicked: Ultra-Slim Smartwatch");
},
},
{
id: "3", name: "4K Action Camera", price: "$349.99", imageSrc: "http://img.b2bpic.net/free-vector/products-badges-collection-flat-style_23-2147537001.jpg", imageAlt: "quality goods bestseller popular product customer choice recommended item"},
id: "3", name: "4K Action Camera", price: "$349.99", imageSrc: "http://img.b2bpic.net/free-vector/products-badges-collection-flat-style_23-2147537001.jpg", imageAlt: "quality goods bestseller popular product customer choice recommended item", onProductClick: () => {
console.log("Product clicked: 4K Action Camera");
},
},
{
id: "4", name: "Portable Charger Pro", price: "$79.99", imageSrc: "http://img.b2bpic.net/free-photo/happy-father-s-day-composition-father-s-day-top-view_185193-109773.jpg", imageAlt: "limited edition special product unique item exclusive merchandise featured collection"},
id: "4", name: "Portable Charger Pro", price: "$79.99", imageSrc: "http://img.b2bpic.net/free-photo/happy-father-s-day-composition-father-s-day-top-view_185193-109773.jpg", imageAlt: "limited edition special product unique item exclusive merchandise featured collection", onProductClick: () => {
console.log("Product clicked: Portable Charger Pro");
},
},
]}
gridVariant="bento-grid"
animationType="slide-up"
@@ -270,4 +283,4 @@ export default function HomePage() {
</div>
</ThemeProvider>
);
}
}