* add doctor jobs view * change translation * another translation change * clean up * add analaysis detail view to paths config * translation * merge fix * fix path * move components to shared * refactor * imports * clean up
30 lines
778 B
TypeScript
30 lines
778 B
TypeScript
import { createI18nServerInstance } from '~/lib/i18n/i18n.server';
|
|
import { withI18n } from '~/lib/i18n/with-i18n';
|
|
|
|
import { PageBody } from '@kit/ui/page';
|
|
import { Trans } from '@kit/ui/trans';
|
|
import { HomeLayoutPageHeader } from '../../_components/home-page-header';
|
|
|
|
export const generateMetadata = async () => {
|
|
const { t } = await createI18nServerInstance();
|
|
|
|
return {
|
|
title: t('order-health-analysis:title'),
|
|
};
|
|
};
|
|
|
|
async function OrderHealthAnalysisPage() {
|
|
return (
|
|
<>
|
|
<HomeLayoutPageHeader
|
|
title={<Trans i18nKey={'order-health-analysis:title'} />}
|
|
description={<Trans i18nKey={'order-health-analysis:description'} />}
|
|
/>
|
|
<PageBody>
|
|
</PageBody>
|
|
</>
|
|
);
|
|
}
|
|
|
|
export default withI18n(OrderHealthAnalysisPage);
|