some fuckery to get dev branch working

This commit is contained in:
sky
2025-06-22 11:53:54 -04:00
parent c34e53111c
commit 5d0a1b87df
95 changed files with 3 additions and 1655 deletions

84
projects.html Normal file → Executable file
View File

@ -17,13 +17,9 @@
<script src="/js/cookie.js"></script>
<<<<<<< HEAD
<link rel="stylesheet" href="/style.css" />
=======
<link rel="stylesheet" href="/css/main.css" />
<link rel="stylesheet" href="/css/pages.css" />
<link rel="stylesheet" href="/css/games.css" />
>>>>>>> c2041b6 (first dev commit)
<!-- seo + other things -->
@ -37,85 +33,6 @@
crossorigin="anonymous"></script>
<script></script>
</head>
<<<<<<< HEAD
<alerts>
<div id="toast"></div>
<script>
$.getJSON("data/changelog.json", (data) => {
if (localStorage.getItem("selenite.version") != data.version) {
toast({ title: "New Update!", message: data.desc, time: data.timestamp });
localStorage.setItem("selenite.version", data.version);
}
});
</script>
</alerts>
<body>
<header>
<a href="/index.html">Home</a>
<a href="/bookmarklets.html">Bookmarklets</a>
<a href="/projects.html">Games</a>
<a href="/apps.html">Apps</a>
<a href="/settings.html">Settings</a>
<a id="blank" href="#">Open Blank</a>
<a href="/u/" class="usericon"><img src="/img/user.svg"></a>
</header>
<main>
<h3 id="popunder" style="display: none;">You may be redirected upon clicking on the screen. This is an ad. <a style="font-size: inherit;" href="ad.html">Learn more.</a></h3>
<input class="hiddenUpload" type="file" accept=".save" hidden />
<input type="text" class="searchbar" id="gamesearch" placeholder="Type here to search.." />
<div class="samerow">
<sl-tooltip content="Remember to download your save, so you don't lose your progress." trigger="manual" class="manual-tooltip">
<button onclick="downloadMainSave()">Download Save</button>
</sl-tooltip>
<button id="upload" onclick="uploadMainSave()">Upload Save</button>
</div>
<div class="samerow">
<button id="random" onclick="selectRandomGame()">Play a random game!</button>
<button id="category" onclick="categoryChanger()">Game Categories</button>
</div>
<h2>Starred Games</h2>
<p id="pinnedmessage">Star some games for things to show up here!</p>
<div id="pinned"></div>
<h2>All Games</h2>
<div id="games">
<a href="/suggest.html"
><div class="suggest">
<img src="img/addlink.svg" alt="Add Game logo" style="filter: invert(1) !important" />
<h1>Suggest a game!</h1>
</div></a
>
<p id="message">games loading..</p>
<p id="message">games not loading? click ctrl + shift + r</p>
<button id="message" onclick='$.getJSON("/data/games.json", function (data) {loadGames(data)})'>Games not loading? Click here.</button>
</div>
<br />
</main>
<footer>
<a href="https://gitlab.com/skysthelimit.dev/selenite">Source</a>
<a href="https://discord.gg/7jyufnwJNf">Discord</a>
<a href="/suggest.html">Suggestions & Bugs</a>
<a href="/contact.html">Contact</a>
<a href="/support.html">Donate</a>
<a href="/about.html">About</a>
</footer>
<script>
document.addEventListener("DOMContentLoaded", function () {
const adContainers = document.querySelectorAll("[id=adcontainer]");
if (adContainers.length > 0) {
for (let i = 0; i < adContainers.length; i++) {
if (Math.random() < 0.5 && localStorage.getItem("selenite.adblock") != "true") {
adContainers[i].innerHTML = "";
}
}
}
});
</script>
=======
<body>
<div id="particles-js"></div>
<!-- <input class="hiddenUpload" type="file" accept=".save" hidden /> -->
@ -144,6 +61,5 @@
<!-- <p id="message">games loading..</p> -->
<p id="noResults">nothing was found! try a new search query.</p>
</div>
>>>>>>> c2041b6 (first dev commit)
</body>
</html>