import type { PropsWithChildren } from 'react'

import { Navbar } from './navbar'
import { Sidebar } from './sidebar'

export const AdminDashboardLayout = (properties: PropsWithChildren) => {
  const { children } = properties
  return (
    <div className="grid">
      <Navbar />
      <div className="flex">
        <Sidebar />
        <div>{children}</div>
      </div>
    </div>
  )
}
