New header and backgroud style

This commit is contained in:
Jose Selesan
2026-05-04 14:33:58 -03:00
parent 38b2294aad
commit 546a020003
17 changed files with 636 additions and 283 deletions

View File

@@ -1,3 +1,4 @@
import { Layout } from '@/components/layout';
import { NotFoundPage } from '@/features/not-found/not-found-page';
import { ServerErrorPage } from '@/features/server-error/server-error-page';
import type { ApiClient } from '@/lib/api-client';
@@ -10,7 +11,17 @@ type RouterContext = {
};
export const Route = createRootRouteWithContext<RouterContext>()({
component: Outlet,
component: RootRoute,
errorComponent: ServerErrorPage,
notFoundComponent: NotFoundPage,
});
function RootRoute() {
return (
<Layout>
<div className="flex flex-col p-6">
<Outlet />
</div>
</Layout>
)
}