From 34af8859b0aa9e2d41da55def4b2439137d85cd6 Mon Sep 17 00:00:00 2001 From: "Builder.io" Date: Tue, 5 Aug 2025 22:50:50 +0000 Subject: [PATCH] Create AeThex homepage with onboarding showcase cgen-ea41e8d36aff425e8f8388930a008ddf --- client/pages/Index.tsx | 276 +++++++++++++++++++++++++++++++++-------- 1 file changed, 222 insertions(+), 54 deletions(-) diff --git a/client/pages/Index.tsx b/client/pages/Index.tsx index 1a9612fb..201d9b5d 100644 --- a/client/pages/Index.tsx +++ b/client/pages/Index.tsx @@ -1,62 +1,230 @@ -import { DemoResponse } from "@shared/api"; -import { useEffect, useState } from "react"; +import Layout from "@/components/Layout"; +import { Button } from "@/components/ui/button"; +import { Card, CardContent, CardDescription, CardHeader, CardTitle } from "@/components/ui/card"; +import { Badge } from "@/components/ui/badge"; +import { Link } from "react-router-dom"; +import { + GamepadIcon, + BriefcaseIcon, + UsersIcon, + ShoppingCartIcon, + ArrowRight, + CheckCircle, + Sparkles, + Zap, + Target, + Users, + TrendingUp +} from "lucide-react"; export default function Index() { - const [exampleFromServer, setExampleFromServer] = useState(""); - // Fetch users on component mount - useEffect(() => { - fetchDemo(); - }, []); + const stats = [ + { value: "3", label: "Subsidiaries", icon: Target }, + { value: "1M+", label: "Community Members", icon: Users }, + { value: "50+", label: "Active Projects", icon: TrendingUp }, + { value: "99.9%", label: "Uptime Guarantee", icon: Zap }, + ]; - // Example of how to fetch data from the server (if needed) - const fetchDemo = async () => { - try { - const response = await fetch("/api/demo"); - const data = (await response.json()) as DemoResponse; - setExampleFromServer(data.message); - } catch (error) { - console.error("Error fetching hello:", error); + const userPaths = [ + { + id: 'game-developer', + title: 'Game Developer', + description: 'Join our development community with access to tools, mentorship, and collaborative projects.', + icon: GamepadIcon, + features: ['Development Tools', 'Expert Mentorship', 'Project Collaboration', 'Technical Workshops'], + color: 'from-neon-purple to-aethex-500' + }, + { + id: 'client', + title: 'Client', + description: 'Partner with us for custom game development and technical consulting services.', + icon: BriefcaseIcon, + features: ['Custom Development', 'Technical Consulting', 'Project Management', 'End-to-End Solutions'], + color: 'from-neon-blue to-aethex-400' + }, + { + id: 'member', + title: 'Community Member', + description: 'Access cutting-edge research, networking opportunities, and exclusive content.', + icon: UsersIcon, + features: ['Research Access', 'Professional Network', 'Exclusive Events', 'Innovation Labs'], + color: 'from-neon-green to-aethex-600' + }, + { + id: 'customer', + title: 'Customer', + description: 'Explore our games, tools, and products designed for enhanced experiences.', + icon: ShoppingCartIcon, + features: ['Premium Games', 'Development Tools', 'Beta Access', 'Community Support'], + color: 'from-neon-yellow to-aethex-700' } - }; + ]; return ( -
-
- {/* TODO: FUSION_GENERATION_APP_PLACEHOLDER replace everything here with the actual app! */} -

- - - - - Generating your app... -

-

- Watch the chat on the left for updates that might need your attention - to finish generating -

-

{exampleFromServer}

-
-
+ + {/* Hero Section */} +
+
+
+
+ + + Innovation & Technology + +

+ The Home of Innovation +

+

+ Welcome to AeThex Corporation, the central hub for our family of companies + dedicated to pushing the boundaries of development, automation, and technology. +

+
+ +
+ + +
+
+
+
+ + {/* Stats Section */} +
+
+
+ {stats.map((stat, index) => { + const Icon = stat.icon; + return ( +
+
+
+ +
+
+
+
{stat.value}
+

{stat.label}

+
+
+ ); + })} +
+
+
+ + {/* User Paths Section */} +
+
+
+

+ Choose Your Path +

+

+ Whether you're a developer, client, community member, or customer, + we have a tailored experience designed just for you. +

+
+ +
+ {userPaths.map((path) => { + const Icon = path.icon; + return ( + + +
+
+ +
+
+ {path.title} + + {path.description} + +
+
+
+ +
+ {path.features.map((feature, index) => ( +
+ + {feature} +
+ ))} +
+ +
+
+ ); + })} +
+
+
+ + {/* Research & Labs Section */} +
+
+
+
+ + Research & Experimental Division + +

+ AeThex | L.A.B.S. +

+

+ Pushing the boundaries of technology through cutting-edge research + and breakthrough discoveries that shape the future. +

+
+ +
+ + +
+
+
+
+ + {/* CTA Section */} +
+
+
+

+ Ready to Start Your Journey? +

+

+ Join thousands of developers, clients, and innovators who are already + part of the AeThex ecosystem. Your future in technology starts here. +

+ +
+
+
+
); }