First commit, phased 1 and 2 created but untested

This commit is contained in:
bepis
2026-10-20 07:40:35 +11:00
commit 7a3e408ffc
66 changed files with 5639 additions and 0 deletions
+32
View File
@@ -0,0 +1,32 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Create Hero - Emberfall</title>
<link rel="stylesheet" href="/css/main.css">
</head>
<body>
<div class="auth-container">
<h1>Emberfall</h1>
<h2>Create Your Hero</h2>
<div id="error" class="error" style="display:none;"></div>
<form id="create-hero-form">
<label for="hero-name">Hero Name</label>
<input type="text" id="hero-name" name="hero-name" required minlength="3" maxlength="16" pattern="[A-Za-z0-9 ']+">
<label for="hero-class">Class</label>
<select id="hero-class" name="hero-class" required>
<option value="">Choose a class...</option>
<option value="warrior">Warrior — Armoured frontliner (STR 8, AGI 4, INT 2, VIT 8)</option>
<option value="mage">Mage — Glass-cannon spellcaster (STR 2, AGI 4, INT 9, VIT 5)</option>
<option value="ranger">Ranger — Fast skirmisher (STR 5, AGI 9, INT 3, VIT 5)</option>
</select>
<button type="submit">Begin Your Journey</button>
</form>
</div>
<script src="/js/auth.js"></script>
<script src="/js/create-hero.js"></script>
</body>
</html>