diff --git a/met-web/src/components/engagement/new/view/EngagementHero.tsx b/met-web/src/components/engagement/new/view/EngagementHero.tsx
index be6d1bf78..bdb8d19e7 100644
--- a/met-web/src/components/engagement/new/view/EngagementHero.tsx
+++ b/met-web/src/components/engagement/new/view/EngagementHero.tsx
@@ -7,11 +7,16 @@ import { colors } from 'components/common';
import { EngagementStatusChip } from 'components/common/Indicators';
import dayjs from 'dayjs';
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
-import { faChevronRight } from '@fortawesome/pro-regular-svg-icons';
+import { faChevronRight, faExternalLink } from '@fortawesome/pro-regular-svg-icons';
export const EngagementHero = ({ engagement }: { engagement: Engagement }) => {
const dateFormat = 'MMM DD, YYYY';
+ const semanticDateFormat = 'YYYY-MM-DD';
const isExternalCTA = engagement.cta_url?.startsWith('http');
+ const ctaButtonIcon = isExternalCTA ? faExternalLink : faChevronRight;
+ const startDate = dayjs(engagement.start_date);
+ const endDate = dayjs(engagement.end_date);
+
return (
{
- to{' '}
- {dayjs(engagement.end_date).format(dateFormat)}
+ {' '}
+ to{' '}
+
@@ -63,7 +71,7 @@ export const EngagementHero = ({ engagement }: { engagement: Engagement }) => {
>
}
+ icon={}
iconPosition="right"
sx={{ borderRadius: '8px' }}
>
@@ -71,6 +79,6 @@ export const EngagementHero = ({ engagement }: { engagement: Engagement }) => {
- >
+
);
};
diff --git a/met-web/src/components/engagement/new/view/index.tsx b/met-web/src/components/engagement/new/view/index.tsx
index 083807737..9b1ae9f82 100644
--- a/met-web/src/components/engagement/new/view/index.tsx
+++ b/met-web/src/components/engagement/new/view/index.tsx
@@ -13,26 +13,24 @@ export const ViewEngagement = () => {
const { engagement } = useLoaderData() as { engagement: Engagement };
return (
<>
-
-
- }
- >
-
- {(resolvedEngagement: Engagement) => }
-
-
-
+
+ }
+ >
+
+ {(resolvedEngagement: Engagement) => }
+
+