diff --git a/app/globals.css b/app/globals.css
index 394035e..2d871a5 100644
--- a/app/globals.css
+++ b/app/globals.css
@@ -150,4 +150,35 @@
body {
@apply bg-background text-foreground;
}
+
+ /* Deshabilitar animaciones cuando se prefiere */
+ .no-animations *,
+ .no-animations *::before,
+ .no-animations *::after {
+ animation-duration: 0.01ms !important;
+ animation-iteration-count: 1 !important;
+ transition-duration: 0.01ms !important;
+ scroll-behavior: auto !important;
+ }
+
+ /* Modo compacto */
+ .compact-mode {
+ --spacing-scale: 0.75;
+ }
+
+ .compact-mode .p-4 {
+ padding: 0.75rem;
+ }
+
+ .compact-mode .p-6 {
+ padding: 1rem;
+ }
+
+ .compact-mode .gap-4 {
+ gap: 0.75rem;
+ }
+
+ .compact-mode .gap-6 {
+ gap: 1rem;
+ }
}
diff --git a/app/layout.tsx b/app/layout.tsx
index 74369bf..06e010e 100644
--- a/app/layout.tsx
+++ b/app/layout.tsx
@@ -1,10 +1,10 @@
import type { Metadata } from "next";
import { Geist, Geist_Mono } from "next/font/google";
import "./globals.css";
-import { SidebarProvider, SidebarTrigger, SidebarInset } from "@/components/ui/sidebar"
-import { AppSidebar } from "@/components/app-sidebar"
-import { ThemeProvider } from "@/components/theme-provider"
-
+import { ThemeProvider } from "@/components/theme-provider";
+import { SettingsProvider } from "@/components/settings";
+import { AuthProvider } from "@/hooks/use-auth";
+import { MainLayout } from "@/components/layouts/main-layout";
const geistSans = Geist({
variable: "--font-geist-sans",
@@ -18,7 +18,7 @@ const geistMono = Geist_Mono({
export const metadata: Metadata = {
title: "Dolibarr proyectos",
- description: "Generated by create next app",
+ description: "Panel de gestión de proyectos de Dolibarr",
};
export default function RootLayout({
@@ -35,19 +35,13 @@ export default function RootLayout({
enableSystem
disableTransitionOnChange
>
-
-
-
-
-
-
- {children}
-
-
-
+
+
+ {children}
+
+