Update website for demo and anonymous conection
This commit is contained in:
parent
b1f1942807
commit
f8c3a10930
32
website/dist/index.html
vendored
32
website/dist/index.html
vendored
@ -54,8 +54,16 @@
|
||||
<link rel="stylesheet" href="main.css">
|
||||
<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";
|
||||
window.open(playUrl, '_blank');
|
||||
}
|
||||
function startGame() {
|
||||
let playUrl = window.location.protocol + "//play."+window.location.host+"/_/global/npeguin.github.io/office-map/map.json";
|
||||
let playUrl = window.location.protocol + "//play."+window.location.host;
|
||||
window.open(playUrl, '_blank');
|
||||
}
|
||||
function startConsole() {
|
||||
let playUrl = window.location.protocol + "//admin."+window.location.host;
|
||||
window.open(playUrl, '_blank');
|
||||
}
|
||||
function shareFB() {
|
||||
@ -114,13 +122,23 @@
|
||||
</div>
|
||||
<div class="row buttons-row justify-content-md-center pt-5">
|
||||
<div class="col col-lg-3">
|
||||
<a class="custom-link start" href="/choose-map.html" title="WORK IN PRIVATE">
|
||||
WORK IN PRIVATE
|
||||
<a class="custom-link start" target="_BLANK" onclick="startConsole()" title="YOUR ADVENTURE!">
|
||||
YOUR ADVENTURE!
|
||||
</a>
|
||||
</div>
|
||||
<div class="col col-lg-3">
|
||||
<a class="custom-link play" target="_BLANK" onclick="startGame()" title="WORK ONLINE">
|
||||
TRY IT NOW!
|
||||
<a class="custom-link play" target="_BLANK" onclick="startDemo()" title="DEMO!">
|
||||
TRY DEMO!
|
||||
</a>
|
||||
</div>
|
||||
<div class="col col-lg-3">
|
||||
<a class="custom-link contribute" target="_BLANK" onclick="startGame()" title="FEEDBACK">
|
||||
BE ANONYMOUS
|
||||
</a>
|
||||
</div>
|
||||
<div class="col-lg-12">
|
||||
<a onclick="startGame()">
|
||||
Continue on anonymous
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
@ -169,9 +187,9 @@
|
||||
<div>
|
||||
<p>Remote work? Friend party? Use WorkAdventure as you prefer.</p>
|
||||
<p>Click the button below to come and say hi!</p>
|
||||
<p class="bubble-action"><span onclick="startGame()">
|
||||
<p class="bubble-action"><span onclick="startDemo()">
|
||||
<img src="static/images/playicon.png" />
|
||||
TRY IT NOW !
|
||||
DEMO!
|
||||
</span></p>
|
||||
</div>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user