Skip to content

Commit

Permalink
Add ATUN form
Browse files Browse the repository at this point in the history
  • Loading branch information
gavinhenderson committed Jan 2, 2024
1 parent 4d20d55 commit 25392dc
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 8 deletions.
7 changes: 7 additions & 0 deletions components/ms-form.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,13 @@ export const CONTACT_FORM = {
height: 2000,
};

export const ATUN = {
slug: "atun",
title: "ATUN form",
url: "https://forms.office.com/pages/responsepage.aspx?id=bFwgTJtTgU-Raj-O_eaPrNZFPqw5Il9Hp4B1mWQ_eQhUQkpGWFRCNU4zVUQ0MUVMRlY0WjdIT1ZWWS4u&embed=true",
height: 2000,
};

export const INFO_APP_FEEDBACK = {
slug: "information-appointment-feedback",
title: "Information appointment feedback",
Expand Down
18 changes: 10 additions & 8 deletions pages/get-involved/atun.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import FormatQuoteIcon from "@mui/icons-material/FormatQuote";
import MenuBookIcon from "@mui/icons-material/MenuBook";

import styles from "../../styles/atun.module.css";
import { ATUN, FormModal } from "../../components/ms-form";

export default function Atun() {
return (
Expand All @@ -28,14 +29,15 @@ export default function Atun() {
users at the heart of innovation.
</p>

<div className={styles.cardButtonContainer}>
<Button
href="mailto:[email protected]?subject=Joining%20ATUN&body=Hi%20Will%0D%0A%0D%0AI%20would%20like%20to%20join%20the%20Accessible%20Tech%20User'%20Network.%0D%0A%0D%0AThanks"
className={styles.cardButton}
>
Join the Network
</Button>
</div>
<FormModal form={ATUN}>
{({ onClick }) => (
<div className={styles.cardButtonContainer}>
<Button onClick={onClick} className={styles.cardButton}>
Join the Network
</Button>
</div>
)}
</FormModal>
</VideoWithCardCover>

<div className={styles.bottomContainer}>
Expand Down

0 comments on commit 25392dc

Please sign in to comment.