diff --git a/src/app/ui/reports/reports-info.tsx b/src/app/ui/reports/reports-info.tsx
new file mode 100644
index 0000000..837a1e2
--- /dev/null
+++ b/src/app/ui/reports/reports-info.tsx
@@ -0,0 +1,57 @@
+'use client'
+
+import { useTranslations } from 'next-intl';
+import { useQuery } from '@tanstack/react-query';
+import { getUserFilesInfo } from '@/app/actions/action';
+import {convertBytes} from '@/app/lib/convertBytes';
+import { useEffect } from 'react';
+
+export default function ReportsInfo() {
+ const t = useTranslations("Global");
+
+ const {
+ data: filesInfo,
+ isLoading,
+ isError,
+ error,
+ } = useQuery({
+ queryKey: ['userFilesInfo'],
+ queryFn: getUserFilesInfo,
+ });
+
+ useEffect(() => {
+ console.log(filesInfo)
+ }, [filesInfo])
+
+ return (
+
+
+
+ {t('all-content')}
+
+
{filesInfo?.all_files_quantity ? filesInfo?.all_files_quantity : 0}
+
+
+
+
+ {t('violations-few')}
+
+
{filesInfo?.all_files_violation ? filesInfo?.all_files_violation : 0}
+
+
+
+
+ {t('monitoring')}
+
+
{filesInfo?.all_files_check ? filesInfo?.all_files_check : 0}
+
+
+
+
+ {t('efficiency')}
+
+
100%
+
+
+ )
+}
\ No newline at end of file
diff --git a/src/i18n/messages/en.json b/src/i18n/messages/en.json
index 2dd1a7a..cdfce60 100644
--- a/src/i18n/messages/en.json
+++ b/src/i18n/messages/en.json
@@ -220,7 +220,10 @@
"remove": "Remove",
"start-upload": "Start upload",
"completed": "Completed",
- "pending": "Pending"
+ "pending": "Pending",
+ "all-content": "All content",
+ "monitoring": "Monitoring",
+ "efficiency": "Efficiency"
},
"Login-register-form": {
"and": "and",
diff --git a/src/i18n/messages/ru.json b/src/i18n/messages/ru.json
index 0aa8ad0..c37ea2e 100644
--- a/src/i18n/messages/ru.json
+++ b/src/i18n/messages/ru.json
@@ -220,7 +220,10 @@
"remove": "Удалить",
"start-upload": "Начать загрузку",
"completed": "Завершено",
- "pending": "В ожидании"
+ "pending": "В ожидании",
+ "all-content": "Весь контент",
+ "monitoring": "Мониторинг",
+ "efficiency": "Эффективность"
},
"Login-register-form": {
"and": "и",