why info-one and info-two?
1 file changed, +9 -0
+9-0pages/team-details.js
| @@ -1,6 +1,15 @@ | ||
| 1 | 1 | import Layout from "@/components/layout/Layout"; |
| 2 | 2 | import Brand3 from "@/components/sections/Brand3"; |
| 3 | 3 | import Link from "next/link"; |
| 4 | + | |
| 5 | +function emailToLink(email) { | |
| 6 | + return `mailto:${email}`; | |
| 7 | +} | |
| 8 | + | |
| 9 | +function phoneToLink(phone) { | |
| 10 | + return `tel:${phone}`; | |
| 11 | +} | |
| 12 | + | |
| 4 | 13 | export default function TeamDetails(props) { |
| 5 | 14 | return ( |
| 6 | 15 | <> |