From bee072b8e5d6b188a1e10589afbc23662ec7c71c Mon Sep 17 00:00:00 2001 From: Abdallah Yashir Ramsing Date: Fri, 16 Feb 2024 17:38:28 +0400 Subject: [PATCH 1/2] Add IconEntrepreneur to professionOptions --- src/components/auth/constants.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/components/auth/constants.ts b/src/components/auth/constants.ts index 21af996a..4f5777c3 100644 --- a/src/components/auth/constants.ts +++ b/src/components/auth/constants.ts @@ -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"; @@ -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 }[]; From 82cd706b3ef4bb6d8f6b49ae3047bf4a9e332919 Mon Sep 17 00:00:00 2001 From: Sandeep Ramgolam Date: Sun, 18 Feb 2024 12:26:36 +0000 Subject: [PATCH 2/2] update type with new value --- src/utils/types.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/types.ts b/src/utils/types.ts index 353b4981..6bd6ae0d 100644 --- a/src/utils/types.ts +++ b/src/utils/types.ts @@ -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