feat(frontend): purge all static content fallback files and enforce strict backend-only dynamic rendering

- Delete all legacy static content data files (members.ts, publications.ts, lectures.ts, standards.ts, projects.ts)
- Remove all fallback imports and static fallbacks across all page components
- Enforce strict dynamic runtime fetching where pages render empty datasets when Go backend server is unavailable
This commit is contained in:
2026-08-24 20:10:25 +09:00
parent 5041ab1ea8
commit f96f687dd1
13 changed files with 15 additions and 3704 deletions
+2 -3
View File
@@ -1,6 +1,5 @@
import React from "react";
import type { Metadata } from "next";
import { activeMembers as staticMembers, alumni as staticAlumni } from "../../content/members";
import { getMembers, getAlumni } from "../../lib/api";
import { ProfessorDetailsDialog } from "./_components/ProfessorDetailsDialog";
@@ -22,8 +21,8 @@ const DEGREE_LABEL: Record<string, string> = {
};
export default async function MembersPage() {
const activeMembers = (await getMembers()) ?? staticMembers;
const alumni = (await getAlumni()) ?? staticAlumni;
const activeMembers = (await getMembers()) ?? [];
const alumni = (await getAlumni()) ?? [];
const phdStudents = activeMembers.filter(
(m) =>