From f75e4afff48a40bdd0529218b5872af049636b2c Mon Sep 17 00:00:00 2001 From: "Builder.io" Date: Sun, 28 Sep 2025 21:59:17 +0000 Subject: [PATCH] Update GameDevelopment page: apply diff change and replace Featured Projects with Featured Studios; add localStorage-driven studios cgen-5eb53a570c2f43fc86002e5d039669f6 --- client/pages/GameDevelopment.tsx | 109 ++++++++++++++++++++----------- 1 file changed, 72 insertions(+), 37 deletions(-) diff --git a/client/pages/GameDevelopment.tsx b/client/pages/GameDevelopment.tsx index 2803c907..1a36802d 100644 --- a/client/pages/GameDevelopment.tsx +++ b/client/pages/GameDevelopment.tsx @@ -146,12 +146,51 @@ export default function GameDevelopment() { title: "Roblox Tycoon Empire", description: "Business simulation with advanced economy systems", tech: ["Roblox Studio", "Lua", "DataStore"], - players: "100K+ visits", + players: "1B+ visits", rating: 4.7, category: "Simulation", }, ]; + type Studio = { + name: string; + tagline?: string; + metrics?: string; + specialties?: string[]; + }; + + const defaultStudios: Studio[] = [ + { + name: "Lone Star Studio", + tagline: "Indie craftsmanship with AAA polish", + metrics: "Top-rated indie hits", + specialties: ["Unity", "Unreal", "Pixel Art"], + }, + { + name: "AeThex | GameForge", + tagline: "High-performance cross-platform experiences", + metrics: "Billions of player sessions", + specialties: ["Roblox", "Backend", "LiveOps"], + }, + { + name: "Gaming Control", + tagline: "Strategy, simulation, and systems-first design", + metrics: "Award-winning franchises", + specialties: ["Simulation", "AI/ML", "Economy"], + }, + ]; + + const [studios, setStudios] = useState(defaultStudios); + useEffect(() => { + try { + const raw = localStorage.getItem("featured_studios"); + if (raw) { + const parsed = JSON.parse(raw); + if (Array.isArray(parsed) && parsed.length) setStudios(parsed); + } + } catch {} + }, []); + const process = [ { step: 1, @@ -391,65 +430,61 @@ export default function GameDevelopment() { - {/* Portfolio Section */} + {/* Featured Studios Section */}

- Featured Projects + Featured Studios

- Showcasing our latest game development achievements + Hand-picked studios powering AeThex game development

- {portfolio.map((project, index) => ( + {studios.map((studio, index) => ( -
- - {project.category} - -
-
- {project.title} - {project.description} + {studio.name} + {studio.tagline && ( + {studio.tagline} + )}
-
- {project.tech.map((tech, techIndex) => ( - - {tech} - - ))} -
+ {studio.specialties?.length ? ( +
+ {studio.specialties.map((tech, techIndex) => ( + + {tech} + + ))} +
+ ) : null} -
-
- - - {project.players} - + {studio.metrics ? ( +
+
+ + {studio.metrics} +
+
+ + Top Rated +
-
- - - {project.rating} - -
-
+ ) : null} ))}