diff --git a/AGENTS.md b/AGENTS.md index 85aabc9a0..c87f51eba 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -45,7 +45,8 @@ Learn more: https://agents.md/ ### Web Templates & Shared Assets -- HTML entrypoints live under `assets/templates/`; key files are `index.gohtml`, `app.gohtml`, `app.js.gohtml`, and `splash.gohtml`. The SPA loader logic resides in `assets/static/js/app-loader.js` and is included via `app.js.gohtml`; it performs capability checks (Promise, fetch, AbortController, `script.noModule`, etc.) before appending `window.__CONFIG__.jsUri`. +- HTML entrypoints live under `assets/templates/`; key files are `index.gohtml`, `app.gohtml`, `app.js.gohtml`, and `splash.gohtml`. The browser check logic resides in `assets/static/js/browser-check.js` and is included via `app.js.gohtml`; it performs capability checks (Promise, fetch, AbortController, `script.noModule`, etc.) before the main bundle executes. +- To preserve the fallback messaging, keep the ` \ No newline at end of file + + \ No newline at end of file diff --git a/frontend/CODEMAP.md b/frontend/CODEMAP.md index 8dbf943c2..7a7861620 100644 --- a/frontend/CODEMAP.md +++ b/frontend/CODEMAP.md @@ -28,7 +28,7 @@ Directory Map (src) Startup Templates & Splash Screen - The HTML shell is rendered from `assets/templates/index.gohtml` (and `pro/assets/templates/index.gohtml` / `plus/...`). Each template includes `app.gohtml` for the splash markup and `app.js.gohtml` to inject the bundle. -- The loader script lives in `assets/static/js/app-loader.js` (included via `app.js.gohtml`) and checks for modern browser features (Promise, fetch, AbortController, `script.noModule`, etc.) before loading `window.__CONFIG__.jsUri`. Update the same files in private repos whenever the loader logic changes. +- The browser check logic resides in `assets/static/js/browser-check.js` and is included via `app.js.gohtml`; it performs capability checks (Promise, fetch, AbortController, `script.noModule`, etc.) before the main bundle executes. Update the same files in private repos whenever the loader logic changes, and keep the script order so the check runs first. - Splash styles, including the `.splash-warning` fallback banner, live in `frontend/src/css/splash.css`. Keep styling changes there so public and private editions stay aligned. - Baseline support: Safari 13 / iOS 13 or current Chrome, Edge, or Firefox. If the support matrix changes, revise the warning text in `app.js.gohtml` and the CSS message accordingly. diff --git a/frontend/src/css/splash.css b/frontend/src/css/splash.css index 98fd80ee3..cab663a9d 100644 --- a/frontend/src/css/splash.css +++ b/frontend/src/css/splash.css @@ -224,9 +224,9 @@ a.logo-large { .splash-warning { display: block; font-weight: 600; - color: #bbbbb5; + color: #bbbaba; margin: 0 auto; - max-width: 520px; + max-width: 580px; line-height: 1.5; }