feat(notifications): Implement notification details page and card

This commit introduces a dedicated page for viewing the full details of a notification and refactors the related UI components for better modularity and user experience.

Key changes include:
- Created a new reusable `NotificationDetailsCard` component to display notification details, decoupling the presentation logic from the page.
- Refactored the notification details page (`/notification-history/[id]`) to use the new card component, resulting in cleaner code.
- Made notification items in the header dropdown clickable, linking each to its respective details page.
- Added a dedicated "Mark as Read" button to each notification item in the dropdown for improved usability.
- Updated the application's global title metadata for branding consistency.
- Added a specific page title for the Tenders page to improve SEO and navigation.
This commit is contained in:
AmirReza Jamali
2025-09-30 12:43:41 +03:30
parent cfb95d3bb1
commit ae89c45a7e
9 changed files with 114 additions and 58 deletions
@@ -103,7 +103,7 @@ export function Notification() {
mutate();
}}
>
<div className="flex flex-col gap-3 max-w-29">
<div className="flex flex-col gap-3 max-w-prose">
<h2 className="font-lg font-bold">{currentNotification?.title}</h2>
<p>{currentNotification?.message}</p>
</div>