diff --git a/apps/frontend/src/ui/components/Navbar.tsx b/apps/frontend/src/ui/components/Navbar.tsx
index c25a48c2..d507cf93 100644
--- a/apps/frontend/src/ui/components/Navbar.tsx
+++ b/apps/frontend/src/ui/components/Navbar.tsx
@@ -9,7 +9,6 @@ import PolyfrostFull from './logos/PolyfrostFull';
import AccountPopup from './overlay/account/AccountsPopup';
import useAccountController from './overlay/account/AddAccountModal';
import NotificationPopup from './overlay/notifications/NotificationPopup';
-import Popup from './overlay/Popup';
interface NavbarLinkProps {
path: string;
@@ -37,8 +36,8 @@ function Navbar() {
const navigate = useNavigate();
- let profileButton!: HTMLButtonElement;
- let notificationButton!: HTMLButtonElement;
+ let profileButtonContainer!: HTMLDivElement;
+ let notificationButtonContainer!: HTMLDivElement;
return (
@@ -62,14 +61,23 @@ function Navbar() {
{/* Notification Manager Button */}
-
+
+
+
+ el.classList.add('right-0')}
+ setVisible={setNotificationMenuOpen}
+ visible={notificationMenuOpen}
+ />
+
{/* Launcher Settings Button */}
{/* Account Menu Button */}
-
+
+
+
+
el.classList.add('right-0')}
+ setVisible={setProfileMenuOpen}
+ visible={profileMenuOpen}
+ />
+
-
- Popup.setPos(profileButton, el)}
- setVisible={setProfileMenuOpen}
- visible={profileMenuOpen}
- />
-
- Popup.setPos(notificationButton, el)}
- setVisible={setNotificationMenuOpen}
- visible={notificationMenuOpen}
- />
);
}