Commit Graph

8 Commits

Author SHA1 Message Date
61e86bf215 fix: align frontend with design spec + UX improvements
Design spec compliance:
- Fix body font-weight: font-medium → font-normal (spec requires 400)
- PostCard: add group hover effects, underline on title hover, arrow →, translate animation
- PostCard: add text-lg to excerpt (spec Body style)
- PostMeta: fix date color neutral-400 → neutral-500 (spec Ash color)
- Homepage: fix error color neutral-400 → red-600 (spec Error color)
- Register: replace green/yellow with black/gray (spec: no non-functional colors)
- Drafts: remove green from Publish button
- PostContent: unify pre background to #fafafa (spec Vapor color)
- ImageUpload: replace dashed border with solid thin line

Bug fixes:
- PostPage: use notFound() instead of router.push('/not-found')
- next.config.ts: add images.remotePatterns for external images

UX improvements:
- Editor: responsive grid-cols-1 md:grid-cols-2 for mobile
- Editor pages: replace alert() with SaveStatus component
- Autosave delay: 300ms → 2000ms to reduce API pressure
2026-03-10 18:05:07 +08:00
dela
ad30d37888 修复代码高亮和换行 2026-03-04 23:44:11 +08:00
dela
5a618aac12 feature: add draft 2026-02-12 00:34:21 +08:00
dela
788de594f2 fix:port 2026-02-11 20:01:58 +08:00
dela
8935465cd6 fix: Node version 2026-02-11 19:56:06 +08:00
dela
ac50a7bb8d fix: dockerfile 2026-02-11 19:54:44 +08:00
dela
08ffa06eb4 first commit 2026-02-11 19:46:38 +08:00
dela
1c90905716 Initial commit from Create Next App 2026-02-11 15:43:05 +08:00