diff --git a/components/dashboard/src/AppNotifications.tsx b/components/dashboard/src/AppNotifications.tsx index 9eb884538d45c9..54106eab72c332 100644 --- a/components/dashboard/src/AppNotifications.tsx +++ b/components/dashboard/src/AppNotifications.tsx @@ -167,11 +167,12 @@ const GENERAL_NOTIFICATION = ( } as Notification; }; -const AWS_REINVENT_NOTIFICATION = (updateUser: (user: Partial) => Promise) => { +/* const AWS_REINVENT_NOTIFICATION = (updateUser: (user: Partial) => Promise) => { return GENERAL_NOTIFICATION( "aws_reinvent_2024", - See you at re:Invent! Book a demo with us, and join our developer productivity leaders roundtable (limited tickets) |{" "} + See you at re:Invent! Book a demo with us, and join our developer productivity leaders roundtable + (limited tickets) |{" "} ) => updateUser, "aws_reinvent_notification", ); +}; */ + +const FLEX_WEBINAR_NOTIFICATION = (updateUser: (user: Partial) => Promise) => { + return GENERAL_NOTIFICATION( + "flex_webinar_2024", + + Upcoming webinar: Gitpod Flex - Deploy your self-hosted CDE in 3 minutes |{" "} + + Register now + + , + updateUser, + "flex_webinar_notification", + ); }; export function AppNotifications() { @@ -219,8 +239,12 @@ export function AppNotifications() { notifications.push(GITPOD_FLEX_INTRODUCTION((u: Partial) => mutateAsync(u))); } - if (isGitpodIo() && !user?.profile?.coachmarksDismissals["aws_reinvent_2024"]) { - notifications.push(AWS_REINVENT_NOTIFICATION((u: Partial) => mutateAsync(u))); + // if (isGitpodIo() && !user?.profile?.coachmarksDismissals["aws_reinvent_2024"]) { + // notifications.push(AWS_REINVENT_NOTIFICATION((u: Partial) => mutateAsync(u))); + // } + + if (isGitpodIo() && !user?.profile?.coachmarksDismissals["flex_webinar_2024"]) { + notifications.push(FLEX_WEBINAR_NOTIFICATION((u: Partial) => mutateAsync(u))); } }