import { langEnum } from "@/types/lang";

import Da from "./Da";
import De from "./De";
import En from "./En";
import Fi from "./Fi";
import No from "./No";
import Sv from "./Sv";

import type { LangParams } from "@/types/params";

export default function Footer({ lang }: LangParams) {
  switch (lang) {
    case langEnum.da:
      return <Da />;
    case langEnum.de:
      return <De />;
    case langEnum.en:
      return <En />;
    case langEnum.fi:
      return <Fi />;
    case langEnum.no:
      return <No />;
    case langEnum.sv:
      return <Sv />;
    default:
      return null;
  }
}
