// File Path: monorepo/web/frontend/src/pages/Admin/Event/FieldTrip/Search/ResultPage.jsx

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

// FieldTrip (Offsite) event type configuration
const fieldTripConfig = {
  eventTypeName: "Field Trip",
  pluralName: "Field Trips",
  listRoute: "/admin/events/field-trips",
  searchRoute: "/admin/events/field-trips/search",
  addRoute: "/admin/events/field-trips/add/step-1",
  detailRoute: "/admin/events/field-trip",
  icon: TruckIcon,
  eventTypeId: EVENT_TYPE_OF_ID_FIELD_TRIP,
};

function AdminEventFieldTripSearchResultPage() {
  return <EventSearchResultsComponent eventTypeConfig={fieldTripConfig} />;
}

export default AdminEventFieldTripSearchResultPage;
