Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Links to other apps #502

Merged
merged 3 commits into from
Dec 17, 2024
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ export default async function ConfirmationDetails({
roleText,
role,
}: ConfirmationDetailsProps) {
const otherRoles = ["Hacker", "Mentor", "Volunteer"].filter(
(r) => r !== role,
);
return (
<div className="flex flex-col items-center gap-8 px-4 py-6 mx-4 max-w-screen-lg md:p-6 md:px-10 md:py-8 border-[2px] md:border-[5px] border-[var(--color-white)] text-[var(--color-white)] bg-[var(--color-black)]">
<h1 className="text-5xl text-center">Before Applying</h1>
Expand Down Expand Up @@ -61,6 +64,22 @@ export default async function ConfirmationDetails({
}
isLightVersion
/>

<p>
Interested in being a{" "}
{otherRoles.map((role, index) => (
<span key={role}>
<a
href={role === "Hacker" ? `/apply` : `/${role.toLowerCase()}`}
className="text-[#FBA80A] underline"
>
waalbert marked this conversation as resolved.
Show resolved Hide resolved
{role}
</a>
{index < otherRoles.length - 1 ? " or " : " "}
</span>
))}
instead?
</p>
</div>
);
}
Loading