-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
22212ae
commit 91af2b4
Showing
12 changed files
with
74 additions
and
72 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 10 additions & 7 deletions
17
...ygonReviewTab/components/StatusLeyend.tsx → ...ygonReviewTab/components/StatusLegend.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,30 @@ | ||
import { useT } from "@transifex/react"; | ||
|
||
import Text from "@/components/elements/Text/Text"; | ||
|
||
const StatusLeyend = () => { | ||
const StatusLegend = () => { | ||
const t = useT(); | ||
return ( | ||
<div className="flex flex-col px-2"> | ||
<Text variant="text-16-bold" className="text-darkCustom"> | ||
Status Legend | ||
{t("Status Legend")} | ||
</Text> | ||
<div> | ||
<Text variant="text-14-semibold" className="flex items-center gap-2 py-2 text-darkCustom"> | ||
<div className="aspect-square h-3 w-3 rounded-sm bg-pinkCustom" /> Status Legend | ||
<div className="aspect-square h-3 w-3 rounded-sm bg-pinkCustom" /> {t("Status Legend")} | ||
</Text> | ||
<Text variant="text-14-semibold" className="flex items-center gap-2 py-2 text-darkCustom"> | ||
<div className="aspect-square h-3 w-3 rounded-sm bg-blue" /> Submitted | ||
<div className="aspect-square h-3 w-3 rounded-sm bg-blue" /> {t("Submitted")} | ||
</Text> | ||
<Text variant="text-14-semibold" className="flex items-center gap-2 py-2 text-darkCustom"> | ||
<div className="aspect-square h-3 w-3 rounded-sm bg-green" /> Approved | ||
<div className="aspect-square h-3 w-3 rounded-sm bg-green" /> {t("Approved")} | ||
</Text> | ||
<Text variant="text-14-semibold" className="flex items-center gap-2 py-2 text-darkCustom"> | ||
<div className="aspect-square h-3 w-3 rounded-sm bg-tertiary-600" /> Needs More Info | ||
<div className="aspect-square h-3 w-3 rounded-sm bg-tertiary-600" /> {t("Needs More Info")} | ||
</Text> | ||
</div> | ||
</div> | ||
); | ||
}; | ||
|
||
export default StatusLeyend; | ||
export default StatusLegend; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 7 additions & 0 deletions
7
src/components/elements/Inputs/Dropdown/constants/colorMap.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
export const COLOR_MAP: { [key: string]: string } = { | ||
approved: "bg-green", | ||
submitted: "bg-blue", | ||
draft: "bg-pinkCustom", | ||
"Under Review": "bg-tertiary-600", | ||
"Needs More Info": "bg-tertiary-600" | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 4 additions & 0 deletions
4
src/components/elements/Inputs/FileInput/constants/subtitleMapOnFailed.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
export const SUBTITLE_MAP_ON_FAILED = { | ||
image: "Error uploading image.", | ||
geoFile: "Error uploading data." | ||
}; |
4 changes: 4 additions & 0 deletions
4
src/components/elements/Inputs/FileInput/constants/subtitleMapOnUploaded.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
export const SUBTITLE_MAP_ON_UPLOADED = { | ||
image: "Image uploaded successfully!", | ||
geoFile: "Data uploaded successfully!" | ||
}; |
4 changes: 4 additions & 0 deletions
4
src/components/elements/Inputs/FileInput/constants/subtitleMapOnUploading.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
export const SUBTITLE_MAP_ON_UPLOADING = { | ||
image: "Image is being uploaded.", | ||
geoFile: "Data is being uploaded." | ||
}; |