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

Add waitlist status to VerticalTimeline #256

Merged
merged 3 commits into from
Jan 17, 2024
Merged
Show file tree
Hide file tree
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
12 changes: 12 additions & 0 deletions apps/site/src/app/(main)/portal/@applicant/VerticalTimeline.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import Image from "next/image";
import BorderCircle from "@/assets/icons/border-circle.svg";
import CheckCircle from "@/assets/icons/check-circle-fill.svg";
import XCircle from "@/assets/icons/x-circle-fill.svg";
import HalfCircle from "@/assets/icons/circle-half.svg";

import { PortalStatus } from "./ApplicantPortal";

Expand Down Expand Up @@ -49,6 +50,17 @@ function VerticalTimeline({ status }: VerticalTimelineProps) {
/>
Application rejected
</li>
) : status === PortalStatus.waitlisted ? (
<li className="flex flex-row items-center border-t">
<Image
src={HalfCircle}
alt="half-circle"
width={25}
height={25}
className="m-6 mr-12"
/>
Application waitlisted
</li>
) : null;

const waiver_component =
Expand Down
3 changes: 3 additions & 0 deletions apps/site/src/assets/icons/circle-half.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.