import React from 'react';
import { Dashboard } from 'modules/home/dashboard';
import { Information } from 'modules/home/information';
import { UserSettings } from 'modules/home/settings';

import { Sell } from 'modules/tickets/sell';
import { Administration } from 'modules/tickets/administration';
import { SeasonDiscounts } from 'modules/tickets/season-discounts';

import { Payment } from 'modules/cash-desk/payment';

import { AdminSettings } from 'modules/admin/settings';
import { UserAdministration } from 'modules/admin/user-administration';

interface TcomponentMap {
  [key: string]: JSX.Element;
}

export const componentMap: TcomponentMap = {
  'home-dashboard': <Dashboard />,
  'home-information': <Information />,
  'home-settings': <UserSettings />,
  'ticket-sell': <Sell />,
  'ticket-administration': <Administration />,
  'season-discouunts': <SeasonDiscounts />,
  payment: <Payment />,
  'admin-settings': <AdminSettings />,
  'user-administration': <UserAdministration />,
};
