committed by
GitHub
parent
59dfc0ad91
commit
c185bcfa11
35
apps/dev-tool/app/translations/page.tsx
Normal file
35
apps/dev-tool/app/translations/page.tsx
Normal file
@@ -0,0 +1,35 @@
|
||||
import { Metadata } from 'next';
|
||||
|
||||
import { AppBreadcrumbs } from '@kit/ui/app-breadcrumbs';
|
||||
import { Page, PageBody, PageHeader } from '@kit/ui/page';
|
||||
|
||||
import { TranslationsComparison } from './components/translations-comparison';
|
||||
import { loadTranslations } from './lib/translations-loader';
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: 'Translations Comparison',
|
||||
description: 'Compare translations across different languages',
|
||||
};
|
||||
|
||||
export default async function TranslationsPage() {
|
||||
const translations = await loadTranslations();
|
||||
|
||||
return (
|
||||
<Page style={'custom'}>
|
||||
<PageHeader
|
||||
displaySidebarTrigger={false}
|
||||
description={
|
||||
<AppBreadcrumbs
|
||||
values={{
|
||||
translations: 'Translations',
|
||||
}}
|
||||
/>
|
||||
}
|
||||
/>
|
||||
|
||||
<PageBody className={'py-4'}>
|
||||
<TranslationsComparison translations={translations} />
|
||||
</PageBody>
|
||||
</Page>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user