Fixe url demo anonymous

This commit is contained in:
Gregoire Parant 2020-12-15 16:03:59 +01:00
parent 22eb941084
commit 403400b170

View file

@ -55,11 +55,11 @@
<script src="bundle.js"></script>
<script>
function startDemo() {
let playUrl = window.location.protocol + "//play."+window.location.host+"/_/global/gparant.github.io/tcm-client/Demo/demo-v1.json";
let playUrl = window.location.protocol + "//play."+window.location.host+'/_/global/gparant.github.io/tcm-client/Demo/demo-v1.json';
window.open(playUrl, '_blank');
}
function startGame() {
let playUrl = window.location.protocol + "//play."+window.location.host;
let playUrl = window.location.protocol + "//play."+window.location.host+'/_/global/npeguin.github.io/office-map/map.json';
window.open(playUrl, '_blank');
}
function startConsole() {
@ -126,19 +126,19 @@
<a class="custom-link start"
style="padding-top: 4px;font-size: 18px;"
target="_BLANK" onclick="startConsole()" title="YOUR ADVENTURE!">
YOUR WORKADVENTURE!
CREATE YOUR MAP
</a>
</div>
<div class="col col-lg-3">
<a class="custom-link play" target="_BLANK" onclick="startDemo()" title="DEMO!">
TRY DEMO!
TUTORIAL
</a>
</div>
</div>
<div style="min-height: 100px" class="row buttons-row justify-content-md-center pt-5">
<div class="col col-lg-3">
<a class="custom-link anonymous contribute" target="_BLANK" onclick="startGame()" title="FEEDBACK">
BE ANONYMOUS
DEMO (Anonymous)
</a>
</div>
</div>