// pages/index.js
import CompMenuprincipal from '@/views/landing/menu';
import Inicio from '@/views/landing/inicio';

export default function Home({ darkMode, onToggleDarkMode }) {
  return (
    <div className={darkMode ? 'dark' : ''}>
      <CompMenuprincipal 
        darkMode={darkMode} 
        onToggleDarkMode={onToggleDarkMode} 
      />
      <Inicio 
        darkMode={darkMode} 
        onToggleDarkMode={onToggleDarkMode} 
      />
    </div>
  );
}