From a68b9d17da17f1828ebe0c8fdef10fcb3cb4e05e Mon Sep 17 00:00:00 2001 From: Levi Planelles Date: Thu, 11 Dec 2025 14:10:10 +0100 Subject: [PATCH] better sidebar with sidebar inset && dev tools desactivated --- app/layout.tsx | 14 ++++++++------ next.config.ts | 1 + 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/app/layout.tsx b/app/layout.tsx index 3731b8c..ab17add 100644 --- a/app/layout.tsx +++ b/app/layout.tsx @@ -1,9 +1,9 @@ import type { Metadata } from "next"; import { Geist, Geist_Mono } from "next/font/google"; import "./globals.css"; -import { SidebarProvider, SidebarTrigger } from "@/components/ui/sidebar" +import { SidebarProvider, SidebarTrigger, SidebarInset } from "@/components/ui/sidebar" import { AppSidebar } from "@/components/app-sidebar" -import { noSSR } from "next/dynamic"; + const geistSans = Geist({ variable: "--font-geist-sans", @@ -27,17 +27,19 @@ export default function RootLayout({ }>) { return ( - + + +
- {children} + {children}
+
); } + diff --git a/next.config.ts b/next.config.ts index e9ffa30..bd7c7c9 100644 --- a/next.config.ts +++ b/next.config.ts @@ -2,6 +2,7 @@ import type { NextConfig } from "next"; const nextConfig: NextConfig = { /* config options here */ + devIndicators: false }; export default nextConfig;