diff --git a/lib/components/CountryDropdown/CountryDropdown.tsx b/lib/components/CountryDropdown/CountryDropdown.tsx index a16c686..ef0e308 100644 --- a/lib/components/CountryDropdown/CountryDropdown.tsx +++ b/lib/components/CountryDropdown/CountryDropdown.tsx @@ -51,7 +51,7 @@ const CountryDropdown = ({ url, className }: CountryDropdownProps) => { setIsOpened(!isOpened)} diff --git a/lib/components/DesktopMenu/DesktopMenu.tsx b/lib/components/DesktopMenu/DesktopMenu.tsx index d71e6e2..6f6715a 100644 --- a/lib/components/DesktopMenu/DesktopMenu.tsx +++ b/lib/components/DesktopMenu/DesktopMenu.tsx @@ -31,7 +31,7 @@ const DesktopMenu: React.FC = ({ return ( <>
- + {menuGroups.map((group, index) => { if ( !!group.menuColumns && @@ -116,7 +116,7 @@ const DefaultSideActions = ({ }; const Divider: React.FC = () => { - return
; + return
; }; export default DesktopMenu; diff --git a/lib/components/DesktopMenu/MenuItemWithSubmenu.tsx b/lib/components/DesktopMenu/MenuItemWithSubmenu.tsx index b84cbe8..6ce511d 100644 --- a/lib/components/DesktopMenu/MenuItemWithSubmenu.tsx +++ b/lib/components/DesktopMenu/MenuItemWithSubmenu.tsx @@ -25,12 +25,15 @@ export const MenuItemWithSubmenu: React.FC = ({ <> {name} - + = ({ leaveFrom="opacity-100 translate-y-0" leaveTo="opacity-0 -translate-y-1" > - + { // show the xmas logo for 1-25 December const date = new Date(); const isXmas = date.getMonth() === 11 && date.getDate() <= 25; const logoPath = isXmas ? "https://www.ssw.com.au/images/ssw-logo-xmas.svg" - : "https://www.ssw.com.au/images/ssw-logo.svg"; + : LIGHT_LOGO; return ( <> +