From 2ebf05f7d6018dfcb4e90b77c896275707f3a99c Mon Sep 17 00:00:00 2001 From: GRL Date: Thu, 19 Aug 2021 11:17:46 +0200 Subject: [PATCH] Correction following test --- front/src/Components/App.svelte | 4 ++-- .../src/Components/Menu/ContactSubMenu.svelte | 19 ++++++++------- .../Components/Menu/CreateMapSubMenu.svelte | 4 ---- front/src/Components/Menu/Menu.svelte | 15 +++++++----- .../Components/Menu/SettingsSubMenu.svelte | 7 +++--- .../Components/ReportMenu/BlockSubMenu.svelte | 9 ++++---- .../Components/ReportMenu/ReportMenu.svelte | 23 ++++++++++--------- .../ReportMenu/ReportSubMenu.svelte | 7 +++--- front/src/Stores/ShowReportScreenStore.ts | 7 +++++- 9 files changed, 52 insertions(+), 43 deletions(-) diff --git a/front/src/Components/App.svelte b/front/src/Components/App.svelte index fddefc96..8b033e5f 100644 --- a/front/src/Components/App.svelte +++ b/front/src/Components/App.svelte @@ -38,7 +38,7 @@ import LayoutManager from "./LayoutManager/LayoutManager.svelte"; import {audioManagerVisibilityStore} from "../Stores/AudioManagerStore"; import AudioManager from "./AudioManager/AudioManager.svelte" - import { showReportScreenStore } from "../Stores/ShowReportScreenStore"; + import { showReportScreenStore, userReportEmpty } from "../Stores/ShowReportScreenStore"; import ReportMenu from "./ReportMenu/ReportMenu.svelte"; export let game: Game; @@ -96,7 +96,7 @@ {/if} - {#if $showReportScreenStore} + {#if $showReportScreenStore !== userReportEmpty}
diff --git a/front/src/Components/Menu/ContactSubMenu.svelte b/front/src/Components/Menu/ContactSubMenu.svelte index beb7e386..fcca3619 100644 --- a/front/src/Components/Menu/ContactSubMenu.svelte +++ b/front/src/Components/Menu/ContactSubMenu.svelte @@ -12,31 +12,31 @@

- The WorkAdventure team is always available to help you. - If you have any questions, problems, new features or improvements ideas, or if you just want to give us your feedback, - do not hesitate to contact us. + The WorkAdventure team is always happy to give you some guidance and advice. + If you have any question, issue, new features or improvements you'd like to see or if you'd like to give us some feedback, + please don't hesitate to reach out!

Our Office

- The WorkAdventure team has its own offices in ... WorkAdventure! - Do not hesitate to come see and talk to us. + Let's grab a coffee and have a chat on our virtual office .... on WorkAdventure. Our team loves meeting new people!

Visit us

Our Mail

-

Although we offer a solution to reduce their use, we have an email address that allows us to receive all your requests.

+

You'd rather send us an email? Please, feel free to do so, although we hope we could meet you on our virtual office soon enough.

hello@workadventu.re

Our web site

-

If you want to know more about us, follow the link to our web site.

+

Do you want to know more about us? Just follow the link to our website.

About us

Our social media

+

Follow us and keep you updated on the latest news and upcoming new features!

{'Discord'} @@ -75,11 +75,14 @@ section { text-align: center; padding: 4px 5px; - margin-bottom: 25px; + margin-bottom: 15px; p { margin: 0; } + img { + margin-top: 10px; + } img { height: 50px; diff --git a/front/src/Components/Menu/CreateMapSubMenu.svelte b/front/src/Components/Menu/CreateMapSubMenu.svelte index 60e2a4b3..6cce71ac 100644 --- a/front/src/Components/Menu/CreateMapSubMenu.svelte +++ b/front/src/Components/Menu/CreateMapSubMenu.svelte @@ -1,15 +1,11 @@ diff --git a/front/src/Components/ReportMenu/ReportMenu.svelte b/front/src/Components/ReportMenu/ReportMenu.svelte index 689ea954..8cf24b11 100644 --- a/front/src/Components/ReportMenu/ReportMenu.svelte +++ b/front/src/Components/ReportMenu/ReportMenu.svelte @@ -1,31 +1,32 @@ diff --git a/front/src/Stores/ShowReportScreenStore.ts b/front/src/Stores/ShowReportScreenStore.ts index 665048da..6120263e 100644 --- a/front/src/Stores/ShowReportScreenStore.ts +++ b/front/src/Stores/ShowReportScreenStore.ts @@ -1,3 +1,8 @@ import { writable } from "svelte/store"; -export const showReportScreenStore = writable<{ userId: number; userName: string } | null>(null); +export const userReportEmpty = { + userId: 0, + userName: "Empty", +}; + +export const showReportScreenStore = writable<{ userId: number; userName: string }>(userReportEmpty);