import { type NextPage } from "next/types";
import Image from 'next/image';
interface QuickLink {
label: string,
href: string,
}
const links: QuickLink[] = [
{
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 (
{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 ?
: undefined}
{ 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 */}
College of Liberal Arts and Sciences
Communication Sciences and Disorders
Wendell Johnson Speech and Hearing Center
250 Hawkins Dr
Iowa City, IA 52242
{/** Header and tabs */}
{links.map((quickLink, index) => {
return (
)
})}
{contacts.map((contactInfo, index) => {
return (
)
})}
)
}
export default Footer;