import { getDictionary, Locale } from "../../dictionaries";
import GaleriClient from "./GaleriClient";

export const metadata = {
  title: "Galeri | Moy Group",
};

export default async function GaleriPage({
  params,
}: {
  params: Promise<{ lang: string }>;
}) {
  const { lang } = await params;
  const locale = lang as Locale;
  const dict = await getDictionary(locale);

  return <GaleriClient lang={locale} dict={dict} />;
}
