diff --git a/components/TeamMemberCard.tsx b/components/TeamMemberCard.tsx index ab2faf13..046ed39c 100644 --- a/components/TeamMemberCard.tsx +++ b/components/TeamMemberCard.tsx @@ -51,7 +51,7 @@ export function TeamMemberCard({ const { width } = useWindowDimension(); const [isOpen, setIsOpen] = useState(false); const handleClick = () => { - if (width <= 768) { + if (isOpen || width <= 768) { setIsOpen(!isOpen); } }; diff --git a/pages/about/team.tsx b/pages/about/team.tsx index 9fec91d2..fa1ee2eb 100644 --- a/pages/about/team.tsx +++ b/pages/about/team.tsx @@ -21,8 +21,6 @@ import websiteData from "../../content/meet-the-team/website-committee.json"; import styles from "./team.module.css"; -// TODO: link News page in Elections - interface SerializedExec { content: MDXRemoteSerializeResult; metadata: Metadata; @@ -85,7 +83,7 @@ export default function Team({ execs, programme, website, systems }: Props) {

Elections

To find out when and where the next elections will be held, keep an - eye on on the News.
+ eye on on the News.
For details on the elections, read our Constitution
diff --git a/pages/index.tsx b/pages/index.tsx index 9d31b9e3..2d6c2b98 100644 --- a/pages/index.tsx +++ b/pages/index.tsx @@ -68,7 +68,7 @@ export default function Home() { ))} -
+

News

Updates from our execs!