Show hotel name on login screen (was missing despite VITE_HOTEL_NAME plumbing)
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
parent
ac1b371722
commit
fdc1f5c176
1 changed files with 4 additions and 1 deletions
|
|
@ -125,9 +125,12 @@ export default function AuthGate({ children }: { children: React.ReactNode }) {
|
|||
padding: '2rem', width: '100%', maxWidth: '360px',
|
||||
border: '1px solid rgba(255,255,255,0.08)',
|
||||
}}>
|
||||
<h1 style={{ fontSize: '1.4rem', marginBottom: '1.5rem', color: 'var(--gold)' }}>
|
||||
<h1 style={{ fontSize: '1.4rem', marginBottom: '0.25rem', color: 'var(--gold)' }}>
|
||||
Reports
|
||||
</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' }}>
|
||||
<input type="email" value={email} onChange={e => setEmail(e.target.value)}
|
||||
placeholder="Email" required autoComplete="email" style={inputStyle} />
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue