wanders & mod time added

This commit is contained in:
2024-06-21 10:40:48 +01:00
parent 951224f0ea
commit e825506bbd
18 changed files with 197 additions and 81 deletions

View File

@@ -38,6 +38,15 @@
<div>git <a href="https://git.fioruil.ie/" target="_blank"></a></div>
</div>
<div id="wanderers-container">
<h4>Wanderers: </h4>
<p id="wander-count"></p>
</div>
<div id="modified-time">
<h4>Last Modified: </h4>
<p> Thu Jun 20 17:36:45 2024</p>
</div>
</div>
</div>
<a><span id="monster">
@@ -48,6 +57,7 @@
</a>
</div>
<script src="js/mob.js"></script>
<script src="js/wander.js"></script>
</div>
</body>

View File

@@ -47,7 +47,7 @@
<div id="showcase-cont">
<div class="showcase">
<p>(2026)</p>
<p>(2022)</p>
<p>Speak It Now Eat It, Revision Performing Arts Festival,</p>
<p>Belfast</p>
</div>
@@ -73,9 +73,12 @@
<div id="sleeping-mario">
<img src="/images/website/mario-sleep-up.gif">
</div>
<div id="modified-time">
<h4>Last Modified: </h4>
<p> Fri Jun 21 09:27:25 2024</p>
</div>
</div>
</div>

View File

@@ -46,9 +46,12 @@
<div id="sleeping-mario">
<img src="/images/website/mario-sleep-up.gif">
</div>
<div id="modified-time">
<h4>Last Modified: </h4>
<p> Thu Jun 20 17:23:18 2024</p>
</div>
</div>
</div>

View File

@@ -88,9 +88,12 @@
<div id="sleeping-mario">
<img src="/images/website/mario-sleep-up.gif">
</div>
<div id="modified-time">
<h4>Last Modified: </h4>
<p> Sat Jun 8 22:14:44 2024</p>
</div>
</div>
</div>

View File

@@ -86,9 +86,12 @@
<div id="sleeping-mario">
<img src="/images/website/mario-sleep-up.gif">
</div>
<div id="modified-time">
<h4>Last Modified: </h4>
<p> Sat Jun 8 23:33:47 2024</p>
</div>
</div>
</div>

View File

@@ -87,9 +87,12 @@
<div id="sleeping-mario">
<img src="/images/website/mario-sleep-up.gif">
</div>
<div id="modified-time">
<h4>Last Modified: </h4>
<p> Thu Jun 20 18:00:30 2024</p>
</div>
</div>
</div>

View File

@@ -79,9 +79,12 @@
<div id="sleeping-mario">
<img src="/images/website/mario-sleep-up.gif">
</div>
<div id="modified-time">
<h4>Last Modified: </h4>
<p> Sat Jun 8 23:36:42 2024</p>
</div>
</div>
</div>

View File

@@ -82,9 +82,12 @@
<div id="sleeping-mario">
<img src="/images/website/mario-sleep-up.gif">
</div>
<div id="modified-time">
<h4>Last Modified: </h4>
<p> Sun Jun 9 00:02:18 2024</p>
</div>
</div>
</div>

View File

@@ -82,9 +82,12 @@
<div id="sleeping-mario">
<img src="/images/website/mario-sleep-up.gif">
</div>
<div id="modified-time">
<h4>Last Modified: </h4>
<p> Sat Jun 8 23:39:31 2024</p>
</div>
</div>
</div>

View File

@@ -79,9 +79,12 @@
<div id="sleeping-mario">
<img src="/images/website/mario-sleep-up.gif">
</div>
<div id="modified-time">
<h4>Last Modified: </h4>
<p> Sat Jun 8 23:41:06 2024</p>
</div>
</div>
</div>

View File

@@ -476,6 +476,42 @@ body {
margin: 0;
}
#modified-time {
display: flex;
flex-direction: row;
flex-wrap: wrap;
gap: 10px;
margin-top: 25px;
}
#modified-time p{
padding: 0;
margin: 0;
}
#modified-time h4{
padding: 0;
margin: 0;
}
#wanderers-container {
display: flex;
flex-direction: row;
flex-wrap: wrap;
gap: 10px;
margin-top: 25px;
}
#wanderers-container p{
padding: 0;
margin: 0;
}
#wanderers-container h4{
padding: 0;
margin: 0;
}

9
public/js/wander.js Normal file
View File

@@ -0,0 +1,9 @@
function GetWanderCount(){
let element = document.getElementById('wander-count')
fetch('../json/counter.json')
.then((response) => response.json())
.then((json) => element.innerHTML = json['count']);
}
GetWanderCount()