diff --git a/packages/frontend/components/Header/GraduateHeaders.tsx b/packages/frontend/components/Header/GraduateHeaders.tsx index 1757e830..748e7831 100644 --- a/packages/frontend/components/Header/GraduateHeaders.tsx +++ b/packages/frontend/components/Header/GraduateHeaders.tsx @@ -17,7 +17,11 @@ import { useMediaQuery, } from "@chakra-ui/react"; import { MetaInfoWidget } from "../MetaInfo/MetaInfo"; -import { HamburgerIcon } from "@chakra-ui/icons"; +import { HamburgerIcon, RepeatClockIcon } from "@chakra-ui/icons"; +import { + useWhatsNewModal, + WhatsNewModalContextProvider, +} from "../WhatsNewModal/WhatsNewModalContextProvider"; export const GraduatePreAuthHeader: React.FC = () => { const [isMobile] = useMediaQuery("(max-width: 640px)"); @@ -46,26 +50,30 @@ interface GraduateHeaderProps { } const GraduateHeader: React.FC = ({ rightContent }) => { + const { openModal } = useWhatsNewModal(); + return ( - - - - - - - Latest Release Notes - - - - Feedback - - - - Bug/Feature - - {rightContent} - - + + + + + + + + Latest Release Notes + + + + Feedback + + + + Bug/Feature + + {rightContent} + + + ); }; @@ -133,22 +141,7 @@ const MobileHeader: React.FC = () => { }; const LatestReleaseNotesIcon: React.FC = (props) => { - return ( - - - - ); + return ; }; const FeedbackIcon: React.FC = (props) => { diff --git a/packages/frontend/components/WhatsNewModal/Fall2024ReleaseModalContent.tsx b/packages/frontend/components/WhatsNewModal/Fall2024ReleaseModalContent.tsx index fd09bb21..4fbf5231 100644 --- a/packages/frontend/components/WhatsNewModal/Fall2024ReleaseModalContent.tsx +++ b/packages/frontend/components/WhatsNewModal/Fall2024ReleaseModalContent.tsx @@ -34,7 +34,6 @@ export const Fall2024ReleaseModalContent: React.FC = ({ Latest Release v26.09.24 -