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

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

// Field Trip (Offsite) event type configuration
const fieldTripConfig = {
  eventType: EVENT_TYPE_OFFSITE,
  routePrefix: "field-trip",
  labels: {
    eventTypeName: "Field Trip",
    pluralName: "Field Trip Events",
  },
  icons: {
    main: TruckIcon,
  },
  routes: {
    list: "/admin/events/field-trips",
    edit: "/admin/events/field-trip/:id/edit",
    full: "/admin/events/field-trip/:id/full",
    eventOrders: "/admin/events/field-trip/:id/event-orders",
    eventContracts: "/admin/events/field-trip/:id/event-contracts",
    comments: "/admin/events/field-trip/:id/comments",
    attachments: "/admin/events/field-trip/:id/attachments",
    more: "/admin/events/field-trip/:id/more",
  },
};

function AdminEventFieldTripUpdatePage() {
  return <EventUpdatePage eventTypeConfig={fieldTripConfig} />;
}

export default AdminEventFieldTripUpdatePage;
