diff --git a/client/pages/Admin.tsx b/client/pages/Admin.tsx index 1174fd66..13ec02c8 100644 --- a/client/pages/Admin.tsx +++ b/client/pages/Admin.tsx @@ -175,17 +175,90 @@ export default function Admin() { - Site Settings + Featured Studios - Branding, legal, integrations + Manage studios shown on Game Development page - - navigate("/get-started")} - > - Open Settings - + + {studios.map((s, i) => ( + + + { + const next = studios.slice(); + next[i] = { ...next[i], name: e.target.value }; + setStudios(next); + }} + placeholder="Studio name" + /> + { + const next = studios.slice(); + next[i] = { ...next[i], tagline: e.target.value }; + setStudios(next); + }} + placeholder="Tagline" + /> + + + { + const next = studios.slice(); + next[i] = { ...next[i], metrics: e.target.value }; + setStudios(next); + }} + placeholder="Metrics (e.g., 1B+ sessions)" + /> + { + const next = studios.slice(); + next[i] = { ...next[i], specialties: e.target.value.split(",").map(v => v.trim()).filter(Boolean) }; + setStudios(next); + }} + placeholder="Specialties (comma separated)" + /> + + + { + const next = studios.filter((_, idx) => idx !== i); + setStudios(next); + }} + > + Remove + + + + ))} + + setStudios([...studios, { name: "New Studio" }])} + > + Add Studio + + { + try { + localStorage.setItem("featured_studios", JSON.stringify(studios)); + } catch {} + }} + > + Save + +