From ce9d9e6fbe78de8ad60a00f7eaabeb29c42abd28 Mon Sep 17 00:00:00 2001 From: Diyar Akhgar Date: Thu, 12 Jun 2025 23:20:40 +0330 Subject: [PATCH] userAcount page Responsive --- xroom-dashboard/src/components/Header.vue | 1 + .../src/components/SidebarMenu.vue | 44 +- .../src/pages/dashboard/EditProfile.vue | 443 ++++++++++++++---- 3 files changed, 391 insertions(+), 97 deletions(-) diff --git a/xroom-dashboard/src/components/Header.vue b/xroom-dashboard/src/components/Header.vue index 53c4863..9c8bcce 100644 --- a/xroom-dashboard/src/components/Header.vue +++ b/xroom-dashboard/src/components/Header.vue @@ -182,6 +182,7 @@ export default { align-items: center; gap: 8px; position: relative; + cursor: pointer; } .user-icon { diff --git a/xroom-dashboard/src/components/SidebarMenu.vue b/xroom-dashboard/src/components/SidebarMenu.vue index a1a3d1f..0cbf12b 100644 --- a/xroom-dashboard/src/components/SidebarMenu.vue +++ b/xroom-dashboard/src/components/SidebarMenu.vue @@ -251,7 +251,7 @@ export default { .profile-container { display: flex; align-items: center; - gap: 1.5rem; + gap: 0.5rem; } .group { @@ -346,7 +346,7 @@ export default { @media (max-width: 520px) { .sidebar { width: 250px; - padding: 1rem 1rem 1rem 0.5rem; + padding: 1rem 0.5rem; transition: transform 0.3s ease-in-out; transform: translateX(100%); } @@ -361,9 +361,18 @@ export default { } .group { + width: 100%; } + .profile-link { + margin-right: -30px; + } + + .frame { + padding-right: 0.5rem; + } + .clip-path-group-wrapper { width: 150px; height: 40px; @@ -379,7 +388,7 @@ export default { @media (min-width: 520px) and (max-width: 780px) { .sidebar { width: 22rem; - padding: 1rem 1rem 1rem 0.5rem; + padding: 1rem 0.5rem 1rem 0.5rem; transform: translateX(100%); } @@ -395,6 +404,14 @@ export default { .group { width: 100%; } + + .profile-link { + margin-right: -30px; + } + + .frame { + padding-right: 0.5rem; + } .clip-path-group-wrapper { width: 150px; @@ -478,24 +495,41 @@ export default { .group { width: 228px; - margin-bottom: 75px; + margin-bottom: 30px; } .profile { - margin-left: 20px; + width: 120px; + height: 120px; + margin-left: 0; } .profile-container { padding: 10px 0; position: relative; + gap: 0; } .text-wrapper-2 { font-size: 16px; } + .logo-xroom { + margin-top: 2.5rem; + } + .text-wrapper-3 { font-size: 19px; } + + .clip-path-group{ + width: 150px; + height: 40px; + } + + .clip-path-group-wrapper { + width: 150px; + height: 40px; + } } \ No newline at end of file diff --git a/xroom-dashboard/src/pages/dashboard/EditProfile.vue b/xroom-dashboard/src/pages/dashboard/EditProfile.vue index 5564f67..e071a27 100644 --- a/xroom-dashboard/src/pages/dashboard/EditProfile.vue +++ b/xroom-dashboard/src/pages/dashboard/EditProfile.vue @@ -13,11 +13,31 @@

می‌توانید با آپلود یک تصویر، به شخصی‌سازی آواتار خود، ظاهر خود را در محیط واقعیت مجازی ویرایش کنید.

-
- - تغییر آواتار - + +
+ + + + + + + + + + + + + تغییر آواتار + + + + + + + ساخت آواتار جدید + +
@@ -53,12 +73,44 @@ این نماد در کنار نام شما و برای دیگران در واقعیت مجازی و در پلتفرم وب قابل مشاهده خواهد بود.

- - - - - - +
+ + + +
@@ -71,13 +123,12 @@
- - - + +
- +