// File Path: monorepo/web/frontend/src/pages/Admin/Event/InSchool/Update/Page.jsx

import React from "react";
import { BuildingOffice2Icon } from "@heroicons/react/24/outline";
import { EVENT_TYPE_ONSITE } from "../../../../../constants/Event";
import { EventUpdatePage } from "../../../../../components/business/events";

// In-School (Onsite) event type configuration
const inSchoolConfig = {
  eventType: EVENT_TYPE_ONSITE,
  routePrefix: "in-school",
  labels: {
    eventTypeName: "In-School",
    pluralName: "In-School Events",
  },
  icons: {
    main: BuildingOffice2Icon,
  },
  routes: {
    list: "/admin/events/in-schools",
    edit: "/admin/events/in-school/:id/edit",
    full: "/admin/events/in-school/:id/full",
    eventOrders: "/admin/events/in-school/:id/event-orders",
    eventContracts: "/admin/events/in-school/:id/event-contracts",
    comments: "/admin/events/in-school/:id/comments",
    attachments: "/admin/events/in-school/:id/attachments",
    more: "/admin/events/in-school/:id/more",
  },
};

function AdminEventInSchoolUpdatePage() {
  return <EventUpdatePage eventTypeConfig={inSchoolConfig} />;
}

export default AdminEventInSchoolUpdatePage;
