From e26cc685d09732ab7eb3cf101a0d681841b42121 Mon Sep 17 00:00:00 2001 From: BANK Date: Fri, 20 Nov 2026 02:57:45 +0700 Subject: [PATCH] feat(landing): modern pass + ownership section - hero: rotating use-case line, count-up stats, GPU spec marquee - new #why section: why dorm residents should own a PC (cloud/account risk, perpetual license collapse, subscription rental) with cited sources (NYT/The Verge 2022, Microsoft Q&A/Lifecycle) and a rent-vs-own calculator - motion: 380ms reveals, hover lift, reading progress bar, reduced-motion paths - nav drawer breakpoint 960px, JS-off fallback, section renumbering --- AGENTS.md | 49 + DESIGN.md | 116 ++ README.md | 64 +- assets/css/style.css | 2173 ++++++++++++++++++++++++++ assets/fonts/k2d-400-latin-ext.woff2 | Bin 0 -> 11988 bytes assets/fonts/k2d-400-latin.woff2 | Bin 0 -> 13840 bytes assets/fonts/k2d-400-thai.woff2 | Bin 0 -> 10720 bytes assets/fonts/k2d-500-latin-ext.woff2 | Bin 0 -> 12296 bytes assets/fonts/k2d-500-latin.woff2 | Bin 0 -> 14404 bytes assets/fonts/k2d-500-thai.woff2 | Bin 0 -> 11108 bytes assets/fonts/k2d-700-latin-ext.woff2 | Bin 0 -> 12392 bytes assets/fonts/k2d-700-latin.woff2 | Bin 0 -> 14512 bytes assets/fonts/k2d-700-thai.woff2 | Bin 0 -> 11004 bytes assets/img/case-front.jpg | Bin 0 -> 57908 bytes assets/js/main.js | 310 ++++ index.html | 876 +++++++++++ 16 files changed, 3587 insertions(+), 1 deletion(-) create mode 100644 AGENTS.md create mode 100644 DESIGN.md create mode 100644 assets/css/style.css create mode 100644 assets/fonts/k2d-400-latin-ext.woff2 create mode 100644 assets/fonts/k2d-400-latin.woff2 create mode 100644 assets/fonts/k2d-400-thai.woff2 create mode 100644 assets/fonts/k2d-500-latin-ext.woff2 create mode 100644 assets/fonts/k2d-500-latin.woff2 create mode 100644 assets/fonts/k2d-500-thai.woff2 create mode 100644 assets/fonts/k2d-700-latin-ext.woff2 create mode 100644 assets/fonts/k2d-700-latin.woff2 create mode 100644 assets/fonts/k2d-700-thai.woff2 create mode 100644 assets/img/case-front.jpg create mode 100644 assets/js/main.js create mode 100644 index.html diff --git a/AGENTS.md b/AGENTS.md new file mode 100644 index 0000000..01f41a2 --- /dev/null +++ b/AGENTS.md @@ -0,0 +1,49 @@ +# AGENTS.md — กติกาสำหรับ AI ที่แก้โปรเจกต์นี้ + +## ก่อนแก้ + +1. อ่าน `DESIGN.md` — เป็นข้อกำหนดการออกแบบ ถ้าจะเปลี่ยนค่าสี/ฟอนต์/สเปก ให้แก้ DESIGN.md ก่อน +2. ตรวจว่าตัวเลขที่กำลังจะแก้ปรากฏที่ไหนอีก (`index.html`: hero chips, stat band, `#specs`, `#faq`, `#order`) + ตัวเลขชุดเดียวกันต้องตรงกันทุกจุด +3. งานนี้เป็น static site — ห้ามเพิ่ม bundler, framework หรือ dependency + +## คำสั่งที่ใช้ + +```bash +# เปิดดู +cd D:/Git/workspace/SSF-PC-software +python -m http.server 8090 # ตรวจที่ http://localhost:8090 + +# ตรวจ syntax +node --check assets/js/main.js + +# push (Gitea) +git -c http.version=HTTP/1.1 push origin main +``` + +## ข้อห้าม + +- ห้ามใส่ emoji ในหน้าเว็บ +- ห้ามใช้ gradient, เงาฟุ้ง (`box-shadow`), หรือมุมโค้งเกิน 4px +- ห้ามเรียกฟอนต์จาก CDN — K2D อยู่ใน `assets/fonts` เท่านั้น +- ห้ามเดาสเปกการ์ดจอที่ผู้ผลิตยังไม่ประกาศ ให้เขียน "รอประกาศ" แทน +- ห้ามแก้ `ORDER_EMAIL` เป็นค่าปลอมแล้วบอกผู้ใช้ว่าส่งออเดอร์ได้จริง — ฟอร์มเป็นแค่ตัวสร้างข้อความ +- ห้ามลบไฟล์ใน `LICENSE` หรือแก้เครดิตใน `README.md` / footer + +## จุดที่แก้บ่อย + +| งาน | ไฟล์ / ตำแหน่ง | +|---|---| +| เปลี่ยนราคา | `index.html` `.price` + `data-price` ของ `