import { type NextPage } from "next/types"; import Image from "next/image"; interface QuickLink { label: string; href: string; } const links: QuickLink[] = [ { label: "Provide Feedback", href: "https://forms.gle/FD2abgwBuTaipysZ6", }, { label: "Communication Sciences and Disorders", href: "https://csd.uiowa.edu/", }, { label: "Wendell Johnson", href: "https://www.facilities.uiowa.edu/named-building/wendell-johnson-speech-and-hearing-center", }, ]; const QuickLink = ({ label, href }: QuickLink) => { return ( external link {label} ); }; interface ContactInfo { name: string; title: string; email?: string; phone?: string; } const contacts: ContactInfo[] = [ { name: "Olivia Adamson", title: "Audiology Graduate Student Clinician", email: "olivia-adamson@uiowa.edu", }, { name: "Eun Kyung (Julie) Jeon", title: "Clinical Assistant Professor", email: "eunkyung-jeon@uiowa.edu", phone: "3194671476", }, ]; const ContactInfo = ({ name, title, email, phone }: ContactInfo) => { return (

{name}

{title}

{email ? (
email

{email}

) : undefined} {phone ? (
phone

{phone}

) : undefined}
); }; const FooterLabeledSection = ({ title, children, }: { title: string; children: JSX.Element[] | JSX.Element; }) => { return (

{title}

{children}
); }; const Footer: NextPage = () => { return (
{/** yellow stripe */}
{/** Main footer area */}
{/** Wendell Johnson Info */}
University of Iowa logo

Communication Sciences and Disorders

College of Liberal Arts and Sciences

Wendell Johnson Speech and Hearing Center

250 Hawkins Dr

Iowa City, IA 52242

Site Designed and Built by{" "} Brandon Egger

{/** Header and tabs */}
{links.map((quickLink, index) => { return ; })}
{contacts.map((contactInfo, index) => { return ; })}
); }; export default Footer;