website cleanup

This commit is contained in:
2025-12-24 21:44:58 +01:00
parent 9b683a59d3
commit d78854a4c6
277 changed files with 6141 additions and 2693 deletions

View File

@@ -2,7 +2,7 @@
import { useState, useEffect } from 'react';
import { useRouter } from 'next/navigation';
import type { Notification } from '@core/notifications/application';
import type { Notification } from './notificationTypes';
import {
Bell,
AlertTriangle,
@@ -120,8 +120,8 @@ export default function ToastNotification({
{/* Content */}
<div className="flex-1 min-w-0">
<div className="flex items-start justify-between gap-2">
<p className="text-sm font-semibold text-white truncate">
{notification.title}
<p className="text-sm font-semibold text-white truncate">
{notification.title ?? 'Notification'}
</p>
<button
onClick={(e) => {
@@ -134,7 +134,7 @@ export default function ToastNotification({
</button>
</div>
<p className="text-xs text-gray-400 line-clamp-2 mt-1">
{notification.body}
{notification.message}
</p>
{notification.actionUrl && (
<button
@@ -151,4 +151,4 @@ export default function ToastNotification({
</div>
</div>
);
}
}