diff --git a/src/app/student/at-the-fair/page.tsx b/src/app/student/at-the-fair/page.tsx new file mode 100644 index 0000000..27c8af4 --- /dev/null +++ b/src/app/student/at-the-fair/page.tsx @@ -0,0 +1,100 @@ +"use client" +import { P } from "@/app/_components/Paragraph" +import { Page } from "@/components/shared/Page" +import { useState } from "react" + +export default function AtFairPage() { + const [randomNumber, setRandomNumber] = useState(-1) + const questions = [ + "How does your recruitment process look like?", + "If you could give your younger self advice about working in your field, what would it be?", + "What advice do you have to someone about to graduate?", + "What is the best memory you have from work?", + "What is the biggest professional mistake you have made?", + "What was the biggest change between studying and working?", + "What made you become your role?", + "How does a typical day look for your role?", + "What do you think are key character traits to have while working in your role?", + "What tends to stand out in a cover letter?", + "What’s the best way to prepare oneself for interviews?", + "What’s your best memory from university?", + "What do you wish someone told you when you were newly graduated?", + "Why did you start working at your company?", + "How do you handle work-life balance?", + "What do you think about the work environment?", + "How long have you worked there?", + "What does your company do?", + "What’s your role at your company?", + "Why did you apply for the job in the first place?", + "What are your suggestions for standing out during an interview?", + "How does your company work with the sustainable development goals?" + ] + + const generateRandomNumber = () => { + const number = Math.floor(Math.random() * 22) + setRandomNumber(number) + } + + return ( + + + At the Fair +
+

+ Walking up to a representative of a company you really want to work + for can be intimidating! But don't fret, below we’ve collected some + tips on how to get the most out of your conversation. +

+ +
    +
  • + · Formulate your sentences and speak clearly. +
  • +
  • + · Treat it like a friendly chat. +
  • +
  • + · Show interest and ask questions. +
  • +
+ +

+ Remember that you are not chatting with an AI who just knows facts + about the company, but with another person. Think of it as a date + with a company! +

+
+
+ Example questions +

+ Below are some examples of questions you can ask the companies during + Armada to get the conversation started. +

+ {/*INSERT QUESTION GENERATOR HERE*/} +
+

+ Question +

+
+
+

+ + {randomNumber >= 0 + ? questions[randomNumber] + : "Press the button below to generate a question."} + +

+
+
+ +
+
+
+
+
+ ) +} diff --git a/src/components/shared/NavigationMenu.tsx b/src/components/shared/NavigationMenu.tsx index 89a8c19..d441262 100644 --- a/src/components/shared/NavigationMenu.tsx +++ b/src/components/shared/NavigationMenu.tsx @@ -3,8 +3,8 @@ import Link from "next/link" import * as React from "react" -import { Page } from "@/components/shared/Page" import { useScreenSize } from "@/components/shared/hooks/useScreenSize" +import { Page } from "@/components/shared/Page" import { NavigationMenu as BaseNavigationMenu, NavigationMenuContent, @@ -73,13 +73,19 @@ const studentLinks: NavigationLink[] = [ title: "Recruitment", href: "/student/recruitment", description: `Join Armada ${DateTime.now().year}. See which roles are available`, - enabled: true + enabled: false }, { title: "Map", href: "/student/map", description: "Find your way around the fair", enabled: true + }, + { + title: "At the Fair", + href: "/student/at-the-fair", + description: "For the fair", + enabled: true } ] diff --git a/src/feature_flags.ts b/src/feature_flags.ts index 0dd40db..343102c 100644 --- a/src/feature_flags.ts +++ b/src/feature_flags.ts @@ -14,6 +14,13 @@ export const FEATURE_FLAG_DEFINITIONS = { { value: true, label: "Show" }, { value: false, label: "Hidden" } ] + }, + AT_FAIR_PAGE: { + description: "Access to At the Fair Page", + options: [ + { value: true, label: "Show" }, + { value: false, label: "Hidden" } + ] } } satisfies FlagDefinitionsType @@ -22,6 +29,7 @@ export const FEATURE_FLAGS: Record< boolean > = { EVENT_PAGE: true, - MAP_PAGE: true + MAP_PAGE: true, + AT_FAIR_PAGE: true } export default FEATURE_FLAGS