From 51dc5b19c3db4b7607bab26564626fa72c71c7b1 Mon Sep 17 00:00:00 2001 From: Tal-Ben-Avi Date: Tue, 7 May 2024 12:13:54 +0300 Subject: [PATCH 1/2] fixing code --- workspaces/cms-data/src/pages.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/workspaces/cms-data/src/pages.ts b/workspaces/cms-data/src/pages.ts index 2e19aef0cd..9392ad7da6 100644 --- a/workspaces/cms-data/src/pages.ts +++ b/workspaces/cms-data/src/pages.ts @@ -67,12 +67,13 @@ export interface ListCardItems { } export interface DisplayCardItems { - title: + title: string; + icon?: | "Application" | "Internal Evaluation" | "Results" | "Onboarding" - | "Grant Deliverables"; + | "Post Grant Check-in"; description: string; image?: string; } From b771cf81939f225b82493cac20c95fc5b2d93b4d Mon Sep 17 00:00:00 2001 From: Tal-Ben-Avi Date: Tue, 7 May 2024 12:15:34 +0300 Subject: [PATCH 2/2] fixing text to caps --- workspaces/website/src/components/Card/DisplayCard.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/workspaces/website/src/components/Card/DisplayCard.tsx b/workspaces/website/src/components/Card/DisplayCard.tsx index bab0fe78df..7ab34a1757 100644 --- a/workspaces/website/src/components/Card/DisplayCard.tsx +++ b/workspaces/website/src/components/Card/DisplayCard.tsx @@ -12,7 +12,7 @@ type Props = { | "Internal Evaluation" | "Results" | "Onboarding" - | "Post Grant check-in"; + | "Post Grant Check-in"; readonly description?: string; readonly index: number; } & BoxProps; @@ -22,7 +22,7 @@ const images = { "Internal Evaluation": , Results: , Onboarding: , - "Post Grant check-in": , + "Post Grant Check-in": , }; export const DisplayCard = (props: Props) => {