import { type NextPage } from "next/types";
import Image from "next/image";
import Link from "next/link";
import { signOut, useSession } from "next-auth/react";
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 (
{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 AdminLogin = () => {
const { data: sessionData } = useSession();
if (sessionData?.user) {
return (
);
}
return (
Site Admin Login
);
};
const FooterLabeledSection = ({
title,
children,
}: {
title: string;
children: JSX.Element[] | JSX.Element;
}) => {
return (
{title}
{children}
);
};
const Footer: NextPage = () => {
return (
);
};
export default Footer;