From 1de110818ae4623cba13f78df7b64cc30213a3d3 Mon Sep 17 00:00:00 2001
From: Firman Ramdhani <33869609+firmanramdhani@users.noreply.github.com>
Date: Fri, 3 Jul 2026 16:08:29 +0700
Subject: [PATCH] feat: implement notification dropdown component and add
localized notification strings
---
.../layouts/components/header.layout.tsx | 6 +-
.../notifications/notification-dropdown.tsx | 148 ++++++++++++++++++
packages/core-i18n/src/locales/en/common.json | 10 +-
packages/core-i18n/src/locales/id/common.json | 10 +-
4 files changed, 169 insertions(+), 5 deletions(-)
create mode 100644 apps/web/src/apps/modules/layouts/components/notifications/notification-dropdown.tsx
diff --git a/apps/web/src/apps/modules/layouts/components/header.layout.tsx b/apps/web/src/apps/modules/layouts/components/header.layout.tsx
index 8920a2f..d50bc56 100644
--- a/apps/web/src/apps/modules/layouts/components/header.layout.tsx
+++ b/apps/web/src/apps/modules/layouts/components/header.layout.tsx
@@ -6,7 +6,6 @@ import {
Text,
useCoreAppShell,
ActionIcon,
- Indicator,
Menu,
Avatar,
UnstyledButton,
@@ -14,6 +13,7 @@ import {
} from '@repo/ui/components';
import { Globe, Bell, HelpCircle, Settings, User, Briefcase, LogOut, ChevronDown } from 'lucide-react';
import { AppStorageKey, secureStorage } from '../../../../core/storage/local';
+import { NotificationDropdown } from './notifications/notification-dropdown';
// Dummy user data for preview
const USER = {
@@ -60,11 +60,11 @@ export default function HeaderLayout() {
-
+
-
+