import { useTranslation } from "react-i18next"; import Head from "next/head"; import frameworkIntegrationOptions from "public/json/frameworkIntegrations.json"; import { IntegrationsPage } from "@app/views/IntegrationsPage"; type Props = { frameworkIntegrations: typeof frameworkIntegrationOptions; }; const Integration = ({ frameworkIntegrations }: Props) => { const { t } = useTranslation(); return ( <> {t("common.head-title", { title: t("integrations.title") })} ); }; export const getStaticProps = () => { return { props: { frameworkIntegrations: frameworkIntegrationOptions } }; }; export const getStaticPaths = async () => { return { paths: [], // indicates that no page needs be created at build time fallback: "blocking" // indicates the type of fallback }; }; Integration.requireAuth = true; export default Integration;