Update src/app/page.tsx
This commit is contained in:
@@ -50,10 +50,10 @@ export default function LandingPage() {
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/side-view-french-fries-cardboard-bag-with-ketchup-wooden-cutting-board_140725-11930.jpg?_wi=1", imageAlt: "Fresh crispy fried chicken"
|
||||
},
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/vertical-view-crispy-fried-chicken-with-mayonnaise-ketchup_140725-54247.jpg", imageAlt: "Golden fried chicken meal"
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/vertical-view-crispy-fried-chicken-with-mayonnaise-ketchup_140725-54247.jpg?_wi=1", imageAlt: "Golden fried chicken meal"
|
||||
},
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/top-view-chicken-with-copy-space_23-2148454892.jpg", imageAlt: "Delicious chicken combo"
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/top-view-chicken-with-copy-space_23-2148454892.jpg?_wi=1", imageAlt: "Delicious chicken combo"
|
||||
}
|
||||
]}
|
||||
mediaAnimation="none"
|
||||
@@ -102,7 +102,7 @@ export default function LandingPage() {
|
||||
}
|
||||
},
|
||||
{
|
||||
id: "2", name: "Chicken Sandwich", price: "₤35", imageSrc: "http://img.b2bpic.net/free-photo/delicious-sandwich-with-green-salad-tomatoes-ham-inside-plate-with-french-fries_140725-29971.jpg", imageAlt: "Golden fried chicken sandwich", onProductClick: () => {
|
||||
id: "2", name: "Chicken Sandwich", price: "₤35", imageSrc: "http://img.b2bpic.net/free-photo/delicious-sandwich-with-green-salad-tomatoes-ham-inside-plate-with-french-fries_140725-29971.jpg?_wi=1", imageAlt: "Golden fried chicken sandwich", onProductClick: () => {
|
||||
if (typeof window !== "undefined") window.location.href = "/product-details?product=2";
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user