Add JWT authentication, fantasy-themed UI, and full game client
Auth: login/register page, Bearer token via apiFetch wrapper, 401 redirect to login, logout button, localStorage token persistence. Pages: Home (dashboard, char creation, review board), Training Yard, Garth's Shop, Temple, Inventory, Adventure (zone selection, combat log), Songs (bard-only), Spells (caster-only), Item Catalogue (admin-only). Features: 15s regen polling (HP/nerve/energy), energy/nerve bars, gold display, equipment slot grid, item quality color coding, stat pills, crit severity highlighting, XP progress bar, shop buy/sell filters.
This commit is contained in:
parent
ee7c6f7d4f
commit
5142f18b1b
6 changed files with 1334 additions and 4 deletions
|
|
@ -4,7 +4,7 @@
|
|||
<meta charset="UTF-8" />
|
||||
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>skara-brae-client</title>
|
||||
<title>Skara Brae</title>
|
||||
</head>
|
||||
<body>
|
||||
<div id="app"></div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue