Commit Graph

18 Commits

Author SHA1 Message Date
SepComet 8d6e599ea9 补充 static-assets 资源拉取路径 2026-05-07 15:27:44 +08:00
SepComet dea2caf18b Align homepage content and local port defaults for current deployment
Constraint: Current deployment expects the homepage on port 2000 and project cards should reflect the latest showcased repos
Rejected: Leave placeholder project seeds and old port default | mismatched with current runtime and presentation
Confidence: high
Scope-risk: narrow
Directive: Keep project seed paths stable with synced static asset filenames and revisit only when automated asset naming lands
Tested: npm run build; docker compose config
Not-tested: Live container restart against production host
2026-05-07 14:41:31 +08:00
SepComet 9ad73276e4 Prepare build-time static asset syncing without touching page templates
Constraint: Static images need to come from remote sources before log sync and build
Rejected: Per-file source mapping | directory-grouped manifests are easier to maintain
Confidence: high
Scope-risk: narrow
Directive: Prefer grouped target_dir manifests and keep page-facing paths stable
Tested: npm run assets:sync; npm run build; bash -n scripts/deploy-homepage.sh; npx tsc --noEmit --pretty false --project tsconfig.json
Not-tested: Real Seafile download against production URLs
2026-05-07 14:38:44 +08:00
SepComet 187686c94c Make the corner gallery resolve gallery files reliably
Use the project root as the anchor so the homepage sticker gallery survives Astro build and still randomizes from public/images/gallery.

Constraint: Keep behavior unchanged except for build-time discovery.
Rejected: import.meta.url-based directory lookup | it failed in production build.
Confidence: high
Scope-risk: narrow
Directive: Preserve the gallery scan as a static build-time concern unless the deployment model changes.
Tested: npm run build; verified dist/index.html contains corner-gallery and gallery image paths
Not-tested: browser repaint timing in a live session
2026-05-07 14:34:08 +08:00
SepComet f0397730e6 统一页面时间为东八区并调整活动条数 2026-05-07 09:36:01 +08:00
SepComet d46f69c9a6 优化首页 Gitea Activity 展示 2026-05-07 09:09:29 +08:00
SepComet 31796260cc docs: add cron deploy script and ignore local runtime artifacts 2026-05-06 19:23:17 +08:00
SepComet df4afe8a57 Make site URLs environment-driven 2026-05-06 11:00:06 +08:00
SepComet f0a6da915a Add Docker Compose deployment setup 2026-05-06 10:42:50 +08:00
SepComet 74fb6ec0a0 Add operations and sync documentation 2026-05-06 10:21:13 +08:00
SepComet 89bc23e7e7 Add structured rebuild entrypoint for AstrBot 2026-05-06 10:11:16 +08:00
SepComet 85e510fbc0 Add schema validation and sync metadata UI 2026-05-06 09:47:00 +08:00
SepComet e03af0c800 docs: update roadmap to match current sync implementation 2026-05-05 10:45:53 +08:00
SepComet 8265a10cff feat: scaffold seafile resource sync 2026-05-05 10:30:47 +08:00
SepComet fdeb25805c feat: add gitea sync and env-aware content sync 2026-05-05 09:53:51 +08:00
SepComet 7915f8c244 refactor: read page data from generated content 2026-05-05 09:14:51 +08:00
SepComet d85c8ac85d feat: add build-time content sync scaffold 2026-05-05 09:04:11 +08:00
SepComet 1ab1717e64 init 2026-05-04 21:56:20 +08:00