diff --git a/src/app/page.tsx b/src/app/page.tsx index 22ed798..65b7fa3 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -12,6 +12,10 @@ import FooterMedia from '@/components/sections/footer/FooterMedia'; import { Sparkles, Lightbulb, Package, Beaker, Award, Users, Grid, Heart, Star, MapPin, Mail } from 'lucide-react'; export default function LandingPage() { + const handleProductClick = (productId: string, productName: string) => { + window.location.href = `tel:+12083439895?subject=Inquiry%20about%20${encodeURIComponent(productName)}`; + }; + return ( handleProductClick("1", "Robotics Kits") }, { - id: "2", name: "Science Experiments", price: "Check Stock", imageSrc: "http://img.b2bpic.net/free-photo/female-teacher-girl-doing-science-experiments-with-test-tubes-microscope_23-2148799260.jpg", imageAlt: "Science experiment sets" + id: "2", name: "Science Experiments", price: "Check Stock", imageSrc: "http://img.b2bpic.net/free-photo/female-teacher-girl-doing-science-experiments-with-test-tubes-microscope_23-2148799260.jpg", imageAlt: "Science experiment sets", onProductClick: () => handleProductClick("2", "Science Experiments") }, { - id: "3", name: "Engineering Toys", price: "Check Stock", imageSrc: "http://img.b2bpic.net/free-photo/father-son-making-robot_23-2148863349.jpg", imageAlt: "Engineering and building toys" + id: "3", name: "Engineering Toys", price: "Check Stock", imageSrc: "http://img.b2bpic.net/free-photo/father-son-making-robot_23-2148863349.jpg", imageAlt: "Engineering and building toys", onProductClick: () => handleProductClick("3", "Engineering Toys") }, { - id: "4", name: "Puzzles & Brain Teasers", price: "Check Stock", imageSrc: "http://img.b2bpic.net/free-vector/hand-drawn-flat-design-sudoku-template_23-2149318682.jpg", imageAlt: "Logic puzzles and brain teasers" + id: "4", name: "Puzzles & Brain Teasers", price: "Check Stock", imageSrc: "http://img.b2bpic.net/free-vector/hand-drawn-flat-design-sudoku-template_23-2149318682.jpg", imageAlt: "Logic puzzles and brain teasers", onProductClick: () => handleProductClick("4", "Puzzles & Brain Teasers") }, { - id: "5", name: "Coding Games", price: "Check Stock", imageSrc: "http://img.b2bpic.net/free-photo/children-using-building-kit_7502-7346.jpg", imageAlt: "Coding and programming games" + id: "5", name: "Coding Games", price: "Check Stock", imageSrc: "http://img.b2bpic.net/free-photo/children-using-building-kit_7502-7346.jpg", imageAlt: "Coding and programming games", onProductClick: () => handleProductClick("5", "Coding Games") }, { - id: "6", name: "Educational Gifts", price: "By Age Group", imageSrc: "http://img.b2bpic.net/free-photo/happy-mother-daughter_171337-2365.jpg?_wi=1", imageAlt: "Educational gift selection" + id: "6", name: "Educational Gifts", price: "By Age Group", imageSrc: "http://img.b2bpic.net/free-photo/happy-mother-daughter_171337-2365.jpg?_wi=1", imageAlt: "Educational gift selection", onProductClick: () => handleProductClick("6", "Educational Gifts") } ]} />