// File Path: monorepo/web/frontend/src/pages/Admin/Event/InSchool/Search/CriteriaPage.jsx

import React from "react";
import { EventSearchCriteriaComponent } from "../../../../../components/business/events";
import { HomeIcon } from "@heroicons/react/24/outline";

// InSchool (Onsite) event type configuration
const inSchoolConfig = {
  eventTypeName: "In-School Event",
  pluralName: "In-School Events",
  listRoute: "/admin/events/in-schools",
  resultsRoute: "/admin/events/in-schools/search-result",
  icon: HomeIcon,
};

function AdminEventInSchoolSearchCriteriaPage() {
  return <EventSearchCriteriaComponent eventTypeConfig={inSchoolConfig} />;
}

export default AdminEventInSchoolSearchCriteriaPage;
