4 Commits

Author SHA1 Message Date
739740bb4b Replace mock dashboard data with real backend data, remove unbuilt pages
Dashboard home was hardcoding fake numbers (2,431/10,000 requests, fake
"Pro Plan", fake activity log, fake random bar chart) despite the real
analytics/logs/keys endpoints already existing and being used correctly
elsewhere (Usage, Logs, Tokens pages). A fresh account with zero real
activity was showing 24% "used" from nobody's data.

Rewired every stat card, the usage chart, and the activity table to real
/api/analytics/*, /api/logs, and /api/keys data. Every Quick Action now
does something real (navigate to the real page, or call a real endpoint)
instead of being a no-op or hardcoded button.

Also removed 5 sidebar/footer links (AI Setup Guides, Tools & Permissions,
Billing, Team, Settings, Support) that pointed at nonexistent routes or
pages with no backend feature behind them at all — no team/multi-user
system, no per-tool permission toggles, no real subscription/billing
system exist in the backend yet. Documented what's needed to build each
one for real in FUTURE_FEATURES.md rather than shipping more fake UI.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-02 00:31:36 +05:30
0444ef09aa Fix navbar links not scrolling to sections
react-router-dom's Link intercepts hash-only navigation for client-side
routing and never triggers the browser's native scroll-to-anchor behavior.
Also half the nav items (Use Cases, Docs, Security) pointed at section ids
that were never built. Switched hash links to plain anchor tags (real
same-page scrolling), added a real #contact target in the footer, and
trimmed the nav/footer to only link sections that actually exist.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-02 00:16:55 +05:30
5b4834e6a5 Migrate frontend from Next.js to Vite + React Router
Full technology change: Next.js App Router replaced with Vite +
react-router-dom v6. All 21 pages and 5 landing components converted
(next/link -> Link, next/navigation -> react-router-dom hooks, next/font
-> @fontsource/inter, process.env -> import.meta.env). Dropped the unused
Stripe API routes, which can't run in a client-only Vite build anyway and
were never wired to any page.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-01 17:10:03 +05:30
61d04a662f first commit 2026-07-01 17:08:00 +05:30