From efa57d2754f6119feb879a62826d3178ed7c159b Mon Sep 17 00:00:00 2001 From: Gregoire Parant Date: Thu, 23 Dec 2021 15:06:32 +0100 Subject: [PATCH] Fix pretier Signed-off-by: Gregoire Parant --- front/src/Components/Menu/MenuIcon.svelte | 6 +-- .../Components/Modal/LimitRoomModal.svelte | 52 +++++++++--------- .../Components/Modal/ShareLinkMapModal.svelte | 54 +++++++++---------- .../WarningContainer/WarningContainer.svelte | 3 +- front/src/Connexion/ConnectionManager.ts | 6 +-- front/src/Url/UrlManager.ts | 4 +- 6 files changed, 64 insertions(+), 61 deletions(-) diff --git a/front/src/Components/Menu/MenuIcon.svelte b/front/src/Components/Menu/MenuIcon.svelte index 90248115..9d3f72dd 100644 --- a/front/src/Components/Menu/MenuIcon.svelte +++ b/front/src/Components/Menu/MenuIcon.svelte @@ -7,8 +7,8 @@ import { chatVisibilityStore } from "../../Stores/ChatStore"; import { limitMapStore } from "../../Stores/GameStore"; import { get } from "svelte/store"; - import {ADMIN_URL} from "../../Enum/EnvironmentVariable"; - import {showShareLinkMapModalStore} from "../../Stores/ModalStore"; + import { ADMIN_URL } from "../../Enum/EnvironmentVariable"; + import { showShareLinkMapModalStore } from "../../Stores/ModalStore"; function showMenu() { menuVisiblilityStore.set(!get(menuVisiblilityStore)); @@ -18,7 +18,7 @@ } function register() { - window.open(`${ADMIN_URL}/second-step-register`, '_self'); + window.open(`${ADMIN_URL}/second-step-register`, "_self"); } function showInvite() { showShareLinkMapModalStore.set(true); diff --git a/front/src/Components/Modal/LimitRoomModal.svelte b/front/src/Components/Modal/LimitRoomModal.svelte index 8fb6c09f..43941a6b 100644 --- a/front/src/Components/Modal/LimitRoomModal.svelte +++ b/front/src/Components/Modal/LimitRoomModal.svelte @@ -1,18 +1,20 @@ -
+

Limit of your room

Register your account!

-

This map is limited in the time and to continue to use WorkAdventure, you must register your account in our back office.

+

+ This map is limited in the time and to continue to use WorkAdventure, you must register your account in our + back office. +

@@ -20,26 +22,26 @@
diff --git a/front/src/Components/Modal/ShareLinkMapModal.svelte b/front/src/Components/Modal/ShareLinkMapModal.svelte index 25cde5bd..42ac1294 100644 --- a/front/src/Components/Modal/ShareLinkMapModal.svelte +++ b/front/src/Components/Modal/ShareLinkMapModal.svelte @@ -1,15 +1,16 @@ -