feat(frontend): connect Next.js server components to Go backend REST API with resilient fallback

- Implement typed REST API client in refer_landing_page/lib/api.ts
- Support API_BASE_URL environment variable with graceful fallback to static content
- Connect Home page (projects, areas, stats), Members page (active, alumni), Publications (highlights, list, patents), Lectures, and Standardization pages to backend endpoints
- Pass all 12 SSG build, TypeScript, ESLint, and E2E quality gates
This commit is contained in:
2026-08-24 18:40:46 +09:00
parent fb6881070c
commit 9cb6258d3d
10 changed files with 415 additions and 40 deletions
+6
View File
@@ -0,0 +1,6 @@
# ==============================================================================
# AI Agent Networking Lab (ANL) Next.js Frontend Configuration
# ==============================================================================
# Backend REST API Base URL (used at build time / SSR)
API_BASE_URL=http://localhost:8080/api/v1