Merge version_2 into main #2
@@ -13,6 +13,11 @@ import FooterMedia from "@/components/sections/footer/FooterMedia";
|
||||
import { Coffee, Leaf, Flame, Users, Sparkles, Heart, MessageSquare, Mail, Globe, MapPin } from "lucide-react";
|
||||
|
||||
export default function LandingPage() {
|
||||
const handleProductClick = (productId: string, productName: string) => {
|
||||
console.log(`Product clicked: ${productName} (ID: ${productId})`);
|
||||
window.location.href = `/products/${productId}`;
|
||||
};
|
||||
|
||||
return (
|
||||
<ThemeProvider
|
||||
defaultButtonVariant="directional-hover"
|
||||
@@ -108,9 +113,9 @@ export default function LandingPage() {
|
||||
tagIcon={Sparkles}
|
||||
tagAnimation="slide-up"
|
||||
products={[
|
||||
{ id: "1", name: "Classic Espresso", price: "$3.45", imageSrc: "http://img.b2bpic.net/free-photo/cup-coffee-table-grey-background_1220-7312.jpg", imageAlt: "Rich espresso shot" },
|
||||
{ id: "2", name: "Iced Cold Brew", price: "$4.25", imageSrc: "http://img.b2bpic.net/free-photo/cold-summer-coffee-drink-with-ice-orange-juice_169016-21399.jpg", imageAlt: "Refreshing iced coffee" },
|
||||
{ id: "3", name: "Silky Cappuccino", price: "$4.95", imageSrc: "http://img.b2bpic.net/free-photo/two-cappuccino-coffee-glasses-with-spoon-saucer-wooden-table_23-2147908377.jpg", imageAlt: "Creamy cappuccino" },
|
||||
{ id: "1", name: "Classic Espresso", price: "$3.45", imageSrc: "http://img.b2bpic.net/free-photo/cup-coffee-table-grey-background_1220-7312.jpg", imageAlt: "Rich espresso shot", onProductClick: () => handleProductClick("1", "Classic Espresso") },
|
||||
{ id: "2", name: "Iced Cold Brew", price: "$4.25", imageSrc: "http://img.b2bpic.net/free-photo/cold-summer-coffee-drink-with-ice-orange-juice_169016-21399.jpg", imageAlt: "Refreshing iced coffee", onProductClick: () => handleProductClick("2", "Iced Cold Brew") },
|
||||
{ id: "3", name: "Silky Cappuccino", price: "$4.95", imageSrc: "http://img.b2bpic.net/free-photo/two-cappuccino-coffee-glasses-with-spoon-saucer-wooden-table_23-2147908377.jpg", imageAlt: "Creamy cappuccino", onProductClick: () => handleProductClick("3", "Silky Cappuccino") },
|
||||
]}
|
||||
gridVariant="three-columns-all-equal-width"
|
||||
animationType="slide-up"
|
||||
|
||||
Reference in New Issue
Block a user