diff --git a/README.md b/README.md index 4a520f33..4051a88b 100644 --- a/README.md +++ b/README.md @@ -110,4 +110,4 @@ Vagrant destroy > The production environment of Partey is based on a single-domain deployment with some changed, minimized *Dockerfile*s based on the fork [workadventure-xce](https://github.com/workadventure-xce/workadventure-xce). An example can be found in [contrib/docker/docker-compose.single-domain.prod.yaml](/contrib/docker/docker-compose.single-domain.prod.yaml). To create a non-single-domain based environment, please adopt settings from the below *Work Adventure* provided file yourself. The changed *Dockerfile*s won't work directly with the file below! The way you set up your production environment will highly depend on your servers. -We provide a production ready `docker-compose` file that you can use as a good starting point in the [contrib/docker](https://github.com/thecodingmachine/workadventure/tree/master/contrib/docker) director \ No newline at end of file +We provide a production ready `docker-compose` file that you can use as a good starting point in the [contrib/docker](https://github.com/thecodingmachine/workadventure/tree/master/contrib/docker) directory. diff --git a/front/src/Components/Menu/AboutRoomSubMenu.svelte b/front/src/Components/Menu/AboutRoomSubMenu.svelte index 16b5c057..6c10cc76 100644 --- a/front/src/Components/Menu/AboutRoomSubMenu.svelte +++ b/front/src/Components/Menu/AboutRoomSubMenu.svelte @@ -4,7 +4,6 @@ let gameScene = gameManager.getCurrentGameScene(); - let HTMLShareLink: HTMLInputElement; let expandedMapCopyright = false; let expandedTilesetCopyright = false; @@ -38,35 +37,9 @@ } } }) - - function copyLink() { - HTMLShareLink.select(); - document.execCommand('copy'); - } - - async function shareLink() { - const shareData = {url: location.toString()}; - - try { - await navigator.share(shareData); - } catch (err) { - console.error('Error: ' + err); - copyLink(); - } - }
-
-

Share the link of the room !

- - -
-
-

Share the link of the room !

- - -

Information on the map

{mapName}

@@ -93,24 +66,6 @@ div.about-room-main { height: calc(100% - 56px); - section.share-url { - text-align: center; - margin-bottom: 20px; - - input { - width: 85%; - border-radius: 32px; - padding: 3px; - } - input::selection { - background-color: #209cee; - } - } - - section.is-mobile { - display: none; - } - h2, h3 { width: 100%; text-align: center; @@ -126,21 +81,11 @@ margin: 0; padding: 0; overflow-y: auto; - } + } } @media only screen and (max-width: 800px), only screen and (max-height: 800px) { div.about-room-main { - section.share-url.not-mobile { - display: none; - } - - section.is-mobile { - display: block; - text-align: center; - margin-bottom: 20px; - } - section.container-overflow { height: calc(100% - 120px); } diff --git a/front/src/Components/Menu/GuestSubMenu.svelte b/front/src/Components/Menu/GuestSubMenu.svelte index 13a7981a..bda16ca5 100644 --- a/front/src/Components/Menu/GuestSubMenu.svelte +++ b/front/src/Components/Menu/GuestSubMenu.svelte @@ -1,8 +1,8 @@