tpmjs/apps/web/src/app
Ajax Davis 59da95ce85 feat: update homepage to use real database data
- Add server component to fetch live stats from database
  - Tool count from Tool table
  - Invocations from successful Simulation records
  - Average latency from recent executions
  - Category distribution stats

- Add featured tools section
  - Display top 6 tools by quality score
  - Show tool cards with name, description, category, tags
  - Include quality score and download metrics
  - Official badge for verified tools
  - Click-through to tool detail pages

- Update HeroSection component
  - Accept stats prop with real database metrics
  - Format large numbers (e.g., "1.2K", "5.3M")
  - Add functional search navigation
  - Enter key and button click navigate to tool-search
  - Empty search browses all tools

- Optimize database queries
  - Use Promise.all() for parallel execution
  - Calculate avg latency from last 100 simulations
  - Graceful error handling with fallback values

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-30 15:33:10 +10:00
..
api fix: use dynamic import for AI SDK to resolve tiktoken WASM build error 2025-11-30 01:50:49 +10:00
playground fix(ui): make RadioGroup SSR-compatible while preserving runtime validation 2025-11-27 02:38:55 +10:00
publish feat(web): add comprehensive /publish page with full publishing guide 2025-11-29 22:19:43 +10:00
tool feat: add interactive tool playground with AI-powered execution 2025-11-30 00:36:05 +10:00
globals.css fix: format linear-gradient to single line for Biome 2025-11-27 23:05:56 +10:00
layout.tsx fix(lint): configure Biome to properly ignore build directories 2025-11-26 22:49:45 +10:00
page.tsx feat: update homepage to use real database data 2025-11-30 15:33:10 +10:00