NestJS backend rewrite; migrate client to FluentUI V9

This commit is contained in:
2025-09-18 15:48:08 +09:00
parent 32ff36a12c
commit 34529cea68
62 changed files with 5642 additions and 3679 deletions

View File

@ -4,8 +4,8 @@ import MainLayout from "./layouts/MainLayout"
import { initAuth, useAuthStore } from "./store/auth"
import { useEffect, useState } from "react"
import DashboardLayout from "./layouts/DashboardLayout"
import { Box, Loader } from "@mantine/core"
import { pages } from "./constants/app"
import { Spinner } from "@fluentui/react-components"
function App() {
const auth = useAuthStore()
@ -24,11 +24,14 @@ function App() {
if (isLoading) {
return (
<Loader />
<Spinner />
)
} else {
return (
<Box w='100%' h='100vh'>
<div style={{
width: '100%',
height: '100vh'
}}>
<Router>
<Routes>
<Route element={<MainLayout />}>
@ -45,7 +48,7 @@ function App() {
</Route>
</Routes>
</Router>
</Box>
</div>
)
}
}