remove g and other words from heads and files

This commit is contained in:
grainesylms 2025-05-27 01:49:08 +00:00
parent 1b3679e48d
commit cbb0bc95f5
10 changed files with 16 additions and 16 deletions

View File

@ -6,7 +6,7 @@
<title>void</title>
<link rel="stylesheet" href="styles.css" />
<link rel="stylesheet" href="game.css" />
<script src="js/gameloader.js?v=2" defer></script>
<script src="js/loader.js?v=2" defer></script>
<script src="js/global.js?v=2" defer></script>
</head>
<body>
@ -15,7 +15,7 @@
<div class="search-bar-container">
<input
type="text"
id="gameSearch"
id="gSearch"
class="modern-search-bar"
placeholder="Search games..."
/>
@ -25,7 +25,7 @@
No results found.
</div>
<section class="side-widgets scrollable" id="games-section"></section>
<section class="side-widgets scrollable" id="gsection"></section>
</main>
</div>
</body>

View File

@ -6,7 +6,7 @@ function loadGames(txtPath, folderPath) {
.trim()
.split("\n")
.map((game) => game.trim());
const section = document.getElementById("games-section");
const section = document.getElementById("gsection");
games.forEach((gamePath) => {
const gameName = gamePath
@ -26,7 +26,7 @@ function loadGames(txtPath, folderPath) {
});
})
.catch((error) => {
console.error(`Error loading games from ${txtPath}:`, error);
console.error(`Error loading from ${txtPath}:`, error);
});
}

View File

@ -16,7 +16,7 @@
<div class="button-group">
<a href="/content/games/index.html" class="explore-btn">Explore the Void.</a>
<a href="/content/g/index.html" class="explore-btn">Explore the Void.</a>
</div>
<div class="description">

View File

@ -5,7 +5,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Launcher</title>
<link rel="stylesheet" href="styles.css" />
<link rel="stylesheet" href="background-fix.css" />
<link rel="stylesheet" href="css/background-fix.css" />
</head>
<body>

View File

@ -20,13 +20,13 @@
<h1>void.</h1>
<p>
Welcome to Void!
The All New center for all your games! Navigate the site
with the right tabbar, and enjoy playing minecraft and more!
Navigate the site
with the right tabbar, and enjoy minecraft and more!
This is still in beta, so go ahead and join the discord for support
and suggestions! Also, we are testing our minecraft server, JASS. Join in
and suggestions! Also, we are testing our minecraft server. Join in
Minecraft 1.12!
Regards,
Shaun.
void Development team.
</p>
<button class="explore-btn" onclick="closeAnnouncement()">Explore.</button>
</div>

View File

@ -13,13 +13,13 @@ window.onload = function () {
window.addEventListener("DOMContentLoaded", () => {
const searchInput = document.getElementById("gameSearch");
const gamesSection = document.getElementById("games-section");
const searchInput = document.getElementById("gSearch");
const gSection = document.getElementById("gsection");
const noResultsMessage = document.getElementById("noResultsMessage");
// Search logic
const handleSearch = () => {
const folderElements = gamesSection.querySelectorAll(".widget");
const folderElements = gSection.querySelectorAll(".widget");
const searchTerm = searchInput.value.toLowerCase().trim();
let visibleCount = 0;
@ -33,7 +33,7 @@ window.addEventListener("DOMContentLoaded", () => {
noResultsMessage.style.display = (visibleCount === 0 && searchTerm !== "") ? "block" : "none";
};
// Observe dynamic game buttons
// Observe dynamic buttons
const observer = new MutationObserver(handleSearch);
observer.observe(gamesSection, { childList: true, subtree: true });

View File

@ -1,7 +1,7 @@
const pageURLs = {
home: './content/home/?v=2',
minecraft: './content/minecraft/?v=2',
games: './content/games/?v=2',
games: './content/g/?v=2',
exploits: './content/exploits/?v=2',
settings: './content/settings/?v=2',
};