-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
41 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,13 +14,5 @@ | |
{ | ||
"title": "What if I lack web dev experience?", | ||
"content": "Many ICS clubs will be hosting workshops throughout the week to assist participants get started with web development." | ||
}, | ||
{ | ||
"title": "What are the rules?", | ||
"content": "Please refer to the WebJam Rules and Code of Conduct for more information." | ||
}, | ||
{ | ||
"title": "My question isn't here!", | ||
"content": "Unanswered question? Email us at [email protected]." | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,6 +20,21 @@ export default function FAQSection() { | |
<div className="text-4xl md:text-7xl">FAQ</div> | ||
<div className={`${styles.accordion} md:max-w-[50%] `}> | ||
{faq_data.map((element, index) => <FAQTab key={index} id={index} {...element}/>)} | ||
{/* Hardcoding some FAQ tabs to include clickable URLs */} | ||
<div className={styles.tab}> | ||
<input type="checkbox" name={styles.accordion} id={faq_data.length} /> | ||
<label htmlFor={faq_data.length} className={styles.tab__label}>What are the rules?</label> | ||
<div className={styles.tab__content}> | ||
<p className='text-xl'>Please refer to the <a target="_blank" href="https://docs.google.com/document/d/1T2Dh_FVx0zU8xhNC2CHDMb_0xg-j2oFBUfp-M0C4FqM/edit">WebJam Rules and Code of Conduct</a> for more information.</p> | ||
</div> | ||
</div> | ||
<div className={styles.tab}> | ||
<input type="checkbox" name={styles.accordion} id={faq_data.length+1} /> | ||
<label htmlFor={faq_data.length+1} className={styles.tab__label}>My question isn't here!</label> | ||
<div className={styles.tab__content}> | ||
<p className='text-xl'>Unanswered question? Email us at <a target="_blank" href="mailto:[email protected]">[email protected]</a>.</p> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,4 +34,8 @@ main { | |
background: #F0FC97; | ||
position: relative; | ||
z-index: 10; | ||
} | ||
|
||
#footer { | ||
margin-top: 0px; | ||
} |