From 9d9ce1737a5b3e2ed037dcd1992cea7ec4de0822 Mon Sep 17 00:00:00 2001 From: Val <44112412+LawfaL@users.noreply.github.com> Date: Tue, 4 Mar 2025 20:52:31 +0700 Subject: [PATCH] fix: nav href --- src/components/Header.tsx | 29 +++++++++++++++++++---------- 1 file changed, 19 insertions(+), 10 deletions(-) diff --git a/src/components/Header.tsx b/src/components/Header.tsx index fbf39dd..38d7ef7 100644 --- a/src/components/Header.tsx +++ b/src/components/Header.tsx @@ -7,14 +7,23 @@ import Image from "next/image"; import Link from "next/link"; import { FaFacebook, FaLinkedin, FaPhone } from "react-icons/fa"; const shareIcons: Record = { - phone: ( - - - (520) 803-6644 - - ), - facebook: , - linkedin: , + phone: { + link: "tel:+15208036644", + dom: ( + + + (520) 803-6644 + + ), + }, + facebook: { + link: "https://www.facebook.com/p/Cochise-Oncology-61556262839823", + dom: , + }, + linkedin: { + link: "https://linkedin.com/company/cochise-oncology", + dom: , + }, }; export default function Header({ links }: { links: typeof navMenuData }) { @@ -58,8 +67,8 @@ export default function Header({ links }: { links: typeof navMenuData }) { {Object.keys(shareIcons).map((k, idx) => { return (
  • - - {shareIcons[k]} + + {shareIcons[k].dom}
  • );