update package

This commit is contained in:
2025-11-19 15:13:00 -03:00
parent a180e269f2
commit d37db405c8
51 changed files with 5870 additions and 2490 deletions

View File

@@ -1,3 +1,5 @@
import type { Route } from './+types/root'
import {
isRouteErrorResponse,
Links,
@@ -7,22 +9,34 @@ import {
ScrollRestoration
} from 'react-router'
import '@repo/ui/globals.css'
import type { Route } from './+types/root'
import { loggingMiddleware } from '@repo/auth/middleware/logging'
import { ThemeProvider } from '@repo/ui/components/theme-provider'
import './app.css'
export const middleware: Route.MiddlewareFunction[] = [loggingMiddleware]
export function Layout({ children }: { children: React.ReactNode }) {
return (
<html lang="pt-br" className="dark">
<html lang="pt-br" className="h-full" suppressHydrationWarning>
<head>
<meta charSet="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
<title>saladeaula.digital</title>
<Meta />
<Links />
</head>
<body>
{children}
<ScrollRestoration />
<Scripts />
<body className="h-full">
<ThemeProvider
attribute="class"
defaultTheme="system"
enableSystem
disableTransitionOnChange
>
{children}
<ScrollRestoration />
<Scripts />
</ThemeProvider>
</body>
</html>
)