|
| 1 | +"use client" |
| 2 | +import { P } from "@/app/_components/Paragraph" |
| 3 | +import { Page } from "@/components/shared/Page" |
| 4 | +import { useState } from "react" |
| 5 | + |
| 6 | +export default function AtFairPage() { |
| 7 | + const [randomNumber, setRandomNumber] = useState(-1) |
| 8 | + const questions = [ |
| 9 | + "How does your recruitment process look like?", |
| 10 | + "If you could give your younger self advice about working in your field, what would it be?", |
| 11 | + "What advice do you have to someone about to graduate?", |
| 12 | + "What is the best memory you have from work?", |
| 13 | + "What is the biggest professional mistake you have made?", |
| 14 | + "What was the biggest change between studying and working?", |
| 15 | + "What made you become your role?", |
| 16 | + "How does a typical day look for your role?", |
| 17 | + "What do you think are key character traits to have while working in your role?", |
| 18 | + "What tends to stand out in a cover letter?", |
| 19 | + "What’s the best way to prepare oneself for interviews?", |
| 20 | + "What’s your best memory from university?", |
| 21 | + "What do you wish someone told you when you were newly graduated?", |
| 22 | + "Why did you start working at your company?", |
| 23 | + "How do you handle work-life balance?", |
| 24 | + "What do you think about the work environment?", |
| 25 | + "How long have you worked there?", |
| 26 | + "What does your company do?", |
| 27 | + "What’s your role at your company?", |
| 28 | + "Why did you apply for the job in the first place?", |
| 29 | + "What are your suggestions for standing out during an interview?", |
| 30 | + "How does your company work with the sustainable development goals?" |
| 31 | + ] |
| 32 | + |
| 33 | + const generateRandomNumber = () => { |
| 34 | + const number = Math.floor(Math.random() * 22) |
| 35 | + setRandomNumber(number) |
| 36 | + } |
| 37 | + |
| 38 | + return ( |
| 39 | + <Page.Background withIndents> |
| 40 | + <Page.Boundary> |
| 41 | + <Page.Header>At the Fair</Page.Header> |
| 42 | + <div> |
| 43 | + <P> |
| 44 | + Walking up to a representative of a company you really want to work |
| 45 | + for can be intimidating! But don't fret, below we’ve collected some |
| 46 | + tips on how to get the most out of your conversation. |
| 47 | + </P> |
| 48 | + |
| 49 | + <ul className="mt-2 text-stone-400"> |
| 50 | + <li> |
| 51 | + <i>· Formulate your sentences and speak clearly.</i> |
| 52 | + </li> |
| 53 | + <li> |
| 54 | + <i>· Treat it like a friendly chat.</i> |
| 55 | + </li> |
| 56 | + <li> |
| 57 | + <i>· Show interest and ask questions.</i> |
| 58 | + </li> |
| 59 | + </ul> |
| 60 | + |
| 61 | + <P> |
| 62 | + Remember that you are not chatting with an AI who just knows facts |
| 63 | + about the company, but with another person. Think of it as a date |
| 64 | + with a company! |
| 65 | + </P> |
| 66 | + </div> |
| 67 | + <br /> |
| 68 | + <Page.Header tier="secondary">Example questions</Page.Header> |
| 69 | + <P> |
| 70 | + Below are some examples of questions you can ask the companies during |
| 71 | + Armada to get the conversation started. |
| 72 | + </P> |
| 73 | + {/*INSERT QUESTION GENERATOR HERE*/} |
| 74 | + <div className=" mt-2 min-h-48 min-w-48 place-items-center rounded-2xl bg-green-950 p-5"> |
| 75 | + <p className="absolute text-green-300 opacity-80"> |
| 76 | + <i>Question</i> |
| 77 | + </p> |
| 78 | + <div className="flex"> |
| 79 | + <div className="flex-grow place-content-center justify-center"> |
| 80 | + <p className="py-7 text-center text-3xl text-green-50 opacity-90"> |
| 81 | + <i> |
| 82 | + {randomNumber >= 0 |
| 83 | + ? questions[randomNumber] |
| 84 | + : "Press the button below to generate a question."} |
| 85 | + </i> |
| 86 | + </p> |
| 87 | + </div> |
| 88 | + </div> |
| 89 | + <button |
| 90 | + onClick={() => generateRandomNumber()} |
| 91 | + className="rounded-lg bg-green-700 p-3"> |
| 92 | + Generate Question |
| 93 | + </button> |
| 94 | + </div> |
| 95 | + <br /> |
| 96 | + <div className="self-center"></div> |
| 97 | + </Page.Boundary> |
| 98 | + </Page.Background> |
| 99 | + ) |
| 100 | +} |
0 commit comments