Skip to content

Commit

Permalink
In getQuestions() in function.jsx under client/src/pages/FAQ: turned …
Browse files Browse the repository at this point in the history
…off getting questions from API to avoid getting Snackbar error message; hard coded 2T4 FAQS in function.jsx under client/src/pages/FAQ
  • Loading branch information
WilliamJWen committed Jun 22, 2024
1 parent 64a002d commit e249ce5
Showing 1 changed file with 47 additions and 2 deletions.
49 changes: 47 additions & 2 deletions client/src/pages/FAQ/functions.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,15 @@ export function getInformation() {

export async function getQuestions(setSnackbar) {
// await new Promise(r => setTimeout(r, 2000));
try {

// load FAQs from API
/* try {
const response = await axios.get('/faq/answered');
return response.data.faqs;
} catch (e) {
setSnackbar(e.toString());
}
} */

return [
{
question: 'What is F!rosh week?',
Expand All @@ -36,11 +39,53 @@ export async function getQuestions(setSnackbar) {
category: 'General',
},
{
question: "What if I can't afford the ticket for F!rosh Week?",
answer: 'That’s okay! You can apply for a bursary when you sign up for F!rosh Week!',
lastUpdated: '12:17pm, Jun 22, 2024',
category: 'General',
},
{
question: 'What should I bring on the first day?',
answer:
'Yourself! A good attitude! And a whole lotta HYPE! But also these: Proof of Registration(more info on what proof is needed when you register!); Sunscreen! #safetyissexy; Comfortable shoes; Health Card (just in case you need it)',
lastUpdated: '12:21pm, Jun 22, 2024',
category: 'General',
},
{
question: 'What do I do if I arrive late?',
answer:
'Please try to arrive on time (Toronto transit and traffic can be unpredictable, so we highly recommend a bit of buffer!), but if you arrive late due to unforeseen circumstances, make your way to The Garden (you can ask anyone wearing a F!rosh Week shirt that isn’t yellow) and we can get you to your group from there! \n\n If you know in advance that you will be arriving late, please send us a message at [email protected] after registering so your leedurs can plan accordingly!',
lastUpdated: '12:21pm, Jun 22, 2024',
category: 'General',
},
{
question: 'How do I register for F!rosh Week?',
answer:
'Register for F!rosh Week at orientation.skule.ca starting July 5th! Follow us on Instagram @froshweek and join the F!rosh Week 2T4 Discord server. To stay up to date throughout the summer! Important links can also be found at linktr.ee/froshweek. Link to Discord server: https://discord.gg/RQrPQMYrHw',
lastUpdated: '12:30pm, Jun 22, 2024',
category: 'Registration',
},
{
question: 'What do I get by registering?',
answer:
'Access to all F!rosh week events! Your very own F!rosh Kit, full of skule-themed items! Memories that will last a lifetime <3',
lastUpdated: '12:30pm, Jun 22, 2024',
category: 'Registration',
},
/*{
question: 'What are in the F!rosh Kits?',
answer:
"Lots of fun items to make your F!rosh Week memorable! It includes a yellow hard hat, F!rosh Shirt, a water bottle to keep you hydrated and many more suprises! Just not a pet dino because they didn't fit in the box :(",
lastUpdated: '2:00 pm',
category: 'F!rosh Kits',
},*/ //old frosh kits answer before 2T4
{
question: 'What comes in the F!rosh Kits?',
answer:
'A dashing yellow hardhat!; SkuleTM bag to hold all of your super awesome new merch; Water bottle to keep you hydrated #hydrationissexy :) ; Not one, but TWO snazzy t-shirts; So. much. F!rosh. Swag.',

lastUpdated: '12:30pm, Jun 22, 2024',
category: 'F!rosh Kits',
},
{
question: 'When and How are we getting the F!rosh kits?',
Expand Down

0 comments on commit e249ce5

Please sign in to comment.