diff --git a/app/home/(user)/(dashboard)/order-analysis/page.tsx b/app/home/(user)/(dashboard)/order-analysis/page.tsx new file mode 100644 index 0000000..e8d28ad --- /dev/null +++ b/app/home/(user)/(dashboard)/order-analysis/page.tsx @@ -0,0 +1,28 @@ +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-analysis:title'), + }; +}; + +async function OrderAnalysisPage() { + return ( + <> + } + description={} + /> + + + + ); +} + +export default withI18n(OrderAnalysisPage); diff --git a/app/home/(user)/(dashboard)/order-health-analysis/page.tsx b/app/home/(user)/(dashboard)/order-health-analysis/page.tsx new file mode 100644 index 0000000..6a8524f --- /dev/null +++ b/app/home/(user)/(dashboard)/order-health-analysis/page.tsx @@ -0,0 +1,28 @@ +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 ( + <> + } + description={} + /> + + + + ); +} + +export default withI18n(OrderHealthAnalysisPage); diff --git a/config/paths.config.ts b/config/paths.config.ts index ca6222d..1a2a2d4 100644 --- a/config/paths.config.ts +++ b/config/paths.config.ts @@ -60,10 +60,9 @@ const pathsConfig = PathsSchema.parse({ booking: '/home/booking', orderAnalysisPackage: '/home/order-analysis-package', myOrders: '/home/order', - // these routes are added as placeholders and can be changed when the pages are added analysisResults: '/home/analysis-results', - orderAnalysis: '/order-analysis', - orderHealthAnalysis: '/order-health-analysis', + orderAnalysis: '/home/order-analysis', + orderHealthAnalysis: '/home/order-health-analysis', }, } satisfies z.infer);