Fixe url demo anonymous
This commit is contained in:
parent
22eb941084
commit
403400b170
10
website/dist/index.html
vendored
10
website/dist/index.html
vendored
@ -55,11 +55,11 @@
|
|||||||
<script src="bundle.js"></script>
|
<script src="bundle.js"></script>
|
||||||
<script>
|
<script>
|
||||||
function startDemo() {
|
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');
|
window.open(playUrl, '_blank');
|
||||||
}
|
}
|
||||||
function startGame() {
|
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');
|
window.open(playUrl, '_blank');
|
||||||
}
|
}
|
||||||
function startConsole() {
|
function startConsole() {
|
||||||
@ -126,19 +126,19 @@
|
|||||||
<a class="custom-link start"
|
<a class="custom-link start"
|
||||||
style="padding-top: 4px;font-size: 18px;"
|
style="padding-top: 4px;font-size: 18px;"
|
||||||
target="_BLANK" onclick="startConsole()" title="YOUR ADVENTURE!">
|
target="_BLANK" onclick="startConsole()" title="YOUR ADVENTURE!">
|
||||||
YOUR WORKADVENTURE!
|
CREATE YOUR MAP
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
<div class="col col-lg-3">
|
<div class="col col-lg-3">
|
||||||
<a class="custom-link play" target="_BLANK" onclick="startDemo()" title="DEMO!">
|
<a class="custom-link play" target="_BLANK" onclick="startDemo()" title="DEMO!">
|
||||||
TRY DEMO!
|
TUTORIAL
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div style="min-height: 100px" class="row buttons-row justify-content-md-center pt-5">
|
<div style="min-height: 100px" class="row buttons-row justify-content-md-center pt-5">
|
||||||
<div class="col col-lg-3">
|
<div class="col col-lg-3">
|
||||||
<a class="custom-link anonymous contribute" target="_BLANK" onclick="startGame()" title="FEEDBACK">
|
<a class="custom-link anonymous contribute" target="_BLANK" onclick="startGame()" title="FEEDBACK">
|
||||||
BE ANONYMOUS
|
DEMO (Anonymous)
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user