Merge version_2 into main #4
@@ -12,6 +12,17 @@ import FooterLogoReveal from "@/components/sections/footer/FooterLogoReveal";
|
||||
import { Award, CheckCircle, Handshake, Heart, MessageCircle, Package, Phone, Sparkles, Star, Zap } from "lucide-react";
|
||||
|
||||
export default function LandingPage() {
|
||||
const handleProductClick = (productId: string, productName: string) => {
|
||||
console.log(`Product clicked: ${productId} - ${productName}`);
|
||||
// Navigate to product detail page or open modal
|
||||
// Example: router.push(`/product/${productId}`);
|
||||
};
|
||||
|
||||
const handleProductFavorite = (productId: string) => {
|
||||
console.log(`Favorite toggled for product: ${productId}`);
|
||||
// Update favorite status in state/database
|
||||
};
|
||||
|
||||
return (
|
||||
<ThemeProvider
|
||||
defaultButtonVariant="expand-hover"
|
||||
@@ -109,16 +120,24 @@ export default function LandingPage() {
|
||||
useInvertedBackground={false}
|
||||
products={[
|
||||
{
|
||||
id: "product-1", name: "Oversized Hoodie Graphic", price: "€79,00", variant: "Nero • 5 Colori", imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-woman-wearing-black-hoodie_23-2149359800.jpg?_wi=1", imageAlt: "Oversized hoodie graphic", isFavorited: false
|
||||
id: "product-1", name: "Oversized Hoodie Graphic", price: "€79,00", variant: "Nero • 5 Colori", imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-woman-wearing-black-hoodie_23-2149359800.jpg?_wi=1", imageAlt: "Oversized hoodie graphic", isFavorited: false,
|
||||
onProductClick: () => handleProductClick("product-1", "Oversized Hoodie Graphic"),
|
||||
onFavorite: () => handleProductFavorite("product-1")
|
||||
},
|
||||
{
|
||||
id: "product-2", name: "Premium Tee Shirt", price: "€35,00", variant: "Bianco • 8 Colori", imageSrc: "http://img.b2bpic.net/free-photo/african-man_1303-4397.jpg?_wi=1", imageAlt: "Premium tee shirt", isFavorited: false
|
||||
id: "product-2", name: "Premium Tee Shirt", price: "€35,00", variant: "Bianco • 8 Colori", imageSrc: "http://img.b2bpic.net/free-photo/african-man_1303-4397.jpg?_wi=1", imageAlt: "Premium tee shirt", isFavorited: false,
|
||||
onProductClick: () => handleProductClick("product-2", "Premium Tee Shirt"),
|
||||
onFavorite: () => handleProductFavorite("product-2")
|
||||
},
|
||||
{
|
||||
id: "product-3", name: "Cargo Pants Urban", price: "€89,00", variant: "Caki • 3 Colori", imageSrc: "http://img.b2bpic.net/free-photo/neighborhood-lifestyle-friends_23-2149746742.jpg?_wi=1", imageAlt: "Cargo pants urban", isFavorited: false
|
||||
id: "product-3", name: "Cargo Pants Urban", price: "€89,00", variant: "Caki • 3 Colori", imageSrc: "http://img.b2bpic.net/free-photo/neighborhood-lifestyle-friends_23-2149746742.jpg?_wi=1", imageAlt: "Cargo pants urban", isFavorited: false,
|
||||
onProductClick: () => handleProductClick("product-3", "Cargo Pants Urban"),
|
||||
onFavorite: () => handleProductFavorite("product-3")
|
||||
},
|
||||
{
|
||||
id: "product-4", name: "Baseball Cap Classic", price: "€25,00", variant: "Nero • 4 Colori", imageSrc: "http://img.b2bpic.net/free-photo/close-up-portrait-pensive-bearded-arabian-male-wearing-checkered-shirt-sunglasses-cap_613910-19029.jpg?_wi=1", imageAlt: "Baseball cap classic", isFavorited: false
|
||||
id: "product-4", name: "Baseball Cap Classic", price: "€25,00", variant: "Nero • 4 Colori", imageSrc: "http://img.b2bpic.net/free-photo/close-up-portrait-pensive-bearded-arabian-male-wearing-checkered-shirt-sunglasses-cap_613910-19029.jpg?_wi=1", imageAlt: "Baseball cap classic", isFavorited: false,
|
||||
onProductClick: () => handleProductClick("product-4", "Baseball Cap Classic"),
|
||||
onFavorite: () => handleProductFavorite("product-4")
|
||||
}
|
||||
]}
|
||||
gridVariant="four-items-2x2-equal-grid"
|
||||
@@ -247,4 +266,4 @@ export default function LandingPage() {
|
||||
</div>
|
||||
</ThemeProvider>
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user