Skip to content

Commit

Permalink
Added FAQ to student page with q&a from hr
Browse files Browse the repository at this point in the history
  • Loading branch information
AugustPaulsrud committed Sep 5, 2024
1 parent 9edca9f commit 9c80ad4
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions src/app/student/recruitment/page.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { P } from "@/app/_components/Paragraph"
import { PhotoSlideCarousel } from "@/app/_components/PhotoSlideCarousel"
import { Page } from "@/components/shared/Page"
import { fetchDates } from "@/components/shared/hooks/api/useDates"
import { fetchOrganization } from "@/components/shared/hooks/api/useOrganization"
import { fetchRecruitment } from "@/components/shared/hooks/api/useRecruitment"
import {
Expand All @@ -11,7 +12,9 @@ import {
} from "@/components/ui/accordion"
import { Alert, AlertDescription, AlertTitle } from "@/components/ui/alert"
import { Button } from "@/components/ui/button"
import { FAQItem } from "@/components/ui/faqitem"
import { env } from "@/env"
import { formatDate } from "@/lib/utils"
import { DateTime } from "luxon"
import { Metadata } from "next"
import Link from "next/link"
Expand Down Expand Up @@ -41,6 +44,8 @@ export default async function RecruitmentPage() {
people.role.includes("Project Group – Head of Human Resources")
)

const dates = await fetchDates()

const photoSrc: { source: string; altText: string }[] = [
{
source: "/fair_pictures/23031965122_efd3a80707_c.jpg",
Expand Down Expand Up @@ -206,6 +211,37 @@ export default async function RecruitmentPage() {
))}
</Accordion>
</div>
<div className="mx-auto mt-10 w-full max-w-[600px]">
<h1 className="mb-2 ml-2 text-2xl">FAQ</h1>
<Accordion type="single" collapsible={true}>
<FAQItem title="How much time do I need to dedicate as a host for THS Armada?">
The actual workload varies depending on your role as a host, but
the rough estimates would be:
<ul>
<li>
<b>October:</b> 1-3 hours per week for team-building
activities, meetings, and planning.
</li>
<li>
<b>November:</b> 3-8 hours per week as the workload
gradually increases to complete assigned tasks.
</li>
<li>
<b>Construction Weekend (the weekend before the fair):</b>{" "}
Full-day availability is required for construction
activities.
</li>
<li>
<b>
Fair Days ({formatDate(dates.fair.days[0])}-
{formatDate(dates.fair.days[1])}):
</b>{" "}
Full-day availability is required, depending on your role.
</li>
</ul>
</FAQItem>
</Accordion>
</div>
</div>
</Page.Boundary>
</Page.Background>
Expand Down

0 comments on commit 9c80ad4

Please sign in to comment.