From f904a6b88bf5159bfbd5b4da4ebb19e9b14e5bc7 Mon Sep 17 00:00:00 2001 From: PEDZEO Date: Mon, 19 Jan 2026 02:11:49 +0300 Subject: [PATCH] Enhance AdminBanSystem error handling UI with a new design, including a card layout, error message display, and action buttons for Telegram contact and navigation. Improve user experience with animations and responsive design elements. --- src/pages/AdminBanSystem.tsx | 72 ++++++++++++++++++++++++++++++++++-- 1 file changed, 69 insertions(+), 3 deletions(-) diff --git a/src/pages/AdminBanSystem.tsx b/src/pages/AdminBanSystem.tsx index 99a87c7..9113f03 100644 --- a/src/pages/AdminBanSystem.tsx +++ b/src/pages/AdminBanSystem.tsx @@ -384,9 +384,75 @@ export default function AdminBanSystem() { if (error && !status?.enabled) { return ( -
-
{error}
-

{t('banSystem.configureHint')}

+
+
+ {/* Card */} +
+ {/* Icon */} +
+
+
+ + + +
+
+ + + +
+
+
+ + {/* Title */} +

+ {t('banSystem.title')} +

+ + {/* Error message */} +

+ {error} +

+ + {/* Hint */} +

+ {t('banSystem.configureHint')} +

+ + {/* Buttons */} +
+ {/* Telegram Button */} + + + + + {t('banSystem.contactTelegram', { defaultValue: 'Написать в Telegram' })} + + + {/* Back Button */} + +
+
+ + {/* Decorative elements */} +
+
+
+
+
) }