import React from 'react';
import Header from './Header';
import SubHeader from './SubHeader';

export default function Layout({ children, user, role }) {
    return (
        <div className="min-h-screen bg-[#FDFDFD] font-sans flex flex-col">
            <Header profile={user} />
            <SubHeader role={role} />
            <main className="flex-1 overflow-x-hidden">
                {children}
            </main>
        </div>
    );
}
