diff --git a/xroom-dashboard/package-lock.json b/xroom-dashboard/package-lock.json index 9e83a75..5cefbee 100644 --- a/xroom-dashboard/package-lock.json +++ b/xroom-dashboard/package-lock.json @@ -14,6 +14,7 @@ "axios": "^1.8.4", "core-js": "^3.8.3", "moment-jalaali": "^0.10.4", + "swiper": "^11.2.8", "video.js": "^7.21.7", "vue": "^3.2.13", "vue-pdf-embed": "^2.1.2", @@ -14211,6 +14212,25 @@ "node": ">= 10" } }, + "node_modules/swiper": { + "version": "11.2.8", + "resolved": "https://registry.npmjs.org/swiper/-/swiper-11.2.8.tgz", + "integrity": "sha512-S5FVf6zWynPWooi7pJ7lZhSUe2snTzqLuUzbd5h5PHUOhzgvW0bLKBd2wv0ixn6/5o9vwc/IkQT74CRcLJQzeg==", + "funding": [ + { + "type": "patreon", + "url": "https://www.patreon.com/swiperjs" + }, + { + "type": "open_collective", + "url": "http://opencollective.com/swiper" + } + ], + "license": "MIT", + "engines": { + "node": ">= 4.7.0" + } + }, "node_modules/table": { "version": "6.9.0", "resolved": "https://registry.npmmirror.com/table/-/table-6.9.0.tgz", diff --git a/xroom-dashboard/package.json b/xroom-dashboard/package.json index 35ceabe..634dc0c 100644 --- a/xroom-dashboard/package.json +++ b/xroom-dashboard/package.json @@ -14,6 +14,7 @@ "axios": "^1.8.4", "core-js": "^3.8.3", "moment-jalaali": "^0.10.4", + "swiper": "^11.2.8", "video.js": "^7.21.7", "vue": "^3.2.13", "vue-pdf-embed": "^2.1.2", diff --git a/xroom-dashboard/src/assets/img/img.jpg b/xroom-dashboard/src/assets/img/img.jpg new file mode 100644 index 0000000..6d58816 Binary files /dev/null and b/xroom-dashboard/src/assets/img/img.jpg differ diff --git a/xroom-dashboard/src/assets/img/img2.jpg b/xroom-dashboard/src/assets/img/img2.jpg new file mode 100644 index 0000000..0dcdfe5 Binary files /dev/null and b/xroom-dashboard/src/assets/img/img2.jpg differ diff --git a/xroom-dashboard/src/assets/img/img3.jpg b/xroom-dashboard/src/assets/img/img3.jpg new file mode 100644 index 0000000..909d626 Binary files /dev/null and b/xroom-dashboard/src/assets/img/img3.jpg differ diff --git a/xroom-dashboard/src/assets/img/img4.jpg b/xroom-dashboard/src/assets/img/img4.jpg new file mode 100644 index 0000000..e677081 Binary files /dev/null and b/xroom-dashboard/src/assets/img/img4.jpg differ diff --git a/xroom-dashboard/src/components/CreateSpaceModal.vue b/xroom-dashboard/src/components/CreateSpaceModal.vue new file mode 100644 index 0000000..17911e7 --- /dev/null +++ b/xroom-dashboard/src/components/CreateSpaceModal.vue @@ -0,0 +1,281 @@ + + + + + + + \ No newline at end of file diff --git a/xroom-dashboard/src/components/RoomSelectionModal.vue b/xroom-dashboard/src/components/RoomSelectionModal.vue index 50cc7ac..6ead44e 100644 --- a/xroom-dashboard/src/components/RoomSelectionModal.vue +++ b/xroom-dashboard/src/components/RoomSelectionModal.vue @@ -352,7 +352,7 @@ export default { rooms: [ { id: 1, - image: require('@/assets/img/img.png'), + image: require('@/assets/img/img.jpg'), name: 'Interview room 1', capacity: 33, type: 'فضا تیم', @@ -360,7 +360,7 @@ export default { }, { id: 2, - image: require('@/assets/img/img.png'), + image: require('@/assets/img/img.jpg'), name: 'Interview room 2', capacity: 24, type: 'آموزشی', @@ -368,7 +368,7 @@ export default { }, { id: 3, - image: require('@/assets/img/img.png'), + image: require('@/assets/img/img.jpg'), name: 'Interview room 3', capacity: 60, type: 'جلسه تیمی', @@ -376,7 +376,7 @@ export default { }, { id: 4, - image: require('@/assets/img/img.png'), + image: require('@/assets/img/img.jpg'), name: 'Interview room 4', capacity: 33, type: 'فضا تیم', @@ -384,7 +384,7 @@ export default { }, { id: 5, - image: require('@/assets/img/img.png'), + image: require('@/assets/img/img.jpg'), name: 'Interview room 5', capacity: 24, type: 'آموزشی', @@ -392,7 +392,7 @@ export default { }, { id: 6, - image: require('@/assets/img/img.png'), + image: require('@/assets/img/img.jpg'), name: 'Interview room 6', capacity: 60, type: 'جلسه تیمی', @@ -400,7 +400,7 @@ export default { }, { id: 7, - image: require('@/assets/img/img.png'), + image: require('@/assets/img/img.jpg'), name: 'Interview room 7', capacity: 33, type: 'فضا تیم', @@ -408,7 +408,7 @@ export default { }, { id: 8, - image: require('@/assets/img/img.png'), + image: require('@/assets/img/img.jpg'), name: 'Interview room 8', capacity: 24, type: 'آموزشی', @@ -463,7 +463,7 @@ export default { createTemporaryRoom() { const newRoom = { id: this.rooms.length + this.Temporaryrooms.length + 1, - image: this.newTempRoom.image || require('@/assets/img/img.png'), + image: this.newTempRoom.image || require('@/assets/img/img.jpg'), name: this.newTempRoom.name, capacity: this.newTempRoom.capacity, type: this.newTempRoom.type, @@ -720,4 +720,9 @@ export default { display: block; margin-right: auto; } + +.room-image { + border-radius: 10px; +} + \ No newline at end of file diff --git a/xroom-dashboard/src/components/SidebarMenu.vue b/xroom-dashboard/src/components/SidebarMenu.vue index 950beca..2cc3732 100644 --- a/xroom-dashboard/src/components/SidebarMenu.vue +++ b/xroom-dashboard/src/components/SidebarMenu.vue @@ -39,7 +39,7 @@
داشبورد
- +
فضاها
diff --git a/xroom-dashboard/src/pages/dashboard/Meeting.vue b/xroom-dashboard/src/pages/dashboard/Meeting.vue index 7c4f391..f98e2e2 100644 --- a/xroom-dashboard/src/pages/dashboard/Meeting.vue +++ b/xroom-dashboard/src/pages/dashboard/Meeting.vue @@ -158,7 +158,7 @@ export default { id: 1, title: 'Interview room', date: '2025-05-25T10:00:00', - image: require('@/assets/img/img.png'), + image: require('@/assets/img/img.jpg'), type: 'فضا تیم', maxCapacity: 33, }, @@ -166,7 +166,7 @@ export default { id: 2, title: 'جلسه بررسی پیشرفت', date: '2025-05-18T14:00:00', - image: require('@/assets/img/img.png'), + image: require('@/assets/img/img.jpg'), type: 'مدیریتی', maxCapacity: 8, }, @@ -174,7 +174,7 @@ export default { id: 3, title: 'جلسه تیم فنی', date: '2025-06-01T09:00:00', - image: require('@/assets/img/img.png'), + image: require('@/assets/img/img.jpg'), type: 'فنی', maxCapacity: 12, }, @@ -330,11 +330,9 @@ export default { color: #FFFFFF; font-size: 15px; font-weight: 500; - height: 38px; - width: 51px; border-radius: 8px; border: none; - padding: 7px 10px; + padding: 7px 12px; cursor: pointer; margin-left: 1rem; } @@ -344,8 +342,6 @@ export default { background-color: #FFFFFF; font-size: 15px; font-weight: 500; - height: 38px; - width: 51px; border-radius: 8px; border: none; padding: 7px 10px; @@ -376,16 +372,16 @@ export default { } .create-meet { - width: 191px; - height: 46px; - padding: 12px 24px 12px 24px; - background-color: #3A57E8; - border-radius: 8px; - font-size: 16px; - font-weight: 500; - color: #FFFFFF; - border: none; - cursor: pointer; + padding: 12px 24px 12px 24px; + background-color: #3A57E8; + border-radius: 8px; + font-size: 16px; + font-weight: 500; + color: #FFFFFF; + border: none; + cursor: pointer; + width: max-content; + } .meetings-list { @@ -428,6 +424,10 @@ export default { align-items: center; } + .meeting-image { + border-radius: 10px; + } + \ No newline at end of file diff --git a/xroom-dashboard/src/pages/dashboard/Spaces.vue b/xroom-dashboard/src/pages/dashboard/Spaces.vue new file mode 100644 index 0000000..2dd84eb --- /dev/null +++ b/xroom-dashboard/src/pages/dashboard/Spaces.vue @@ -0,0 +1,457 @@ + + + + + \ No newline at end of file diff --git a/xroom-dashboard/src/router/index.js b/xroom-dashboard/src/router/index.js index fe9cc29..6e4ac9e 100644 --- a/xroom-dashboard/src/router/index.js +++ b/xroom-dashboard/src/router/index.js @@ -7,6 +7,7 @@ import DashboardPage from '../pages/dashboard/index.vue' import FilesPage from '@/pages/dashboard/files.vue'; import TeamsPage from '@/pages/dashboard/team.vue'; import DownloadPage from '@/pages/dashboard/Download.vue'; +import spacesPage from '@/pages/dashboard/Spaces.vue'; import MeetingPage from '@/pages/dashboard/Meeting.vue'; import axios from '@/axios'; @@ -49,6 +50,12 @@ const routes = [ component: DownloadPage, meta: { requiresAuth: true } }, + { + path: '/dashboard/spaces', + name: 'spaces', + component: spacesPage, + meta: { requiresAuth: true } + }, { path: '/dashboard/meetings', name: 'meetings',