Initial commit: SKEEN Derma Experts - Sistema Integral de Gestión Clínica
- Frontend React (SKEEN Brand) con Vite, TypeScript, Tailwind - Frontend Homenest (versión alternativa) - Módulos Odoo 17 custom (citas, pacientes, monedero, pagos, ventas, inventario, whatsapp) - WACRM fork (Next.js 16 + Supabase) - Hermes + Bridge + Skills (Qwen3.6 via Nan Builders) - Scripts de migración y operación - Documentación extensiva en docs/
This commit is contained in:
20
frontend/src/components/Layout.tsx
Normal file
20
frontend/src/components/Layout.tsx
Normal file
@@ -0,0 +1,20 @@
|
||||
import type { FC, ReactNode } from 'react';
|
||||
import SkeenLayout from './SkeenLayout';
|
||||
import HomeNestLayout from './HomeNestLayout';
|
||||
import { useTheme } from '../lib/theme';
|
||||
|
||||
interface LayoutProps {
|
||||
children: ReactNode;
|
||||
title: string;
|
||||
subtitle?: string;
|
||||
}
|
||||
|
||||
const Layout: FC<LayoutProps> = (props) => {
|
||||
const { theme } = useTheme();
|
||||
if (theme === 'homenest') {
|
||||
return <HomeNestLayout {...props} />;
|
||||
}
|
||||
return <SkeenLayout {...props} />;
|
||||
};
|
||||
|
||||
export default Layout;
|
||||
Reference in New Issue
Block a user