From 49f68451aecf1250d53edff7c679ad15a0c3869a Mon Sep 17 00:00:00 2001 From: Gregoire Parant Date: Fri, 12 Nov 2021 15:31:49 +0100 Subject: [PATCH] Update profile menu and change UX Signed-off-by: Gregoire Parant --- .../src/Components/Menu/ProfileSubMenu.svelte | 57 +++++++++++++++---- .../images/btn-menu-profile-camera.svg | 1 + .../images/btn-menu-profile-companion.svg | 1 + .../images/btn-menu-profile-identity.svg | 1 + .../images/btn-menu-profile-woka.svg | 1 + 5 files changed, 51 insertions(+), 10 deletions(-) create mode 100644 front/src/Components/images/btn-menu-profile-camera.svg create mode 100644 front/src/Components/images/btn-menu-profile-companion.svg create mode 100644 front/src/Components/images/btn-menu-profile-identity.svg create mode 100644 front/src/Components/images/btn-menu-profile-woka.svg diff --git a/front/src/Components/Menu/ProfileSubMenu.svelte b/front/src/Components/Menu/ProfileSubMenu.svelte index e543096e..9aeabdc3 100644 --- a/front/src/Components/Menu/ProfileSubMenu.svelte +++ b/front/src/Components/Menu/ProfileSubMenu.svelte @@ -12,6 +12,10 @@ import {localUserStore} from "../../Connexion/LocalUserStore"; import {EnableCameraScene, EnableCameraSceneName} from "../../Phaser/Login/EnableCameraScene"; import {enableCameraSceneVisibilityStore} from "../../Stores/MediaStore"; + import btnProfileSubMenuCamera from "../images/btn-menu-profile-camera.svg"; + import btnProfileSubMenuIdentity from "../images/btn-menu-profile-identity.svg"; + import btnProfileSubMenuCompanion from "../images/btn-menu-profile-companion.svg"; + import btnProfileSubMenuWoka from "../images/btn-menu-profile-woka.svg"; function disableMenuStores(){ @@ -57,12 +61,22 @@
@@ -85,16 +99,39 @@