revert(ui): drop the Samsung Internet install notice

The banner is not wanted on the page. Remove ui/install-tip.js, its container in
index.html, the startup call, the .notice styles and the PRECACHE entry; keep the
documented fact (install from Chrome) in AGENTS.md/README instead.

VERSION 2026.11.24.7. Verified with a SamsungBrowser UA at 360px: no banner, no
.notice nodes, hero follows the header, installabilityErrors [].
This commit is contained in:
Bkk1234 committed 2026-11-24 15:23:54 +07:00
1 parent 2edbc39805
commit aead0bb6e5
8 files changed
+4 -146

No files matched your search

-2
View File
@@ -7,7 +7,6 @@ import { countUpInside, initMotion, initReveal } from "./motion.js";
import { homeView } from "./views/home.js";
import { adminView } from "./views/admin.js";
import { privacyView } from "./views/privacy.js";
import { initInstallTip } from "./install-tip.js";
import "./pwa.js";
const main = document.getElementById("main");
@@ -79,7 +78,6 @@ async function boot() {
defineRoutes({ "/": homeView, "/admin": adminView, "/privacy": privacyView }, "/");
onRouteChange(renderRoute);
startRouter();
initInstallTip();
if (result.source === "cache") {
toast("เปิดแบบออฟไลน์ — แสดงข้อมูลที่บันทึกไว้ในเครื่อง");