chore: more folders

This commit is contained in:
Laureηt 2022-05-27 15:34:34 +02:00
parent cb412148e5
commit fbc6dbf283
No known key found for this signature in database
GPG key ID: D88C6B294FD40994
3 changed files with 10 additions and 10 deletions

View file

Before

Width:  |  Height:  |  Size: 1.9 KiB

After

Width:  |  Height:  |  Size: 1.9 KiB

View file

@ -7,12 +7,12 @@
<link rel="stylesheet" href="css/title-bar.css" /> <link rel="stylesheet" href="css/title-bar.css" />
<link rel="stylesheet" href="css/login-signup.css" /> <link rel="stylesheet" href="css/login-signup.css" />
<link rel="stylesheet" href="css/pixels.css" /> <link rel="stylesheet" href="css/pixels.css" />
<!-- <script type="text/javascript" src="pixels.js"></script> --> <!-- <script type="text/javascript" src="js/ixels.js"></script> -->
</head> </head>
<body> <body>
<nav> <nav>
<img src="logo.png" /> <img src="assets/logo.png" />
<span class="profil"> <span class="profil">
<button onclick="toggleLogin()">Login</button> <button onclick="toggleLogin()">Login</button>

View file

@ -18,17 +18,17 @@ const updateUserJSON = async () => {
userJSON = await reponse.json(); userJSON = await reponse.json();
}; };
// function updateSolde() { function updateSolde() {
// var elems = document.getElementsByClassName("solde"); var elems = document.getElementsByClassName("solde");
// elems.forEach((el) => { elems.forEach((el) => {
// el.innerHTML = userJSON.solde + "₿"; el.innerHTML = userJSON.solde + "₿";
// }); });
// } }
// updateSolde(); updateSolde();
updateUserJSON(); updateUserJSON();
updatePixelsJSON(); updatePixelsJSON();
// setInterval(updateSolde, 10000); setInterval(updateSolde, 10000);
setInterval(updateUserJSON, 10000); setInterval(updateUserJSON, 10000);
setInterval(updatePixelsJSON, 10000); setInterval(updatePixelsJSON, 10000);