This commit is contained in:
2025-12-18 14:30:19 +01:00
parent bf1f09c774
commit b476bb7e99
29 changed files with 273 additions and 307 deletions

View File

@@ -1,28 +1,27 @@
'use client';
import { useState, useEffect } from 'react';
import { useRouter } from 'next/navigation';
import { useEffectiveDriverId } from '@/lib/currentDriver';
import type { NotificationUrgency } from '@core/notifications/application';
import { useEffectiveDriverId } from '@/hooks/useEffectiveDriverId';
import {
Bell,
AlertCircle,
AlertTriangle,
Vote,
Shield,
Award,
Bell,
BellRing,
Building2,
ChevronDown,
ChevronUp,
LogIn,
LogOut,
MessageSquare,
Shield,
TrendingUp,
User,
Vote,
Wrench,
X,
MessageSquare,
AlertCircle,
BellRing,
User,
Building2,
LogOut,
LogIn,
TrendingUp,
Award,
} from 'lucide-react';
import { useRouter } from 'next/navigation';
import { useEffect, useState } from 'react';
type DemoNotificationType = 'protest_filed' | 'defense_requested' | 'vote_required' | 'race_performance_summary' | 'race_final_results';
type DemoUrgency = 'silent' | 'toast' | 'modal';