import { type NextPage } from "next/types"; import Footer from "~/components/Footer"; import Image from "next/image"; import Header from "~/components/Header"; import { TopLabel } from "~/components/Labels"; interface ContactDetails { name: string; title: string; role: string; email: string; } const contacts: ContactDetails[] = [ { name: "Olivia Adamson", title: "B.A", role: "Graduate Student Clinician - Audiology", email: "olivia-adamson@uiowa.edu", }, { name: "Eun Kyung (Julie) Jeon", title: "Ph.D. Au.D., CCC-A", role: "Clinical Assistant Professor in Audiology", email: "eunkyung-jeon@uiowa.edu", }, ]; const ContactForm = ({ details }: { details: ContactDetails }) => { return ( {details.name} {details.title} {details.role} University of Iowa {details.email} ); }; const Contact: NextPage = () => { return ( <> {/** Contact section */} Contact Information {contacts.map((contactDetails, index) => { return ; })} > ); }; export default Contact;