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:
1 parent
2edbc39805
commit
aead0bb6e5
8 files changed
+4
-146
No files matched your search
@@ -53,7 +53,6 @@
|
||||
- **คำว่า `hobbyproject` ในฮีโร่**: แบ่งสีตามตัวอักษร — `hobbyp` + `j` ใช้ `--brand-900` (#3D241A, 12.21:1) และ `ro` + `ect` ใช้ `--brand-500` (#C4703C, 3.12:1 บนพื้นฮีโร่เข้มสุด) จึงต้องมีขนาด ≥24px ตัวหนาขึ้นไป (ตอนนี้ clamp 24–32px) ถ้าลดต่ำกว่านั้นต้องเปลี่ยนไปใช้ `--brand-600` (#A85A2C, 4.30:1) เพื่อให้ผ่าน 4.5:1 ของตัวอักษรปกติ
|
||||
- **ฮีโร่**: พื้นไล่เฉดอุ่นอ่อน + การ์ดลอย 3 ใบ **สุ่มจากโปรเจคทั้งหมดใหม่ทุกครั้งที่โหลดหน้า** (Fisher–Yates, ไม่ซ้ำ) แสดงเฉพาะ ≥1080px — **กดได้จริง** ลิงก์ไป `project_url` เดียวกับการ์ดในกริด (`target="_blank"` + `rel="noopener noreferrer"`) จึงต้องไม่ใส่ `aria-hidden` และต้องโฟกัสด้วยคีย์บอร์ดได้
|
||||
- **หลังบ้าน**: พาเนล + การ์ดรายการ, ปุ่มเลื่อนขึ้น/ลง/ลบ, แถบบันทึกแบบ sticky ด้านล่าง, `<dialog>` ยืนยันการลบ/ทิ้งการแก้ไข
|
||||
- **แถบคำแนะนำ (`.notice`)**: พื้น `--brand-50`, ขอบซ้าย 4px `--brand-600`, อยู่ใต้ header ก่อนเนื้อหา, ปุ่มทุกตัวสูง ≥44px, ปิดแล้วจำใน `localStorage` (`hobbypj.install.tip.dismissed.v1`)
|
||||
- **หน้าข้อความกฎหมาย (`.legal`)**: ความกว้างสูงสุด 72ch, หัวข้อ `--brand-800`, ใช้ได้กับหน้า `#/privacy`
|
||||
|
||||
## 6. สิ่งที่ห้าม
|
||||
|
||||
Reference in new issue
Block a user