Skip to content

Commit

Permalink
Remove splash texts
Browse files Browse the repository at this point in the history
  • Loading branch information
proudparrot2 authored Dec 13, 2024
1 parent 2e93222 commit 33eefec
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ <h1>Art Class</h1>

<div class="center-container">
<h1>Welcome to <span>Art Class</span></h1>
<p id="splash"></p>
<br />
<button onclick="window.location.href='/search.html?q=https://discord.gg/tMaHQ2dyk5'" class="button play">Join our Discord</button>
<button onclick="launchab()" id="launchab" class="button play">Launch in about:blank</button>
Expand All @@ -64,13 +63,5 @@ <h1>Welcome to <span>Art Class</span></h1>
</div>
</body>

<script>
fetch('./assets/data/splash.json')
.then((res) => res.json())
.then((data) => {
document.querySelector('#splash').innerHTML = data[Math.floor(Math.random() * data.length)]
})
</script>

<script src="./js/index.js"></script>
</html>

0 comments on commit 33eefec

Please sign in to comment.