feat: add modal component for sighting details with content display

- Implemented ModalComponent for reusable modal functionality.
- Created SightingItemModal to manage modal state and display sighting details.
- Developed SightingModalContent to render sighting information including video feed and metadata.
This commit is contained in:
2025-12-23 10:37:02 +00:00
parent a299960dfb
commit 3b7487da09
15 changed files with 574 additions and 717 deletions

View File

@@ -4,12 +4,13 @@ import "./index.css";
import { RouterProvider, createRouter } from "@tanstack/react-router";
import { routeTree } from "./routeTree.gen.ts";
import AppProviders from "./app/providers/AppProviders.tsx";
import Modal from "react-modal";
const router = createRouter({
routeTree,
basepath: "/aiq-lite",
});
Modal.setAppElement("#root");
declare module "@tanstack/react-router" {
interface Register {
router: typeof router;