From c763071a606a1f7f35b3382b9817de38ff9a439b Mon Sep 17 00:00:00 2001 From: Akshay Date: Sat, 23 Nov 2024 14:21:53 +0530 Subject: [PATCH] feat: add clickable links to footer contact info --- client/src/components/Footer.jsx | 39 +++++++++++++++++++++----------- 1 file changed, 26 insertions(+), 13 deletions(-) diff --git a/client/src/components/Footer.jsx b/client/src/components/Footer.jsx index f57904c..bd3364d 100644 --- a/client/src/components/Footer.jsx +++ b/client/src/components/Footer.jsx @@ -10,9 +10,19 @@ const Footer = () => { ]; const contactInfo = [ - { icon: "/Contacts/Email.svg", text: "support@ratna.in", alt: "Email" }, - { icon: "/Contacts/Phone.svg", text: "1-800-9625-45274", alt: "Phone" } - ]; + { + icon: "/Contacts/Email.svg", + text: "support@ratna.in", + alt: "Email", + link: "mailto:support@ratna.in", // Mailto link for email + }, + { + icon: "/Contacts/Phone.svg", + text: "1-800-9625-45274", + alt: "Phone", + link: "tel:1800962545274", // Tel link for phone number + }, +]; return (