diff --git a/src/components/Footer.tsx b/src/components/Footer.tsx index 62c6f63..6d659ec 100644 --- a/src/components/Footer.tsx +++ b/src/components/Footer.tsx @@ -64,59 +64,65 @@ function ScrollUpButton() { ); } +const links = [ + { + name: 'For Organizations', + links: [ + { + name: 'Astra', + href: 'https://www.aaiscloud.com/UTXDallas/default.aspx?home', + }, + { name: 'Mazevo', href: 'https://east.mymazevo.com/main-home' }, + ], + }, + { + name: 'For Students', + links: [ + { name: 'Library', href: 'https://libcal.utdallas.edu/allspaces' }, + { name: 'CourseBook', href: 'https://coursebook.utdallas.edu/' }, + { name: 'Comet Calendar', href: 'https://calendar.utdallas.edu/' }, + ], + }, + { + name: 'Projects', + links: [ + { name: 'Clubs', href: 'https://clubs.utdnebula.com/' }, + { name: 'Trends', href: 'https://trends.utdnebula.com/' }, + { name: 'Skedge', href: 'https://www.utdnebula.com/projects/skedge' }, + { + name: 'API & Platform', + href: 'https://www.utdnebula.com/projects/api', + }, + ], + }, +]; + const linkClasses = 'underline decoration-transparent hover:decoration-inherit transition'; -function ForOrganizations() { - return ( -
-

For Organizations

-
- - Astra - - - Mazevo - -
-
- ); +interface LinkGroupProps { + name: string; + links: { + name: string; + href: string; + }[]; } -function ForStudents() { +function LinkGroup({ name, links }: LinkGroupProps) { return (
-

For Students

-
- - Library - - - CourseBook - - - Comet Calendar - +

{name}

+
+ {links.map(({ name, href }) => ( + + {name} + + ))}
); @@ -124,7 +130,7 @@ function ForStudents() { function GetToKnowUs() { return ( -
+
{/* Logo */} -
- +
+
- + UTD ROOMS - - by Nebula Labs + + by{' '} + + Nebula Labs +
-
- - +
+ {links.map(({ name, links }) => ( + + ))}