Skip to content

Commit

Permalink
Merge pull request #131 from Front-End-Coders-Mauritius/feature/add_e…
Browse files Browse the repository at this point in the history
…ntrepreneur_value

Add Entrepreneur value to the list of profession options
  • Loading branch information
MrSunshyne authored Feb 18, 2024
2 parents 1f615a0 + 82cd706 commit 9c6c84c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/components/auth/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ import IconStudent from "~icons/ph/student";
import IconManager from "~icons/material-symbols/person-celebrate-rounded";
import IconDesigner from "~icons/ph/paint-brush-duotone";
import IconHr from "~icons/mdi/briefcase-account";
import IconEntrepreneur from "~icons/mdi/head-cog-outline";

import type { Meal, Occupation, Transport } from "@utils/types";

Expand All @@ -30,6 +31,7 @@ export const professionOptions = [
{ value: "manager", name: "Manager", icon: IconManager },
{ value: "designer", name: "Designer", icon: IconDesigner },
{ value: "hr", name: "Hr", icon: IconHr },
{ value: "entrepreneur", name: "Entrepreneur", icon: IconEntrepreneur },
{ value: "other", name: "Other", icon: IconHr },
] as { value: Occupation, name: string, icon: astroHTML.JSX.Element }[];

Expand Down
2 changes: 1 addition & 1 deletion src/utils/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ export type Meal = "veg" | "non_veg" | "no_food"

export type Transport = "bus" | "car" | "need_a_ride" | "other"

export type Occupation = "developer" | "student" | "manager" | "designer" | "hr" | "other"
export type Occupation = "developer" | "student" | "manager" | "designer" | "hr" | "entrepreneur" | "other"

export type RSVPMetaData = {
meal: Meal
Expand Down

0 comments on commit 9c6c84c

Please sign in to comment.