import { BASEURL_FE } from './urls';

/**
 * Base URL for student-related image resources
 */
const IMG_RESOURCE_F = BASEURL_FE + 'resources-f/images/';

/**
 * Messages related to student account operations
 */
export const STUDENT_MESSAGES = {
  REQUIRED_PARAMS_NOT_FOUND: 'Required parameters are not provided',
  NOTFOUND_WITH_EMAIL: 'Student not found with given email',
  ALREADY_EXISTS: 'Student already exists',
  INACTIVE: 'Student account is inactive',
  UNVERIFIED: 'Unverified student account',
  INFO_NOT_FOUND: 'Student info not found',
};

/**
 * General messages used across the application
 */
export const COMMON_MESSAGES = {
  RECORDS_NOT_FOUND: 'No records were found',
};

/**
 * Dashboard items for student app UI
 * Each item has:
 * - id: unique identifier
 * - title: display title
 * - img: icon path
 * - navigateTo: screen/component to navigate when clicked
 */
export const dashboardItems = [
  {
    id: 1,
    title: 'Wallet Info',
    img: IMG_RESOURCE_F + 'wallet-icn.png',
    navigateTo: 'WalletInfo',
  },
  {
    id: 2,
    title: 'Order History',
    img: IMG_RESOURCE_F + 'order-icn.png',
    navigateTo: 'OrderHistory',
  },
  {
    id: 3,
    title: 'Classrooms',
    img: IMG_RESOURCE_F + 'Switch_Classroom.png',
    navigateTo: 'ClassRoom',
  },
  {
    id: 4,
    title: 'Mock Test Reports',
    img: IMG_RESOURCE_F + 'mock-test-report-icn.png',
    navigateTo: 'MockTestReports',
  },
  {
    id: 5,
    title: 'Reality Test Bookings',
    img: IMG_RESOURCE_F + 'reality-test-booking-icn.png',
    navigateTo: 'RealityTestBookings',
  },
  {
    id: 6,
    title: 'Exam Bookings',
    img: IMG_RESOURCE_F + 'exam-booking-icn.png',
    navigateTo: 'ExamBooking',
  },
  {
    id: 7,
    title: 'Event Bookings',
    img: IMG_RESOURCE_F + 'event-booking-icn.png',
    navigateTo: 'EventBooking',
  },
  {
    id: 8,
    title: 'Client Requests',
    img: IMG_RESOURCE_F + 'student-request-icn.png',
    navigateTo: 'Request',
  },
  {
    id: 9,
    title: 'My Complaints',
    img: IMG_RESOURCE_F + 'my-complaints-icn.png',
    navigateTo: 'Complaints',
  },
];
