update layout
This commit is contained in:
@@ -79,14 +79,13 @@ const data = {
|
||||
export function AppSidebar() {
|
||||
return (
|
||||
<Sidebar collapsible="icon">
|
||||
<SidebarRail title="Mostrar/ocultar barra lateral" />
|
||||
<SidebarHeader>
|
||||
<WorkspaceSwitcher />
|
||||
</SidebarHeader>
|
||||
<SidebarContent>
|
||||
<SidebarRail />
|
||||
<NavMain data={data} />
|
||||
</SidebarContent>
|
||||
<SidebarFooter />
|
||||
</Sidebar>
|
||||
)
|
||||
}
|
||||
|
||||
@@ -81,7 +81,7 @@ export default function Route({ loaderData }: Route.ComponentProps) {
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<main className="p-4">
|
||||
<div className="p-4">
|
||||
<div className="container mx-auto relative">
|
||||
<Outlet />
|
||||
<Toaster
|
||||
@@ -91,7 +91,7 @@ export default function Route({ loaderData }: Route.ComponentProps) {
|
||||
closeButton={true}
|
||||
/>
|
||||
</div>
|
||||
</main>
|
||||
</div>
|
||||
</SidebarInset>
|
||||
</SidebarProvider>
|
||||
</WorkspaceProvider>
|
||||
|
||||
Reference in New Issue
Block a user