This commit is contained in:
fred 2023-03-26 20:31:27 +02:00
parent cdba41aa52
commit de43c71fcd
2 changed files with 10 additions and 1 deletions

View File

@ -194,6 +194,7 @@ do
-e "s~_PLAYER_~${PLAYER}~g" \
-e "s~_G1PUB_~${G1PUB}~g" \
-e "s~_VOEUNS_~${VOEUNS}~g" \
-e "s~http://astroport.localhost:1234~${myASTROPORT}~g"
-e "s~QmYdWBx32dP14XcbXF7hhtDq7Uu6jFmDaRnuL5t7ARPYkW/index_fichiers/world.js~${IAMAP}/world.js~g" \
-e "s~_ASTRONAUTENS_~${ASTRONAUTENS}~g" \
-e "s~QmWUpjGFuF7NhpXgkrCmx8Tbu4xjcFpKhE7Bsvt6HeKYxu/g1ticket_qrcode.png~${QRLINK}/QRG1avatar.png~g" \

View File

@ -115,7 +115,7 @@
<body>
<a href="javascript:history.go(-1)"><img style="width:40% height:40% position: absolute; top: 0; right: 0; border: 0;" src="http://127.0.0.1:8080/ipfs/QmYdWBx32dP14XcbXF7hhtDq7Uu6jFmDaRnuL5t7ARPYkW/l0g0.png" alt="BAck in Le Claude"></a>
<a href="javascript:FriendToMe()"><img style="width:40% height:40% position: absolute; top: 0; right: 0; border: 0;" src="http://127.0.0.1:8080/ipfs/QmYdWBx32dP14XcbXF7hhtDq7Uu6jFmDaRnuL5t7ARPYkW/l0g0.png" alt="BAck in Le Claude"></a>
<div id="countdown"></div>
<div class="subtitle">A Friendly Planet of Friends</div>
@ -131,6 +131,14 @@
</div>
<script>
function FriendToMe() {
let salt = prompt("Secret 1");
let pepper = prompt("Secret 2");
let resultUt = 'http://astroport.localhost:1234/?salt=' + salt + '&pepper=' + pepper + '&friend=_G1PUB_';
console.log(resultUt)
homeAstroportStation( resultUt,'aframe', 4000)
}
const gifContainer = document.querySelector('.gif-container');
const prevBtn = document.querySelector('#prev');
const nextBtn = document.querySelector('#next');