Something went wrong. Try again.
A self-hosted web platform for applications & services with design based on Google's Material 3 Expressive. (Work In Progress)
Something went wrong. Try again.
1234567891011121314151617181920212223242526272829303132333435import { UIKitRoot } from "@ewsgit/uikit-solid/src/index.tsx";import { Route, Router } from "@solidjs/router";import { type Component, lazy } from "solid-js";import styles from "./App.module.scss";import ApplicationsRouter from "./ApplicationsRouter.tsx";import MissingApp from "./MissingApp.tsx";import AppIndex from "./pages/app/Index.tsx";
const App: Component = () => { return ( <UIKitRoot class={styles.root}> <Router> <Route component={lazy(() => import("./pages/userSelect/Layout.tsx"))}> <Route path={"/"} component={lazy(() => import("./pages/userSelect/login/Login.tsx"))} /> <Route path={"/signup"} component={lazy(() => import("./pages/userSelect/signup/Signup.tsx"))} /> <Route path={"/forgot-password"} component={lazy(() => import("./pages/userSelect/forgotPassword/ForgotPassword.tsx"))} /> </Route> <Route component={lazy(() => import("./pages/app/AuthCheck.tsx"))}> <Route component={lazy(() => import("./pages/app/Layout.tsx"))}> <Route path={"app"}> <Route path={"/"} component={AppIndex} /> <ApplicationsRouter /> <Route path={":applicationId"} component={MissingApp} /> </Route> <Route path={"*"} component={lazy(() => import("./pages/notFound/Index.tsx"))} /> </Route> </Route> <Route path={"*"} component={lazy(() => import("./pages/notFound/Index.tsx"))} /> </Router> </UIKitRoot> );};
export default App;