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

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

// Virtual event type configuration
const virtualConfig = {
  eventTypeName: "Virtual Event",
  pluralName: "Virtual Events",
  listRoute: "/admin/events/virtuals",
  searchRoute: "/admin/events/virtuals/search",
  addRoute: "/admin/events/virtuals/add/step-1",
  detailRoute: "/admin/events/virtual",
  icon: ComputerDesktopIcon,
  eventTypeId: EVENT_TYPE_OF_ID_VIRTUAL,
};

function AdminEventVirtualSearchResultPage() {
  return <EventSearchResultsComponent eventTypeConfig={virtualConfig} />;
}

export default AdminEventVirtualSearchResultPage;
