add translate and make refactor

This commit is contained in:
smanylov
2025-12-17 16:41:07 +07:00
parent fd59fb3e5e
commit 9b8cb3b583
13 changed files with 261 additions and 83 deletions
@@ -1,12 +1,15 @@
import ProtectionSummary from '@/app/ui/marking-page/protection-summary';
import TestSection from '@/app/ui/marking-page/test-section';
import FilesTable from '@/app/ui/dashboard/files-table';
import {useTranslations} from 'next-intl';
export default function Page() {
const t = useTranslations('Global');
return (
<div>
<div className="page-title">
<h1 >Защита аудио</h1>
<h1>{t('audio-protection')}</h1>
</div>
<ProtectionSummary />
{/* <TestSection /> */}
@@ -2,13 +2,16 @@ import ProtectionSummary from '@/app/ui/marking-page/protection-summary';
import TestSection from '@/app/ui/marking-page/test-section';
import UploadSectionVideo from '@/app/ui/marking-page/upload-section-video';
import FilesTable from '@/app/ui/dashboard/files-table';
import {useTranslations} from 'next-intl';
export default function Page() {
const t = useTranslations('Global');
return (
<div>
<div className="page-title">
<h1 >Защита видео</h1>
<h1>{t('video-protection')}</h1>
</div>
<ProtectionSummary />
<UploadSectionVideo />