diff --git a/pages/about/team.tsx b/pages/about/team.tsx index 3ccb2280..f7487105 100644 --- a/pages/about/team.tsx +++ b/pages/about/team.tsx @@ -1,5 +1,4 @@ import React from "react"; -import { MDXProvider } from "@mdx-js/react"; import { getExecContent, getExecNames, Metadata } from "../../lib/team"; import { MDXRemote, MDXRemoteSerializeResult } from "next-mdx-remote"; import { GetStaticProps } from "next"; @@ -14,7 +13,8 @@ import website from "../../content/meet-the-team/website-committee.json"; import systems from "../../content/meet-the-team/systems-committee.json"; import styles from "./team.module.css"; -// TODO: get hotdog for elections +// TODO: fix hotdog for elections +// change News link in elections to point to News page interface SerializedExec { content: MDXRemoteSerializeResult; @@ -27,57 +27,55 @@ interface Props { export default function MeetTheTeam({ execs }: Props) { return ( - - <> -
-
-

Meet the Team!

-
- The Executives - Programme Committee - Website Committee - Systems Committee + <> +
+
+

Meet the Team!

+
+ The Executives + Programme Committee + Website Committee + Systems Committee +
+

+ The Executives +

+
+ +
+
+ {execs.map((exec) => { + return ( +
+ + +
-

- The Executives -

-
- + ); + })} +
+
+

Programme Committee

+ +
+
+

Website Committee

+ +
+
+

Systems Committee

+ +
+ +
+

Elections

+
-
- {execs.map((exec) => { - return ( -
- - - -
- ); - })} -
-
-

Programme Committee

- -
-
-

Website Committee

- -
-
-

Systems Committee

- -
- -
-

Elections

- -
-
- - +
+ ); }