Commit Graph

9 Commits

Author SHA1 Message Date
dekun c9f78ef25f Fix PWA install by registering service worker in theme
VitePress did not auto-inject SW registration; manual registerSW enables true app install on HTTPS.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-05 17:47:57 +08:00
dekun f663867a25 Add PWA install support for mobile and desktop
Register service worker, install prompt UI, iOS meta tags, and document install steps in DEPLOY.md.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-05 17:41:51 +08:00
dekun a8be586652 Fix PWA shortcut icon on Windows
Allow unauthenticated access to favicon and manifest, generate favicon.ico, and add multi-size manifest icons.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-05 17:33:55 +08:00
dekun df619a5d8e Add site icons for favicon and home screen shortcuts
Include favicon, apple-touch-icon, web manifest, and navbar logo for bookmarks and PWA-style shortcuts.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-05 17:11:36 +08:00
dekun 4a0851628a Fix section 404 by rewriting README pages to index.html
Generate VitePress rewrites for subdirectory README.md and simplify Express page resolution.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-05 17:01:03 +08:00
dekun c4f1fb94a1 Fix 404 for README-based section pages in Express router
Resolve directory README.html paths for nav links like 周易 and 中医宝典.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-05 16:53:31 +08:00
dekun 68d816b3f3 Add VitePress site with local login and deployment docs
Enable static site build on port 12100 with Express session auth, auto sidebar, and DEPLOY.md for Ubuntu/NPS setup.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-05 16:12:35 +08:00
dekun 2a1dc95253 lfs init 2026-06-05 09:39:37 +08:00
dekun 0625125cbb first commit 2026-06-05 09:32:23 +08:00