import { BrowserRouter, Outlet, Route, Routes } from "react-router-dom" import { Header } from "./pages/template/Header.tsx" import "./style/app.css" import { lazy } from "react" const HomePage = lazy(() => import("./pages/HomePage.tsx")) const LoginPage = lazy(() => import("./pages/LoginPage.tsx")) const RegisterPage = lazy(() => import("./pages/RegisterPage.tsx")) const NotFoundPage = lazy(() => import("./pages/404.tsx")) const CreateTeamPage = lazy(() => import("./pages/CreateTeamPage.tsx")) const TeamPanelPage = lazy(() => import("./pages/TeamPanel.tsx")) const NewTacticPage = lazy(() => import("./pages/NewTacticPage.tsx")) const Editor = lazy(() => import("./pages/Editor.tsx")) export default function App() { return (
} /> } /> }> } /> } /> } /> } /> } /> } /> } /> } />
) } function AppLayout() { return ( <>
) }