import { baseUrls } from "@/constants/routes/baseUrls"

import Header from "@/components/Current/Header"
import LanguageSwitcher from "@/components/Current/Header/LanguageSwitcher"

import { LangParams, PageArgs } from "@/types/params"

export default async function HeaderPage({ params }: PageArgs<LangParams>) {
  return (
    <Header
      lang={params.lang}
      languageSwitcher={<LanguageSwitcher urls={baseUrls} lang={params.lang} />}
    />
  )
}
