Add readme and a few fixes/notes.

This commit is contained in:
Raktbastr 2026-06-15 23:57:02 -05:00
parent 038968ea28
commit c990401a53
5 changed files with 12 additions and 6 deletions

View file

@ -25,7 +25,7 @@ function detectPage() {
var path = window.location.pathname;
var page = path.split("/").pop();
if (page === "" || page === "index.html") {
if (page === "" || page === "index.html" || page === "index" || path === "/") {
var pageId = "home";
} else {
var pageId = page.replace(".html", "");

View file

@ -31,7 +31,7 @@
<h2>Survival (26.1.2)</h2>
<img src="media/survival.png" alt="New Waukesha nighttime view">
<p>A vanilla survival server with a world over a year old!</p>
<div class="row" style="align-items: flex-start">
<div class="row">
<div class="column">
<h3>Java Edition</h3>
<p>IP: survival.halfheart.net</p>
@ -49,7 +49,7 @@
<h2>Creative (26.1.2)</h2>
<img src="media/creative.png" alt="Castle, by 1111dbc">
<p>A mostly vanilla creative server server with worldedit enabled. World is somewhat new and empty.</p>
<div class="row" style="align-items: flex-start">
<div class="row">
<div class="column">
<h3>Java Edition</h3>
<p>IP: creative.halfheart.net</p>

3
readme.md Normal file
View file

@ -0,0 +1,3 @@
# The Halfheart.net Website
All the files and code for the halfheart.net website. This is my first project using html/css so pardon the possibly bad code. It is very much a work in progress.

View file

@ -214,12 +214,12 @@
<br>
<div class="header-container" id="headerContainer">
<div class="logo-capsule">
<a href="index.html" id="logo">
<a href="/" id="logo">
<img src="logo.png" alt="Half Heart Logo" style="border: 0px solid rgba(255, 255, 255, 0);">
</a>
</div>
<div class="topnav" id="myTopnav">
<a href="index.html" id="home" class="inactive">Home</a>
<a href="/" id="home" class="inactive">Home</a>
<a href="projects.html" id="projects" class="inactive">Projects</a>
<a href="minecraft-servers.html" id="minecraft-servers" class="inactive">Minecraft Server</a>
<a href="javascript:void(0);" class="icon" onclick="toggleMobileMenu()">

View file

@ -28,8 +28,11 @@
<body>
<h1>Whitelist User</h1>
<p>Enter your username and Minecraft version below to be added to the server whitelist</p>
<div class="row">
<div class="column">
<p>Enter your username and Minecraft version below to be added to the server whitelist</p>
<h2>THIS CURRENTLY DOES NOT WORK. I AM WORKING ON IT</h2>
</div>
<div class="column">
<div class="form-container">
<form onsubmit="whitelistUser(event)">