From cbf50b064114825abd976fafac2754cb89036f99 Mon Sep 17 00:00:00 2001 From: iDefineHD Date: Sun, 11 Jan 2026 04:27:24 +0000 Subject: [PATCH] update the ban page --- frontend/src/views/BannedPage.vue | 111 +++++++++++++++++------------- 1 file changed, 62 insertions(+), 49 deletions(-) diff --git a/frontend/src/views/BannedPage.vue b/frontend/src/views/BannedPage.vue index d4a2c69..f3227a1 100644 --- a/frontend/src/views/BannedPage.vue +++ b/frontend/src/views/BannedPage.vue @@ -9,42 +9,46 @@

Account Suspended

- -
-
- Reason: - {{ - banInfo.reason || "Violation of Terms of Service" - }} + +
+
+
+ Reason: + {{ + banInfo.reason || "Violation of Terms of Service" + }} +
+ +
+ Banned on: + {{ formatDate(banInfo.bannedAt) }} +
+ +
+ Ban expires: + {{ + formatDate(banInfo.bannedUntil) + }} +
+ +
+ + This is a permanent ban +
-
- Banned on: - {{ formatDate(banInfo.bannedAt) }} +
+

+ If you believe this ban was made in error, you can submit an appeal. +

+ + + Contact Support +
- -
- Ban expires: - {{ - formatDate(banInfo.bannedUntil) - }} -
- -
- - This is a permanent ban -
-
- - -
-

- If you believe this ban was made in error, you can submit an appeal. -

- - - Contact Support -
@@ -275,15 +279,6 @@ onMounted(() => { line-height: 1.6; } -.ban-details { - background: rgba(239, 68, 68, 0.1); - border: 1px solid rgba(239, 68, 68, 0.3); - border-radius: 1rem; - padding: 1.5rem; - margin-bottom: 2rem; - text-align: left; -} - .detail-item { display: flex; justify-content: space-between; @@ -354,23 +349,40 @@ onMounted(() => { line-height: 1.5; } -.appeal-section { - margin: 2rem 0; - padding: 1.5rem; - background: rgba(255, 255, 255, 0.05); +.ban-details-container { + background: rgba(239, 68, 68, 0.1); + border: 1px solid rgba(239, 68, 68, 0.3); border-radius: 1rem; - border: 1px solid rgba(255, 255, 255, 0.1); + padding: 1.5rem; + margin-bottom: 2rem; +} + +.ban-details { + margin-bottom: 1.5rem; + padding-bottom: 1.5rem; + border-bottom: 1px solid rgba(239, 68, 68, 0.2); + text-align: left; +} + +.appeal-section { + margin: 0; + padding: 0; + background: none; + border: none; + text-align: center; } .appeal-text { font-size: 0.9375rem; color: #d1d5db; margin: 0 0 1rem 0; + text-align: center; } .appeal-btn { display: inline-flex; align-items: center; + justify-content: center; gap: 0.75rem; padding: 0.875rem 2rem; background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%); @@ -382,6 +394,8 @@ onMounted(() => { transition: all 0.3s; box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4); border: 1px solid rgba(59, 130, 246, 0.5); + width: 100%; + max-width: 300px; } .appeal-btn:hover { @@ -506,8 +520,7 @@ onMounted(() => { } .appeal-btn { - width: 100%; - justify-content: center; + max-width: 100%; } }