From b30442dfc92c4876c1aafc05e7629130d8c9eaa5 Mon Sep 17 00:00:00 2001 From: mi1468 Date: Sat, 10 May 2025 13:57:19 +0330 Subject: [PATCH] added ready player page --- .../src/components/SidebarMenu.vue | 3 +- .../src/pages/dashboard/readyPlayer.vue | 463 ++++++++++++++++++ xroom-dashboard/src/router/index.js | 6 + 3 files changed, 471 insertions(+), 1 deletion(-) create mode 100644 xroom-dashboard/src/pages/dashboard/readyPlayer.vue diff --git a/xroom-dashboard/src/components/SidebarMenu.vue b/xroom-dashboard/src/components/SidebarMenu.vue index f8e19bb..2c1492b 100644 --- a/xroom-dashboard/src/components/SidebarMenu.vue +++ b/xroom-dashboard/src/components/SidebarMenu.vue @@ -99,7 +99,8 @@ export default { }, profileImageUrl() { if (!this.customer?.profile_img) return this.defaultProfileImage; - return `http://194.62.43.230:8000/media/${this.customer.profile_img}`; + return `${this.customer.profile_img}`; + // return `http://194.62.43.230:8000/media/${this.customer.profile_img}`; } }, methods: { diff --git a/xroom-dashboard/src/pages/dashboard/readyPlayer.vue b/xroom-dashboard/src/pages/dashboard/readyPlayer.vue new file mode 100644 index 0000000..6b3eb8d --- /dev/null +++ b/xroom-dashboard/src/pages/dashboard/readyPlayer.vue @@ -0,0 +1,463 @@ + + + + + \ No newline at end of file diff --git a/xroom-dashboard/src/router/index.js b/xroom-dashboard/src/router/index.js index 8c4aa10..337a3b7 100644 --- a/xroom-dashboard/src/router/index.js +++ b/xroom-dashboard/src/router/index.js @@ -40,6 +40,12 @@ const routes = [ component: () => import('@/pages/dashboard/EditProfile.vue'), meta: { requiresAuth: true } }, + { + path: '/dashboard/readyPlayer', + name: 'ReadyPlayer', + component: () => import('@/pages/dashboard/readyPlayer.vue'), + meta: { requiresAuth: true } + }, { path: '/dashboard/ChangeAvatar', name: 'ChangeAvatar',