Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ Entry point: `main.go` → opens SQLite DB → runs CLI or starts HTTP server on
- `phoenix/` — HTTP client for Phoenix Server API (invoices, payments, balance, channels). Uses basic auth from phoenix config (password cached at startup with `sync.Once`)
- `crypto/` — AES-CMAC authentication and AES decryption for Bolt Card NFC protocol
- `util/` — Error handling helpers (`CheckAndLog`), random hex generation, QR code encoding
- `build/` — Version string (currently "0.22.4"), date/time injected at build
- `build/` — Version string (currently "0.22.5"), date/time injected at build
- `web-content/` — Static assets under `public/`, SPA build output under `admin/spa/`

### Route Groups (`web/app.go`)
Expand Down
4 changes: 2 additions & 2 deletions docker/card/admin-ui/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ function AuthGate() {

if (loading) {
return (
<div className="flex h-screen items-center justify-center">
<div className="flex h-dvh items-center justify-center">
<div className="h-6 w-6 animate-pulse rounded-full bg-primary" />
</div>
);
Expand Down Expand Up @@ -125,7 +125,7 @@ class ErrorBoundary extends Component<
render() {
if (this.state.error) {
return (
<div className="flex h-screen flex-col items-center justify-center gap-4 p-4">
<div className="flex h-dvh flex-col items-center justify-center gap-4 p-4">
<h1 className="text-xl font-bold">Something went wrong</h1>
<p className="text-sm text-muted-foreground">
{this.state.error.message}
Expand Down
2 changes: 1 addition & 1 deletion docker/card/admin-ui/src/components/app-shell.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export function AppShell() {

return (
<WebSocketProvider>
<div className="flex h-screen">
<div className="flex h-dvh">
{/* Desktop sidebar */}
<aside className="hidden w-56 border-r bg-card md:block">
<Sidebar />
Expand Down
2 changes: 1 addition & 1 deletion docker/card/admin-ui/src/pages/login.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export function LoginPage() {
}

return (
<div className="min-h-screen flex items-center justify-center p-4">
<div className="min-h-dvh flex items-center justify-center p-4">
<Card className="w-full max-w-sm">
<CardHeader className="text-center">
<a href="/" className="inline-block mx-auto">
Expand Down
2 changes: 1 addition & 1 deletion docker/card/admin-ui/src/pages/register.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export function RegisterPage() {
}

return (
<div className="min-h-screen flex items-center justify-center p-4">
<div className="min-h-dvh flex items-center justify-center p-4">
<Card className="w-full max-w-sm">
<CardHeader className="text-center">
<Zap className="mx-auto h-8 w-8 text-primary" />
Expand Down
2 changes: 1 addition & 1 deletion docker/card/build/build.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
package build

var Version string = "0.22.4"
var Version string = "0.22.5"
var Date string
var Time string
Loading