import type { Module } from '@/shared/types/app';
import { APP_ROUTE_PATHS } from '@/shared/constants/routes';

export const MODULES: Module[] = [
  { id: 'platform-dashboard', name: 'Platform Dashboard', icon: 'chart', permissions: ['READ_PLATFORM_DASHBOARD'], color: 'bg-violet-600', routePath: APP_ROUTE_PATHS.platformDashboard },
  { id: 'dashboard', name: 'Home Dashboard', icon: 'home', permissions: ['READ_DASHBOARD'], color: 'bg-violet-500', routePath: APP_ROUTE_PATHS.dashboard },
  { id: 'frame', name: 'F.R.A.M.E. Weekly', icon: 'frame', permissions: ['READ_FRAME'], color: 'bg-amber-500', routePath: APP_ROUTE_PATHS.frame },
  { id: 'classroom', name: 'Classroom Support', icon: 'book', permissions: ['READ_CLASSROOM'], color: 'bg-emerald-500', routePath: APP_ROUTE_PATHS.classroom },
  { id: 'timer', name: 'Classroom Timer', icon: 'timer', permissions: ['READ_TIMER'], color: 'bg-cyan-500', routePath: APP_ROUTE_PATHS.timer },
  { id: 'qbs', name: 'Behavior Management', icon: 'shield', permissions: ['READ_QBS'], color: 'bg-blue-500', routePath: APP_ROUTE_PATHS.qbs },
  { id: 'ei', name: 'Emotional Intelligence', icon: 'heart', permissions: ['READ_EI'], color: 'bg-pink-500', routePath: APP_ROUTE_PATHS.ei },
  { id: 'zones', name: 'Regulate your Zone', icon: 'layers', permissions: ['READ_ZONES'], color: 'bg-teal-500', routePath: APP_ROUTE_PATHS.zones },
  { id: 'signs', name: 'Sign Language', icon: 'hand', permissions: ['READ_SIGNS'], color: 'bg-indigo-500', routePath: APP_ROUTE_PATHS.signs },
  { id: 'attendance', name: 'Attendance', icon: 'clock', permissions: ['READ_ATTENDANCE'], color: 'bg-orange-500', routePath: APP_ROUTE_PATHS.attendance },
  { id: 'class', name: 'My Class', icon: 'graduation', permissions: ['READ_ATTENDANCE'], color: 'bg-lime-600', routePath: APP_ROUTE_PATHS.myClass },
  { id: 'parent-comm', name: 'Messages', icon: 'message', permissions: ['READ_PARENT_COMM'], color: 'bg-cyan-500', routePath: APP_ROUTE_PATHS.parentComm },
  { id: 'internal-comm', name: 'Internal Alerts', icon: 'bell', permissions: ['READ_INTERNAL_COMM'], color: 'bg-rose-500', routePath: APP_ROUTE_PATHS.internalComm },
  { id: 'safety', name: 'Safety Protocols', icon: 'alert', permissions: ['READ_SAFETY'], color: 'bg-red-500', routePath: APP_ROUTE_PATHS.safety },
  { id: 'handbook', name: 'Handbook & Policies', icon: 'file', permissions: ['READ_HANDBOOK'], color: 'bg-slate-600', routePath: APP_ROUTE_PATHS.handbook },
  { id: 'community', name: 'Community & Partnerships', icon: 'globe', permissions: ['READ_COMMUNITY'], color: 'bg-green-600', routePath: APP_ROUTE_PATHS.community },
  { id: 'vocational', name: 'Vocational Opportunities', icon: 'briefcase', permissions: ['READ_VOCATIONAL'], color: 'bg-sky-600', routePath: APP_ROUTE_PATHS.vocational },
  { id: 'esa', name: 'ESA Funding Info', icon: 'wallet', permissions: ['READ_ESA'], color: 'bg-emerald-600', routePath: APP_ROUTE_PATHS.esa },
  { id: 'walkthrough', name: 'Walk-Through Check-In', icon: 'clipboard', permissions: ['MANAGE_WALKTHROUGH'], color: 'bg-indigo-600', routePath: APP_ROUTE_PATHS.walkthrough },
  { id: 'director', name: 'Director Dashboard', icon: 'chart', permissions: ['READ_DIRECTOR_DASHBOARD'], color: 'bg-purple-600', routePath: APP_ROUTE_PATHS.director },
  { id: 'organization-management', name: 'Organizations & Locations', icon: 'building', permissions: ['READ_ORGANIZATIONS', 'CREATE_ORGANIZATIONS', 'UPDATE_ORGANIZATIONS', 'DELETE_ORGANIZATIONS', 'READ_SCHOOLS', 'CREATE_SCHOOLS', 'UPDATE_SCHOOLS', 'DELETE_SCHOOLS', 'READ_CAMPUSES', 'CREATE_CAMPUSES', 'UPDATE_CAMPUSES', 'DELETE_CAMPUSES', 'READ_CLASSES', 'CREATE_CLASSES', 'UPDATE_CLASSES', 'DELETE_CLASSES'], color: 'bg-fuchsia-600', routePath: APP_ROUTE_PATHS.organizations },
  { id: 'user-admin', name: 'Users', icon: 'users', permissions: ['READ_USERS'], color: 'bg-sky-600', routePath: APP_ROUTE_PATHS.users },
];

export const HERO_IMAGE = 'https://d64gsuwffb70l.cloudfront.net/698a11e863624924473cfb17_1770658813159_517b0df6.jpg';
export const HANDBOOK_IMAGE = 'https://d64gsuwffb70l.cloudfront.net/698a11e863624924473cfb17_1770659087111_5a2d27c8.jpg';
