feat(WEB-38, WEB-9, WEB-19): add static page for sponsoring, add Header and add Footer

This commit is contained in:
Christel Westerberg
2024-01-12 16:03:50 +01:00
parent 0a208923f8
commit bb90e2bf50
69 changed files with 3739 additions and 27 deletions

View File

@@ -0,0 +1,30 @@
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 { HeaderProps } from "@/types/components/current/header";
import type { LangProps } from "@/types/lang";
export default function Header({ lang, pathname }: LangProps<HeaderProps>) {
switch (lang) {
case langEnum.sv:
return <Sv pathname={pathname} />;
case langEnum.fi:
return <Fi pathname={pathname} />;
case langEnum.en:
return <En pathname={pathname} />;
case langEnum.da:
return <Da pathname={pathname} />;
case langEnum.de:
return <De pathname={pathname} />;
case langEnum.no:
return <No pathname={pathname} />;
default:
return null;
}
}