- 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/
21 lines
479 B
TypeScript
21 lines
479 B
TypeScript
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;
|