feat: add about page with versions, changelog, and how-to-play

- New GET /about API endpoint caches Gitea releases for 5 minutes
- AboutPanel displays client version (via Vite define), API version, collapsible changelog, and How to Play guide
- GiteaRelease and AboutResponse types added to shared package
This commit is contained in:
2026-03-06 23:16:50 -08:00
committed by Naomi Carrigan
parent dc1353a15c
commit 3ff17bda84
14 changed files with 353 additions and 5 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@elysium/types",
"version": "1.0.0",
"version": "0.0.0",
"private": true,
"main": "./prod/src/index.js",
"types": "./prod/src/index.d.ts",
+2
View File
@@ -6,12 +6,14 @@ export type {
} from "./interfaces/Achievement.js";
export type { Adventurer, AdventurerClass } from "./interfaces/Adventurer.js";
export type {
AboutResponse,
ApiError,
AuthResponse,
BossChallengeRequest,
BossChallengeResponse,
BuyPrestigeUpgradeRequest,
BuyPrestigeUpgradeResponse,
GiteaRelease,
LoadResponse,
PrestigeRequest,
PrestigeResponse,
+12
View File
@@ -119,5 +119,17 @@ export interface ApiError {
error: string;
}
export interface GiteaRelease {
tag_name: string;
name: string;
body: string;
published_at: string;
}
export interface AboutResponse {
apiVersion: string;
releases: GiteaRelease[];
}
// Re-export for convenience
export type { ProfileSettings };