feat: support boot-ui

This commit is contained in:
ReaJason
2024-12-20 01:15:12 +08:00
parent 2b00c96a06
commit 534db31fa0
81 changed files with 1556 additions and 929 deletions
-9
View File
@@ -1,10 +1,7 @@
import { ModeToggle } from "@/components/mode-toggle.tsx";
import { ThemeProvider } from "@/components/theme-provider.tsx";
import { Alert, AlertDescription, AlertTitle } from "@/components/ui/alert.tsx";
import { Button } from "@/components/ui/button.tsx";
import { Outlet, createRootRoute } from "@tanstack/react-router";
import { TanStackRouterDevtools } from "@tanstack/router-devtools";
import { ServerOffIcon } from "lucide-react";
export const Route = createRootRoute({
component: RootComponent,
@@ -43,13 +40,7 @@ function RootComponent() {
</div>
</div>
</header>
<Alert className="px-4 border-0 border-b">
<ServerOffIcon className="h-4 w-4" />
<AlertTitle>!</AlertTitle>
<AlertDescription>.</AlertDescription>
</Alert>
<Outlet />
<TanStackRouterDevtools position="bottom-right" />
</div>
</ThemeProvider>
);