From 55d20519343b3bca1725f08dce7c001c980e9bc3 Mon Sep 17 00:00:00 2001 From: Brandon Egger Date: Wed, 19 Apr 2023 01:08:49 -0500 Subject: [PATCH] improve accessibility of footer email links --- src/components/Footer.tsx | 10 ++++++---- src/pages/contact.tsx | 16 ++++++++++------ 2 files changed, 16 insertions(+), 10 deletions(-) diff --git a/src/components/Footer.tsx b/src/components/Footer.tsx index 271332d..656c0ab 100644 --- a/src/components/Footer.tsx +++ b/src/components/Footer.tsx @@ -66,25 +66,27 @@ const ContactInfo = ({ name, title, email, phone }: ContactInfo) => { {email ? (
email -

{email}

+ + {email} +
) : undefined} {phone ? (
phone -

{phone}

+

{phone}

) : undefined} diff --git a/src/pages/contact.tsx b/src/pages/contact.tsx index 808b371..0044f28 100644 --- a/src/pages/contact.tsx +++ b/src/pages/contact.tsx @@ -30,18 +30,22 @@ const ContactForm = ({ details }: { details: ContactDetails }) => { return (
-

{details.name}

+

{details.name}

{details.title}

{details.role}

- +

University of Iowa

+
email - + {details.email} @@ -56,11 +60,11 @@ const Contact: NextPage = () => {
{/** Contact section */} -
+

Contact Information

-
+
{contacts.map((contactDetails, index) => { return ; })}