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

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

// Virtual event type configuration
const virtualConfig = {
  eventType: EVENT_TYPE_VIRTUAL,
  routePrefix: "virtual",
  labels: {
    eventTypeName: "Virtual",
    pluralName: "Virtual Events",
  },
  icons: {
    main: ComputerDesktopIcon,
  },
  routes: {
    list: "/admin/events/virtuals",
    edit: "/admin/events/virtual/:id/edit",
    full: "/admin/events/virtual/:id/full",
    eventOrders: "/admin/events/virtual/:id/event-orders",
    eventContracts: "/admin/events/virtual/:id/event-contracts",
    comments: "/admin/events/virtual/:id/comments",
    attachments: "/admin/events/virtual/:id/attachments",
    more: "/admin/events/virtual/:id/more",
  },
};

function AdminEventVirtualUpdatePage() {
  return <EventUpdatePage eventTypeConfig={virtualConfig} />;
}

export default AdminEventVirtualUpdatePage;
