First public commit

This commit is contained in:
Luke Vella 2022-04-12 07:14:28 +01:00
commit e05cd62e53
228 changed files with 17717 additions and 0 deletions

15
pages/support.tsx Normal file
View file

@ -0,0 +1,15 @@
import { GetStaticProps } from "next";
import { serverSideTranslations } from "next-i18next/serverSideTranslations";
export { default } from "@/components/support";
export const getStaticProps: GetStaticProps = async ({ locale = "en" }) => {
try {
return {
props: {
...(await serverSideTranslations(locale, ["homepage", "support"])),
},
};
} catch {
return { notFound: true };
}
};