Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| a7d33aed39 | |||
| f76aaa6974 | |||
| 202371ea00 |
@@ -13,6 +13,11 @@ import FooterBaseReveal from '@/components/sections/footer/FooterBaseReveal';
|
|||||||
import { CheckCircle } from 'lucide-react';
|
import { CheckCircle } from 'lucide-react';
|
||||||
|
|
||||||
export default function LandingPage() {
|
export default function LandingPage() {
|
||||||
|
const handleProductClick = (productId: string, productName: string) => {
|
||||||
|
console.log(`Added to cart: ${productName}`);
|
||||||
|
alert(`${productName} added to cart!`);
|
||||||
|
};
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<ThemeProvider
|
<ThemeProvider
|
||||||
defaultButtonVariant="text-stagger"
|
defaultButtonVariant="text-stagger"
|
||||||
@@ -72,13 +77,13 @@ export default function LandingPage() {
|
|||||||
<ProductCardFour
|
<ProductCardFour
|
||||||
products={[
|
products={[
|
||||||
{
|
{
|
||||||
id: "1", name: "Mango Pickle", price: "$8.99", variant: "Golden • Tangy & Sweet", imageSrc: "http://img.b2bpic.net/free-photo/spoon-filled-with-exotic-fruit-jam_23-2148531703.jpg", imageAlt: "Homemade Mango Pickle"
|
id: "1", name: "Mango Pickle", price: "$8.99", variant: "Golden • Tangy & Sweet", imageSrc: "http://img.b2bpic.net/free-photo/spoon-filled-with-exotic-fruit-jam_23-2148531703.jpg", imageAlt: "Homemade Mango Pickle", onProductClick: () => handleProductClick("1", "Mango Pickle")
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: "2", name: "Green Chili Pickle", price: "$7.99", variant: "Spicy • Fiery Heat", imageSrc: "http://img.b2bpic.net/free-photo/close-up-little-jar-with-pickled-cucumbers_329181-1306.jpg", imageAlt: "Green Chili Pickle"
|
id: "2", name: "Green Chili Pickle", price: "$7.99", variant: "Spicy • Fiery Heat", imageSrc: "http://img.b2bpic.net/free-photo/close-up-little-jar-with-pickled-cucumbers_329181-1306.jpg", imageAlt: "Green Chili Pickle", onProductClick: () => handleProductClick("2", "Green Chili Pickle")
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: "3", name: "Mixed Vegetable Pickle", price: "$9.99", variant: "Assorted • Complex Flavors", imageSrc: "http://img.b2bpic.net/free-photo/honey-with-nuts-glass-cans_1398-3447.jpg", imageAlt: "Mixed Vegetable Pickle"
|
id: "3", name: "Mixed Vegetable Pickle", price: "$9.99", variant: "Assorted • Complex Flavors", imageSrc: "http://img.b2bpic.net/free-photo/honey-with-nuts-glass-cans_1398-3447.jpg", imageAlt: "Mixed Vegetable Pickle", onProductClick: () => handleProductClick("3", "Mixed Vegetable Pickle")
|
||||||
}
|
}
|
||||||
]}
|
]}
|
||||||
title="Our Signature Pickles"
|
title="Our Signature Pickles"
|
||||||
|
|||||||
Reference in New Issue
Block a user