Improve kiosk mode startup experience
- Pass query parameters to EJS template for kiosk mode detection - Add kiosk class to body when enabled via query parameter - Simplify kiosk mode CSS to hide all elements except main weather display - Add null checks for progress object to prevent errors in kiosk mode - Prevent navigation errors when no suitable displays are available
This commit is contained in:
parent
7a07c67e84
commit
be41d66de9
5 changed files with 83 additions and 59 deletions
|
|
@ -138,6 +138,7 @@ const compressHtml = async () => {
|
|||
production: version,
|
||||
version,
|
||||
OVERRIDES,
|
||||
query: {},
|
||||
}))
|
||||
.pipe(rename({ extname: '.html' }))
|
||||
.pipe(htmlmin({ collapseWhitespace: true }))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue