import React from "react";
import { BrowserRouter, Routes, Route } from "react-router-dom";
import { App } from "./App";
import { PathoraViewer } from "./components/viewer/PathoraViewer";

export function AppRouter() {
  return (
    <BrowserRouter>
      <Routes>
        <Route path="/" element={<PathoraViewer />} />
        <Route path="/app" element={<App />} />
        <Route path="/viewer" element={<PathoraViewer />} />
      </Routes>
    </BrowserRouter>
  );
}