Show hotel name on login screen, wire VITE_HOTEL_NAME build arg through compose
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
parent
d223592aec
commit
fc15b48527
2 changed files with 8 additions and 2 deletions
|
|
@ -21,7 +21,10 @@ services:
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
||||||
frontend:
|
frontend:
|
||||||
build: ./frontend
|
build:
|
||||||
|
context: ./frontend
|
||||||
|
args:
|
||||||
|
VITE_HOTEL_NAME: ${VITE_HOTEL_NAME}
|
||||||
security_opt:
|
security_opt:
|
||||||
- apparmor=unconfined
|
- apparmor=unconfined
|
||||||
ports:
|
ports:
|
||||||
|
|
|
||||||
|
|
@ -125,9 +125,12 @@ export default function AuthGate({ children }: { children: React.ReactNode }) {
|
||||||
padding: '2rem', width: '100%', maxWidth: '360px',
|
padding: '2rem', width: '100%', maxWidth: '360px',
|
||||||
border: '1px solid var(--surface-2)',
|
border: '1px solid var(--surface-2)',
|
||||||
}}>
|
}}>
|
||||||
<h1 style={{ fontSize: '1.4rem', marginBottom: '1.5rem', color: 'var(--gold)' }}>
|
<h1 style={{ fontSize: '1.4rem', marginBottom: '0.25rem', color: 'var(--gold)' }}>
|
||||||
Utilities
|
Utilities
|
||||||
</h1>
|
</h1>
|
||||||
|
<p style={{ color: 'var(--text-muted)', fontSize: '0.875rem', marginBottom: '1.5rem' }}>
|
||||||
|
{import.meta.env.VITE_HOTEL_NAME}
|
||||||
|
</p>
|
||||||
<form onSubmit={login} style={{ display: 'flex', flexDirection: 'column', gap: '0.75rem' }}>
|
<form onSubmit={login} style={{ display: 'flex', flexDirection: 'column', gap: '0.75rem' }}>
|
||||||
<input
|
<input
|
||||||
type="email" value={email} onChange={e => setEmail(e.target.value)}
|
type="email" value={email} onChange={e => setEmail(e.target.value)}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue