diff --git a/components/Navigation.jsx b/components/Navigation.jsx index de504d0..2b8eb21 100644 --- a/components/Navigation.jsx +++ b/components/Navigation.jsx @@ -54,7 +54,6 @@ const navLinks = [ ["Charity", "/charity"], ["Calendar", "/calendar"], // ["First Year FB", "/fb"], - ["EGM", "/egm"], ]; const Navigation = () => { diff --git a/pages/egm.jsx b/pages/egm.jsx deleted file mode 100644 index 86723e5..0000000 --- a/pages/egm.jsx +++ /dev/null @@ -1,168 +0,0 @@ -import React from "react"; -import Head from "next/head"; - -// reactstrap components -import { Row, Col, Container, Button } from "reactstrap"; - -// yess let's get those animations -import "animate.css"; - -// core components -import NomineeCard from "components/nominations/NomineeCard"; -import NomineeModal from "components/nominations/NomineeModal"; - -import NOMINEES from "data/NominationsData.js"; -import { useState } from "react"; - -import styles from "styles/modules/nominations.module.scss"; - -const Egm = () => { - const [showModal, setShowModal] = useState(false); - const [nominee, setNominee] = useState({}); - - // Given a person's name, returns all roles they're nominated for - const getNominatedRoles = (name) => { - const roles = []; - - for (const role of NOMINEES) { - const role_name = role.role; - - if (role.nominees.find((data) => data.name === name)) { - roles.push(role_name); - } - } - - return roles; - }; - - const clickNominee = (nominee) => { - setShowModal(true); - setNominee(nominee); - }; - - const toggleModal = () => { - setShowModal(!showModal); - }; - - return ( - <> -
-- Two directors will be elected. -
-- Proposed updates to the constitution can be seen{" "} - - here. - {" "} - Please read and be prepared to vote for/against during the EGM.{" "} -
-