import { getAllCategories } from '@/lib/directus'
import NavbarClient from './NavbarClient'

export default async function Navbar() {
  const categories = await getAllCategories()
  return <NavbarClient categories={categories} />
}
