Added routes

This commit is contained in:
Jose Selesan
2026-09-25 10:05:56 -03:00
parent 336e1af523
commit 94c353f4f2
100 changed files with 6126 additions and 183 deletions

View File

@@ -1,9 +1,9 @@
import { Outlet } from '@tanstack/react-router'
import type { ReactNode } from 'react'
import { Header } from './Header'
import { Sidebar } from './Sidebar'
import { BottomNav } from './BottomNav'
export function RootLayout() {
export function RootLayout({ children }: { children: ReactNode }) {
return (
<div className="min-h-dvh w-full">
<Header />
@@ -11,12 +11,10 @@ export function RootLayout() {
<div className="mx-auto flex w-full max-w-7xl gap-6 lg:px-6">
<Sidebar />
<main className="min-w-0 flex-1 px-4 pb-24 pt-4 lg:px-0 lg:pb-8 lg:pt-8">
<Outlet />
</main>
<main className="min-w-0 flex-1 px-4 pb-24 pt-4 lg:px-0 lg:pb-8 lg:pt-8">{children}</main>
</div>
<BottomNav />
</div>
)
}
}