Phase 2: scaffold Waiter PWA — React+Vite, PWA manifest, all pages and components
This commit is contained in:
14
waiter_pwa/src/components/ConnectionBanner.jsx
Normal file
14
waiter_pwa/src/components/ConnectionBanner.jsx
Normal file
@@ -0,0 +1,14 @@
|
||||
export default function ConnectionBanner() {
|
||||
return (
|
||||
<div style={{
|
||||
background: '#7f1d1d',
|
||||
color: '#fca5a5',
|
||||
textAlign: 'center',
|
||||
padding: '8px 16px',
|
||||
fontSize: 13,
|
||||
fontWeight: 600,
|
||||
}}>
|
||||
⚠ Cannot reach the system — check your WiFi
|
||||
</div>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user