diff --git a/ui/pages/popupmessage.tsx b/ui/pages/popupmessage.tsx index 6065ca7f2..27e4201fd 100644 --- a/ui/pages/popupmessage.tsx +++ b/ui/pages/popupmessage.tsx @@ -4,25 +4,32 @@ import LogoSVG from "../public/undp-logo.svg"; const slides = [ { - title: 'The Digital Development Compass Gets a Powerful Upgrade!', - content: 'We’re excited to unveil major improvements to the Digital Development Compass (DDC), focusing on robustness, reliability, and clarity!' + title: "The Digital Development Compass Gets a Powerful Upgrade!", + content: + "We’re excited to unveil major improvements to the Digital Development Compass (DDC), focusing on robustness, reliability, and clarity!", }, { title1: "Here's a glimpse of what's new:", - content: 'Stronger Foundation: The DDC’s structure now aligns seamlessly with the Digital Transformation Framework, providing a clearer picture of a country’s digital journey.' + content: + "Stronger Foundation: The DDC’s structure now aligns seamlessly with the Digital Transformation Framework, providing a clearer picture of a country’s digital journey.", }, { - content: "Expert Guidance: A dedicated Expert Committee has been established to review data and methodologies, ensuring the highest quality standards." + content: + "Expert Guidance: A dedicated Expert Committee has been established to review data and methodologies, ensuring the highest quality standards.", }, { - content: "Enhanced Data: Data sources have undergone a rigorous cleaning process, with new ones added based on stricter selection criteria. This means you'll find the most reliable and relevant information at your fingertips." + content: + "Enhanced Data: Data sources have undergone a rigorous cleaning process, with new ones added based on stricter selection criteria. This means you'll find the most reliable and relevant information at your fingertips.", }, { - content: "Solid Methodology: The DDC's methodology has been strengthened by improved scoring and weighting techniques, making it statistically sound and more dependable." + content: + "Solid Methodology: The DDC's methodology has been strengthened by improved scoring and weighting techniques, making it statistically sound and more dependable.", }, { - content: "Elevated User Experience: Enjoy a smoother experience! We've revamped the DDC's visualizations and usability for a more intuitive and informative exploration.", - content1: "We're confident these improvements will make the DDC an even more valuable tool for navigating the ever-evolving digital landscape. Stay tuned for further updates!" + content: + "Elevated User Experience: Enjoy a smoother experience! We've revamped the DDC's visualizations and usability for a more intuitive and informative exploration.", + content1: + "We're confident these improvements will make the DDC an even more valuable tool for navigating the ever-evolving digital landscape. Stay tuned for further updates!", }, // Add more slides as needed ]; @@ -33,7 +40,7 @@ const PopupMessage = () => { const totalPages = slides.length; useEffect(() => { - const hasSeenPopup = localStorage.getItem('hasSeenPopup'); + const hasSeenPopup = localStorage.getItem("hasSeenPopup"); if (!hasSeenPopup) { setIsOpen(true); } @@ -53,7 +60,7 @@ const PopupMessage = () => { const handleClose = () => { setIsOpen(false); - localStorage.setItem('hasSeenPopup', 'true'); // Store the flag in localStorage + localStorage.setItem("hasSeenPopup", "true"); // Store the flag in localStorage }; return ( @@ -68,7 +75,10 @@ const PopupMessage = () => {