diff --git a/src/app/page.tsx b/src/app/page.tsx index 26368c0..6603015 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -11,6 +11,15 @@ import FooterCard from '@/components/sections/footer/FooterCard'; import { Heart, Instagram, Mail, Sparkles, Star, Twitter, Linkedin } from 'lucide-react'; export default function LandingPage() { + const handleProductClick = (productId: string, productName: string) => { + console.log(`Navigating to product detail page for: ${productName}`); + window.location.href = `/products/${productId}`; + }; + + const handleFavorite = (productId: string) => { + console.log(`Toggled favorite for product: ${productId}`); + }; + return ( handleProductClick("1", "Minimalist Blazer"), onFavorite: () => handleFavorite("1"), isFavorited: false }, + { id: "2", name: "Urban Elegance Coat", price: "$349", imageSrc: "http://img.b2bpic.net/free-photo/portrait-young-beautiful-brunette-woman-girl-model-with-nude-makeup-summer-t-shirt-top-jeans-clothes-posing-near-wall_158538-9076.jpg?_wi=3", imageAlt: "Premium urban coat", onProductClick: () => handleProductClick("2", "Urban Elegance Coat"), onFavorite: () => handleFavorite("2"), isFavorited: false }, + { id: "3", name: "Signature Dress", price: "$279", imageSrc: "http://img.b2bpic.net/free-photo/beautiful-girl-stylish-white-suit-sits-white-cube-gallery_8353-10744.jpg?_wi=2", imageAlt: "Elegant signature dress", onProductClick: () => handleProductClick("3", "Signature Dress"), onFavorite: () => handleFavorite("3"), isFavorited: false } ]} /> @@ -146,4 +155,4 @@ export default function LandingPage() { ); -} \ No newline at end of file +}