fix
continuous-integration/drone/push Build is passing Details

This commit is contained in:
b38peng 2021-08-20 20:40:24 -03:00
parent 29477ccb4b
commit 1b0655c0c4
3 changed files with 3 additions and 5 deletions

View File

@ -51,7 +51,7 @@ export function TeamMemberCard({
const { width } = useWindowDimension(); const { width } = useWindowDimension();
const [isOpen, setIsOpen] = useState(false); const [isOpen, setIsOpen] = useState(false);
const handleClick = () => { const handleClick = () => {
if (width <= 768) { if (isOpen || width <= 768) {
setIsOpen(!isOpen); setIsOpen(!isOpen);
} }
}; };

View File

@ -21,8 +21,6 @@ import websiteData from "../../content/meet-the-team/website-committee.json";
import styles from "./team.module.css"; import styles from "./team.module.css";
// TODO: link News page in Elections
interface SerializedExec { interface SerializedExec {
content: MDXRemoteSerializeResult; content: MDXRemoteSerializeResult;
metadata: Metadata; metadata: Metadata;
@ -85,7 +83,7 @@ export default function Team({ execs, programme, website, systems }: Props) {
<Bubble> <Bubble>
<h2 className={styles.electionSubheading}>Elections</h2> <h2 className={styles.electionSubheading}>Elections</h2>
To find out when and where the next elections will be held, keep an To find out when and where the next elections will be held, keep an
eye on on the <Link href="">News</Link>. <br /> eye on on the <Link href="/#news">News</Link>. <br />
For details on the elections, read our For details on the elections, read our
<Link href="/about/constitution"> Constitution</Link> <Link href="/about/constitution"> Constitution</Link>
</Bubble> </Bubble>

View File

@ -68,7 +68,7 @@ export default function Home() {
))} ))}
</div> </div>
</section> </section>
<section className={styles.news}> <section className={styles.news} id="news">
<h1 className={styles.cardsHeading}>News</h1> <h1 className={styles.cardsHeading}>News</h1>
<p className={styles.cardsDescription}> <p className={styles.cardsDescription}>
Updates from our execs! <br /> Updates from our execs! <br />