* remove outdated translations for insights * use i18n strings for insights * use i18n strings for routing forms * use i18n strings for apps store * fix more pages * refactor * fix
19 lines
606 B
TypeScript
19 lines
606 B
TypeScript
import { withAppDirSsr } from "app/WithAppDirSsr";
|
|
import { _generateMetadata } from "app/_utils";
|
|
import { WithLayout } from "app/layoutHOC";
|
|
|
|
import { getServerSideProps } from "@lib/insights/getServerSideProps";
|
|
|
|
import type { PageProps } from "~/insights/insights-view";
|
|
import InsightsPage from "~/insights/insights-view";
|
|
|
|
export const generateMetadata = async () =>
|
|
await _generateMetadata(
|
|
(t) => t("insights"),
|
|
(t) => t("insights_subtitle")
|
|
);
|
|
|
|
const getData = withAppDirSsr<PageProps>(getServerSideProps);
|
|
|
|
export default WithLayout({ getLayout: null, getData, Page: InsightsPage });
|