import { Outlet } from 'react-router-dom';
import Sidebar from './Sidebar';
import ScrollToTopButton from '../ScrollToTopButton';

export default function Layout() {
  return (
    <div className="flex min-h-screen">
      <Sidebar />
      <main className="flex-1 p-8 overflow-auto">
        <Outlet />
      </main>
      <ScrollToTopButton />
    </div>
  );
}
