Commit Graph
7 Commits
Author SHA1 Message Date
7418andClaude Opus 4.6 e5a48ca6af feat: migrate icon library from Hugeicons to Phosphor + UI polish
Icon library migration:
- Replace @hugeicons/react with @phosphor-icons/react across 60+ components
  (Phosphor supports 6 weight variants: thin/light/regular/bold/fill/duotone)
- Update apps/site (marketing) to use Phosphor icons
- Remove leftover svg.hugeicons CSS rules from globals.css

UI improvements:
- NavRail: selected tab icons use filled weight, unselected use regular
- User chat bubble: dark bg + white text in light mode, light bg + dark text
  in dark mode (new --user-bubble / --user-bubble-foreground CSS variables)
- Fix expand/collapse icons: use CaretRight (triangle) instead of ArrowRight
  in file-tree.tsx and tool-actions-group.tsx

Lint fixes:
- Fix eslint react-hooks/static-components in CodeBlock, ToolCallBlock,
  tool-actions-group — use createElement() instead of PascalCase variable
- Fix react-hooks/rules-of-hooks in MessageItem — move early return after hooks
- Fix react-hooks/set-state-in-effect in GalleryDetail — use ref pattern

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-11 11:12:12 +08:00
7418andClaude Opus 4.6 9fae911760 fix: dark mode button visibility — RainbowButton and DownloadButton
- RainbowButton: dark mode text white→dark for contrast on white bg
- DownloadButton: dark mode invert to white bg + dark text

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-10 23:21:45 +08:00
7418andClaude Opus 4.6 464ee64a52 fix: download button dark mode — invert colors for visibility
Light: dark bg + white text. Dark: white bg + dark text.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-10 23:16:51 +08:00
7418andClaude Opus 4.6 386224d7d9 fix: download button use fixed colors for consistent visibility
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-10 22:27:55 +08:00
7418andClaude Opus 4.6 6e666b1297 feat: SEO optimization, favicons, and dark mode download button fix
- Add comprehensive metadata: Open Graph, Twitter Card, keywords, robots
- Add per-page metadata with i18n alternates for homepage (en/zh)
- Add robots.ts, sitemap.ts (dynamic from docs), manifest.ts
- Add favicon (icon.png 32px), apple-icon.png (180px), PWA icons (192/512px)
- Add og-image.png (1200x630) for social sharing
- Update site.config.ts with canonical URL and improved description
- Fix DownloadButton dark mode: white-on-white text → dark:bg-white dark:text-black

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-10 22:03:52 +08:00
7418andClaude Opus 4.6 3b87e56134 fix: site build/deploy blockers — local fonts, lint cleanup, Vercel compat
- Replace next/font/google with next/font/local to eliminate build-time
  dependency on fonts.googleapis.com (Inter + Geist self-hosted in repo)
- Centralize font definitions in src/lib/fonts.ts, single entry point
- Remove unused Geist import and AnimatePresence import (lint warnings)
- Delete unused community/download placeholder pages (build errors)
- Add outputFileTracingRoot for monorepo vendor chunk resolution
- Make root prepare script CI-safe (husky graceful fallback)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-10 20:59:39 +08:00
7418andClaude Opus 4.6 1359758fbf feat: add marketing site and docs app (apps/site)
- Homepage with hero section (typewriter animation, ChatDemo, FlickeringGrid),
  features section, open-source section (GitHub stars), FAQ accordion, final CTA
- Docs powered by fumadocs-ui with i18n (en/zh), custom top nav bar with
  search, GitHub link, and language switcher
- Marketing content system with typed en/zh content files
- Custom components: RainbowButton, ScrollNav, ChatDemo animation
- Docs pages: Getting Started, Installation, Providers, MCP, Bridge,
  Assistant Workspace, FAQ
- DownloadButton MDX component linking to GitHub Releases
- Monorepo workspace config (apps/*, packages/*)
- Fix FAQ accordion lint (pure CSS grid-template-rows animation, no useEffect)
- Fix RainbowButton empty interface lint error

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-10 20:25:57 +08:00