feat(web): show app version in sidebar footer via Vite define

Reads version from root package.json at build time and injects it
as __APP_VERSION__ via Vite define, replacing the hardcoded "API v3".
This commit is contained in:
Offending Commit
2026-04-27 14:33:26 -05:00
parent 123828ccb6
commit 7848d69524
3 changed files with 13 additions and 5 deletions

View File

@@ -116,7 +116,7 @@ export function Sidebar() {
style={{ borderTop: "1px solid var(--border)" }}
>
<p className="text-xs font-mono hidden sm:block" style={{ color: "var(--text-4)" }}>
API v3
v{__APP_VERSION__}
</p>
<div className="flex items-center gap-1.5 mx-auto sm:mx-0">
<button