Build FoundationContribute - Contributing to open source

cgen-dbba92aa6eb64e95a4c7537e57bcb13a
This commit is contained in:
Builder.io 2025-11-07 23:42:25 +00:00
parent ba1e93cec1
commit d139b67abb
3 changed files with 489 additions and 316 deletions

View file

@ -1,17 +1,66 @@
import Layout from "@/components/Layout"; import Layout from "@/components/Layout";
import { Button } from "@/components/ui/button"; import { Button } from "@/components/ui/button";
import { Badge } from "@/components/ui/badge"; import { Badge } from "@/components/ui/badge";
import { Card, CardContent, CardHeader, CardTitle } from "@/components/ui/card"; import { Card, CardContent } from "@/components/ui/card";
import { Heart, Code, BookOpen, Globe } from "lucide-react"; import { Github, BookOpen, Users, CheckCircle, ArrowRight } from "lucide-react";
import { useNavigate } from "react-router-dom"; import { useNavigate } from "react-router-dom";
export default function FoundationContribute() { export default function FoundationContribute() {
const navigate = useNavigate(); const navigate = useNavigate();
const projects = [
{
name: "AeThex Game Engine",
description: "High-performance game engine for web and native platforms",
stars: "2.5K",
language: "Rust",
difficulty: "Intermediate",
goodFirst: ["docs", "examples", "tests"],
},
{
name: "Roblox Toolkit",
description: "Professional Roblox development library and utilities",
stars: "1.8K",
language: "Lua",
difficulty: "Beginner",
goodFirst: ["bug fixes", "documentation", "examples"],
},
{
name: "Procedural Generation Library",
description: "Advanced PCG algorithms for game content",
stars: "980",
language: "Rust",
difficulty: "Advanced",
goodFirst: ["tests", "optimization", "examples"],
},
];
const contributionTypes = [
{
title: "Code Contributions",
description: "Submit bug fixes, features, or optimizations",
benefits: ["Build portfolio", "Earn recognition", "Shape projects"],
},
{
title: "Documentation",
description: "Improve guides, README files, and API docs",
benefits: ["Help community", "Easy to start", "High impact"],
},
{
title: "Bug Reports",
description: "Find and report issues with clear details",
benefits: ["Free to start", "No coding needed", "Helps everyone"],
},
{
title: "Translations",
description: "Help translate docs and guides to other languages",
benefits: ["Global impact", "Flexible work", "Community valued"],
},
];
return ( return (
<Layout> <Layout>
<div className="relative min-h-screen bg-black text-white overflow-hidden"> <div className="relative min-h-screen bg-black text-white overflow-hidden">
{/* Animated grid background */}
<div className="pointer-events-none absolute inset-0 opacity-[0.12] [background-image:radial-gradient(circle_at_top,#ef4444_0,rgba(0,0,0,0.45)_55%,rgba(0,0,0,0.9)_100%)]" /> <div className="pointer-events-none absolute inset-0 opacity-[0.12] [background-image:radial-gradient(circle_at_top,#ef4444_0,rgba(0,0,0,0.45)_55%,rgba(0,0,0,0.9)_100%)]" />
<div className="pointer-events-none absolute inset-0 bg-[linear-gradient(transparent_0,transparent_calc(100%-1px),rgba(239,68,68,0.05)_calc(100%-1px))] bg-[length:100%_32px]" /> <div className="pointer-events-none absolute inset-0 bg-[linear-gradient(transparent_0,transparent_calc(100%-1px),rgba(239,68,68,0.05)_calc(100%-1px))] bg-[length:100%_32px]" />
<div className="pointer-events-none absolute inset-0 opacity-[0.08] [background-image:linear-gradient(90deg,rgba(239,68,68,0.1)_1px,transparent_1px),linear-gradient(0deg,rgba(239,68,68,0.1)_1px,transparent_1px)] [background-size:50px_50px] animate-pulse" /> <div className="pointer-events-none absolute inset-0 opacity-[0.08] [background-image:linear-gradient(90deg,rgba(239,68,68,0.1)_1px,transparent_1px),linear-gradient(0deg,rgba(239,68,68,0.1)_1px,transparent_1px)] [background-size:50px_50px] animate-pulse" />
@ -19,121 +68,138 @@ export default function FoundationContribute() {
<div className="pointer-events-none absolute bottom-20 right-10 w-72 h-72 bg-red-600/10 rounded-full blur-3xl animate-blob animation-delay-2000" /> <div className="pointer-events-none absolute bottom-20 right-10 w-72 h-72 bg-red-600/10 rounded-full blur-3xl animate-blob animation-delay-2000" />
<main className="relative z-10"> <main className="relative z-10">
{/* Hero Section */} <section className="py-16">
<section className="relative overflow-hidden py-20 lg:py-28"> <div className="container mx-auto max-w-6xl px-4">
<div className="container mx-auto max-w-6xl px-4 text-center"> <Button
<div className="mx-auto flex max-w-3xl flex-col items-center gap-8"> variant="ghost"
<Button className="text-red-300 hover:bg-red-500/10 mb-8"
variant="ghost" onClick={() => navigate("/foundation")}
className="text-red-300 hover:bg-red-500/10" >
onClick={() => navigate("/foundation")} Back to Foundation
> </Button>
Back to Foundation
</Button>
<Badge <h1 className="text-4xl lg:text-5xl font-black text-red-300 mb-4">
variant="outline" Contribute to Open Source
className="border-red-400/40 bg-red-500/10 text-red-300 shadow-[0_0_20px_rgba(239,68,68,0.2)]" </h1>
> <p className="text-lg text-red-100/80 max-w-3xl">
<Heart className="h-5 w-5 mr-2" /> Help us build better tools and resources for the developer community. All skill levels welcome.
Contribute </p>
</Badge> </div>
</section>
<h1 className="text-4xl font-black tracking-tight text-red-300 sm:text-5xl lg:text-6xl"> <section className="py-16">
Make a Difference <div className="container mx-auto max-w-6xl px-4">
</h1> <h2 className="text-3xl font-bold text-red-300 mb-8">
Featured Projects
<p className="text-lg text-red-100/90 sm:text-xl"> </h2>
Help us democratize technology through open source. Your <div className="space-y-6">
contributions directly impact millions of developers {projects.map((project, idx) => (
worldwide. <Card
</p> key={idx}
className="bg-red-950/20 border-red-400/30 hover:border-red-400/60 transition-all"
<div className="flex flex-col gap-4 sm:flex-row">
<Button
size="lg"
className="bg-red-400 text-black shadow-[0_0_30px_rgba(239,68,68,0.35)] transition hover:bg-red-300"
> >
<Code className="mr-2 h-5 w-5" /> <CardContent className="pt-6">
Start Contributing <div className="flex items-start justify-between mb-4">
</Button> <div>
<Button <h3 className="text-xl font-bold text-red-300 mb-1">
size="lg" {project.name}
variant="outline" </h3>
className="border-red-400/60 text-red-300 hover:bg-red-500/10" <p className="text-sm text-red-200/70">
> {project.description}
View Projects </p>
</Button> </div>
</div> <div className="text-right">
<Badge className="bg-red-500/20 text-red-300 border border-red-400/40 mb-2">
{project.stars}
</Badge>
<Badge className="bg-red-500/20 text-red-300 border border-red-400/40 block">
{project.language}
</Badge>
</div>
</div>
<div className="space-y-3 pt-4 border-t border-red-400/10">
<p className="text-xs font-semibold text-red-400">
Good for Beginners
</p>
<div className="flex flex-wrap gap-2">
{project.goodFirst.map((tag, i) => (
<Badge
key={i}
className="bg-red-500/10 text-red-300 border border-red-400/30 text-xs"
>
{tag}
</Badge>
))}
</div>
<Button
variant="ghost"
size="sm"
className="text-red-300 hover:bg-red-500/10 mt-2"
>
<Github className="h-4 w-4 mr-1" />
View on GitHub
</Button>
</div>
</CardContent>
</Card>
))}
</div> </div>
</div> </div>
</section> </section>
{/* Ways to Contribute */} <section className="py-16 border-t border-red-400/10 bg-black/40">
<section className="border-y border-red-400/10 bg-black/80 py-16">
<div className="container mx-auto max-w-6xl px-4"> <div className="container mx-auto max-w-6xl px-4">
<h2 className="text-3xl font-bold text-red-300 mb-8"> <h2 className="text-3xl font-bold text-red-300 mb-8">
Ways to Contribute Ways to Contribute
</h2> </h2>
<div className="grid md:grid-cols-2 lg:grid-cols-4 gap-6"> <div className="grid md:grid-cols-2 gap-6">
<Card className="bg-red-950/20 border-red-400/30 hover:border-red-400/60 transition-colors"> {contributionTypes.map((type, idx) => (
<CardHeader> <Card
<Code className="h-8 w-8 text-red-400 mb-2" /> key={idx}
<CardTitle className="text-red-300">Write Code</CardTitle> className="bg-red-950/20 border-red-400/30"
</CardHeader> >
<CardContent> <CardContent className="pt-6">
<p className="text-sm text-red-200/70"> <h3 className="text-lg font-bold text-red-300 mb-2">
Contribute code improvements, fixes, and new features to {type.title}
our projects. </h3>
</p> <p className="text-sm text-red-200/70 mb-4">
</CardContent> {type.description}
</Card> </p>
<ul className="space-y-2">
<Card className="bg-red-950/20 border-red-400/30 hover:border-red-400/60 transition-colors"> {type.benefits.map((benefit, i) => (
<CardHeader> <li
<BookOpen className="h-8 w-8 text-red-400 mb-2" /> key={i}
<CardTitle className="text-red-300"> className="flex items-center gap-2 text-xs text-red-300"
Documentation >
</CardTitle> <CheckCircle className="h-4 w-4 text-red-400" />
</CardHeader> {benefit}
<CardContent> </li>
<p className="text-sm text-red-200/70"> ))}
Help improve documentation to make projects more </ul>
accessible to everyone. </CardContent>
</p> </Card>
</CardContent> ))}
</Card>
<Card className="bg-red-950/20 border-red-400/30 hover:border-red-400/60 transition-colors">
<CardHeader>
<Globe className="h-8 w-8 text-red-400 mb-2" />
<CardTitle className="text-red-300">Translations</CardTitle>
</CardHeader>
<CardContent>
<p className="text-sm text-red-200/70">
Help us reach developers globally by translating content
into your language.
</p>
</CardContent>
</Card>
<Card className="bg-red-950/20 border-red-400/30 hover:border-red-400/60 transition-colors">
<CardHeader>
<Heart className="h-8 w-8 text-red-400 mb-2" />
<CardTitle className="text-red-300">
Support Others
</CardTitle>
</CardHeader>
<CardContent>
<p className="text-sm text-red-200/70">
Help community members by answering questions and
reviewing contributions.
</p>
</CardContent>
</Card>
</div> </div>
</div> </div>
</section> </section>
<section className="py-16 border-t border-red-400/10">
<div className="container mx-auto max-w-4xl px-4 text-center">
<h2 className="text-3xl font-bold text-red-300 mb-4">
Ready to Contribute?
</h2>
<p className="text-lg text-red-100/80 mb-8">
Choose a project and start making an impact today.
</p>
<Button
className="bg-red-400 text-black hover:bg-red-300"
>
Browse Repositories
<ArrowRight className="ml-2 h-4 w-4" />
</Button>
</div>
</section>
</main> </main>
</div> </div>
</Layout> </Layout>

View file

@ -1,17 +1,70 @@
import Layout from "@/components/Layout"; import Layout from "@/components/Layout";
import { Button } from "@/components/ui/button"; import { Button } from "@/components/ui/button";
import { Badge } from "@/components/ui/badge"; import { Badge } from "@/components/ui/badge";
import { Card, CardContent, CardHeader, CardTitle } from "@/components/ui/card"; import { Card, CardContent } from "@/components/ui/card";
import { Heart, Users, Zap, Globe } from "lucide-react"; import { Calendar, Users, Zap, Heart, ArrowRight } from "lucide-react";
import { useNavigate } from "react-router-dom"; import { useNavigate } from "react-router-dom";
export default function FoundationGetInvolved() { export default function FoundationGetInvolved() {
const navigate = useNavigate(); const navigate = useNavigate();
const events = [
{
title: "Weekly Game Dev Workshop",
date: "Every Saturday, 10 AM",
attendees: "150+/week",
level: "Beginner",
description: "Interactive sessions on game development fundamentals",
},
{
title: "Roblox Developer Meetup",
date: "1st Thursday, 7 PM",
attendees: "50+/month",
level: "All Levels",
description: "Connect with other Roblox developers in your area",
},
{
title: "Advanced Architecture Conference",
date: "Monthly",
attendees: "200+",
level: "Advanced",
description: "Deep dive into scalable game architecture",
},
{
title: "Game Jam Challenge",
date: "Quarterly",
attendees: "500+",
level: "All Levels",
description: "Build a game in 48 hours and compete",
},
];
const ways = [
{
title: "Attend Workshops",
description: "Join our free community workshops and learn from experts",
icon: <Calendar className="h-6 w-6" />,
},
{
title: "Join Discussions",
description: "Participate in forums and ask questions in Discord",
icon: <Users className="h-6 w-6" />,
},
{
title: "Volunteer",
description: "Help organize events and mentor new developers",
icon: <Heart className="h-6 w-6" />,
},
{
title: "Share Knowledge",
description: "Write tutorials or speak at our events",
icon: <Zap className="h-6 w-6" />,
},
];
return ( return (
<Layout> <Layout>
<div className="relative min-h-screen bg-black text-white overflow-hidden"> <div className="relative min-h-screen bg-black text-white overflow-hidden">
{/* Animated grid background */}
<div className="pointer-events-none absolute inset-0 opacity-[0.12] [background-image:radial-gradient(circle_at_top,#ef4444_0,rgba(0,0,0,0.45)_55%,rgba(0,0,0,0.9)_100%)]" /> <div className="pointer-events-none absolute inset-0 opacity-[0.12] [background-image:radial-gradient(circle_at_top,#ef4444_0,rgba(0,0,0,0.45)_55%,rgba(0,0,0,0.9)_100%)]" />
<div className="pointer-events-none absolute inset-0 bg-[linear-gradient(transparent_0,transparent_calc(100%-1px),rgba(239,68,68,0.05)_calc(100%-1px))] bg-[length:100%_32px]" /> <div className="pointer-events-none absolute inset-0 bg-[linear-gradient(transparent_0,transparent_calc(100%-1px),rgba(239,68,68,0.05)_calc(100%-1px))] bg-[length:100%_32px]" />
<div className="pointer-events-none absolute inset-0 opacity-[0.08] [background-image:linear-gradient(90deg,rgba(239,68,68,0.1)_1px,transparent_1px),linear-gradient(0deg,rgba(239,68,68,0.1)_1px,transparent_1px)] [background-size:50px_50px] animate-pulse" /> <div className="pointer-events-none absolute inset-0 opacity-[0.08] [background-image:linear-gradient(90deg,rgba(239,68,68,0.1)_1px,transparent_1px),linear-gradient(0deg,rgba(239,68,68,0.1)_1px,transparent_1px)] [background-size:50px_50px] animate-pulse" />
@ -19,120 +72,117 @@ export default function FoundationGetInvolved() {
<div className="pointer-events-none absolute bottom-20 right-10 w-72 h-72 bg-red-600/10 rounded-full blur-3xl animate-blob animation-delay-2000" /> <div className="pointer-events-none absolute bottom-20 right-10 w-72 h-72 bg-red-600/10 rounded-full blur-3xl animate-blob animation-delay-2000" />
<main className="relative z-10"> <main className="relative z-10">
{/* Hero Section */} <section className="py-16">
<section className="relative overflow-hidden py-20 lg:py-28"> <div className="container mx-auto max-w-6xl px-4">
<div className="container mx-auto max-w-6xl px-4 text-center"> <Button
<div className="mx-auto flex max-w-3xl flex-col items-center gap-8"> variant="ghost"
<Button className="text-red-300 hover:bg-red-500/10 mb-8"
variant="ghost" onClick={() => navigate("/foundation")}
className="text-red-300 hover:bg-red-500/10" >
onClick={() => navigate("/foundation")} Back to Foundation
> </Button>
Back to Foundation
</Button>
<Badge <h1 className="text-4xl lg:text-5xl font-black text-red-300 mb-4">
variant="outline" Get Involved in the Community
className="border-red-400/40 bg-red-500/10 text-red-300 shadow-[0_0_20px_rgba(239,68,68,0.2)]" </h1>
> <p className="text-lg text-red-100/80 max-w-3xl">
<Heart className="h-5 w-5 mr-2" /> Join 50K+ developers building and learning together.
Get Involved </p>
</Badge> </div>
</section>
<h1 className="text-4xl font-black tracking-tight text-red-300 sm:text-5xl lg:text-6xl"> <section className="py-16">
Join Our Mission <div className="container mx-auto max-w-6xl px-4">
</h1> <h2 className="text-3xl font-bold text-red-300 mb-8">
Upcoming Events
<p className="text-lg text-red-100/90 sm:text-xl"> </h2>
Many ways to get involved with the Foundation. Find the role <div className="space-y-4">
that fits you best and make an impact. {events.map((event, idx) => (
</p> <Card
key={idx}
<div className="flex flex-col gap-4 sm:flex-row"> className="bg-red-950/20 border-red-400/30 hover:border-red-400/60 transition-all"
<Button
size="lg"
className="bg-red-400 text-black shadow-[0_0_30px_rgba(239,68,68,0.35)] transition hover:bg-red-300"
> >
<Heart className="mr-2 h-5 w-5" /> <CardContent className="pt-6">
Get Started <div className="grid md:grid-cols-4 gap-4">
</Button> <div>
<Button <h3 className="text-lg font-bold text-red-300">
size="lg" {event.title}
variant="outline" </h3>
className="border-red-400/60 text-red-300 hover:bg-red-500/10" </div>
> <div>
Explore Initiatives <p className="text-xs font-semibold text-red-400 mb-1">
</Button> WHEN
</div> </p>
<p className="text-sm text-red-200/70">
{event.date}
</p>
</div>
<div>
<p className="text-xs font-semibold text-red-400 mb-1">
LEVEL
</p>
<Badge className="bg-red-500/20 text-red-300 border border-red-400/40">
{event.level}
</Badge>
</div>
<div className="text-right">
<p className="text-xs font-semibold text-red-400 mb-1">
ATTENDEES
</p>
<p className="text-sm text-red-300">
{event.attendees}
</p>
</div>
</div>
</CardContent>
</Card>
))}
</div> </div>
</div> </div>
</section> </section>
{/* Involvement Opportunities */} <section className="py-16 border-t border-red-400/10 bg-black/40">
<section className="border-y border-red-400/10 bg-black/80 py-16">
<div className="container mx-auto max-w-6xl px-4"> <div className="container mx-auto max-w-6xl px-4">
<h2 className="text-3xl font-bold text-red-300 mb-8"> <h2 className="text-3xl font-bold text-red-300 mb-8">
How You Can Help Ways to Participate
</h2> </h2>
<div className="grid md:grid-cols-2 lg:grid-cols-4 gap-6"> <div className="grid md:grid-cols-2 gap-6">
<Card className="bg-red-950/20 border-red-400/30 hover:border-red-400/60 transition-colors"> {ways.map((way, idx) => (
<CardHeader> <Card
<Users className="h-8 w-8 text-red-400 mb-2" /> key={idx}
<CardTitle className="text-red-300">Volunteer</CardTitle> className="bg-red-950/20 border-red-400/30"
</CardHeader> >
<CardContent> <CardContent className="pt-6">
<p className="text-sm text-red-200/70"> <div className="text-red-400 mb-3">{way.icon}</div>
Dedicate your time and skills to projects that matter and <h3 className="text-lg font-bold text-red-300 mb-2">
make a real difference. {way.title}
</p> </h3>
</CardContent> <p className="text-sm text-red-200/70">
</Card> {way.description}
</p>
<Card className="bg-red-950/20 border-red-400/30 hover:border-red-400/60 transition-colors"> </CardContent>
<CardHeader> </Card>
<Zap className="h-8 w-8 text-red-400 mb-2" /> ))}
<CardTitle className="text-red-300">
Spread the Word
</CardTitle>
</CardHeader>
<CardContent>
<p className="text-sm text-red-200/70">
Help us reach more people by sharing our mission with your
network.
</p>
</CardContent>
</Card>
<Card className="bg-red-950/20 border-red-400/30 hover:border-red-400/60 transition-colors">
<CardHeader>
<Globe className="h-8 w-8 text-red-400 mb-2" />
<CardTitle className="text-red-300">
Partner With Us
</CardTitle>
</CardHeader>
<CardContent>
<p className="text-sm text-red-200/70">
Organizations and companies can partner with us to amplify
our impact.
</p>
</CardContent>
</Card>
<Card className="bg-red-950/20 border-red-400/30 hover:border-red-400/60 transition-colors">
<CardHeader>
<Heart className="h-8 w-8 text-red-400 mb-2" />
<CardTitle className="text-red-300">Support Us</CardTitle>
</CardHeader>
<CardContent>
<p className="text-sm text-red-200/70">
Help fund our initiatives and keep our work free and
accessible to all.
</p>
</CardContent>
</Card>
</div> </div>
</div> </div>
</section> </section>
<section className="py-16 border-t border-red-400/10">
<div className="container mx-auto max-w-4xl px-4 text-center">
<h2 className="text-3xl font-bold text-red-300 mb-4">
Ready to Join?
</h2>
<p className="text-lg text-red-100/80 mb-8">
Sign up for events and connect with other developers.
</p>
<Button
className="bg-red-400 text-black hover:bg-red-300"
>
Register for Next Event
<ArrowRight className="ml-2 h-4 w-4" />
</Button>
</div>
</section>
</main> </main>
</div> </div>
</Layout> </Layout>

View file

@ -1,17 +1,78 @@
import Layout from "@/components/Layout"; import Layout from "@/components/Layout";
import { Button } from "@/components/ui/button"; import { Button } from "@/components/ui/button";
import { Badge } from "@/components/ui/badge"; import { Badge } from "@/components/ui/badge";
import { Card, CardContent, CardHeader, CardTitle } from "@/components/ui/card"; import { Card, CardContent } from "@/components/ui/card";
import { BookOpen, Lightbulb, Users, Award } from "lucide-react"; import { BookOpen, Video, Code, Users, ArrowRight, GraduationCap } from "lucide-react";
import { useNavigate } from "react-router-dom"; import { useNavigate } from "react-router-dom";
export default function FoundationLearnMore() { export default function FoundationLearnMore() {
const navigate = useNavigate(); const navigate = useNavigate();
const learningPaths = [
{
title: "Game Development Fundamentals",
description: "Master the core concepts and best practices",
duration: "6 weeks",
level: "Beginner",
format: "Video Course",
modules: 12,
},
{
title: "Roblox Development Mastery",
description: "Build professional Roblox experiences",
duration: "8 weeks",
level: "Intermediate",
format: "Interactive Tutorial",
modules: 16,
},
{
title: "Advanced Game Architecture",
description: "Scalable systems and optimization",
duration: "10 weeks",
level: "Advanced",
format: "Project-Based",
modules: 20,
},
{
title: "Game Art & Animation",
description: "Create stunning visuals and smooth animations",
duration: "7 weeks",
level: "Intermediate",
format: "Video Tutorials",
modules: 14,
},
];
const resources = [
{
type: "Documentation",
icon: <BookOpen className="h-6 w-6" />,
count: "50+",
description: "Guides and API reference",
},
{
type: "Video Tutorials",
icon: <Video className="h-6 w-6" />,
count: "200+",
description: "Hours of content",
},
{
type: "Code Examples",
icon: <Code className="h-6 w-6" />,
count: "100+",
description: "Ready-to-use code",
},
{
type: "Community",
icon: <Users className="h-6 w-6" />,
count: "50K+",
description: "Active developers",
},
];
return ( return (
<Layout> <Layout>
<div className="relative min-h-screen bg-black text-white overflow-hidden"> <div className="relative min-h-screen bg-black text-white overflow-hidden">
{/* Animated grid background */}
<div className="pointer-events-none absolute inset-0 opacity-[0.12] [background-image:radial-gradient(circle_at_top,#ef4444_0,rgba(0,0,0,0.45)_55%,rgba(0,0,0,0.9)_100%)]" /> <div className="pointer-events-none absolute inset-0 opacity-[0.12] [background-image:radial-gradient(circle_at_top,#ef4444_0,rgba(0,0,0,0.45)_55%,rgba(0,0,0,0.9)_100%)]" />
<div className="pointer-events-none absolute inset-0 bg-[linear-gradient(transparent_0,transparent_calc(100%-1px),rgba(239,68,68,0.05)_calc(100%-1px))] bg-[length:100%_32px]" /> <div className="pointer-events-none absolute inset-0 bg-[linear-gradient(transparent_0,transparent_calc(100%-1px),rgba(239,68,68,0.05)_calc(100%-1px))] bg-[length:100%_32px]" />
<div className="pointer-events-none absolute inset-0 opacity-[0.08] [background-image:linear-gradient(90deg,rgba(239,68,68,0.1)_1px,transparent_1px),linear-gradient(0deg,rgba(239,68,68,0.1)_1px,transparent_1px)] [background-size:50px_50px] animate-pulse" /> <div className="pointer-events-none absolute inset-0 opacity-[0.08] [background-image:linear-gradient(90deg,rgba(239,68,68,0.1)_1px,transparent_1px),linear-gradient(0deg,rgba(239,68,68,0.1)_1px,transparent_1px)] [background-size:50px_50px] animate-pulse" />
@ -19,124 +80,120 @@ export default function FoundationLearnMore() {
<div className="pointer-events-none absolute bottom-20 right-10 w-72 h-72 bg-red-600/10 rounded-full blur-3xl animate-blob animation-delay-2000" /> <div className="pointer-events-none absolute bottom-20 right-10 w-72 h-72 bg-red-600/10 rounded-full blur-3xl animate-blob animation-delay-2000" />
<main className="relative z-10"> <main className="relative z-10">
{/* Hero Section */} <section className="py-16">
<section className="relative overflow-hidden py-20 lg:py-28"> <div className="container mx-auto max-w-6xl px-4">
<div className="container mx-auto max-w-6xl px-4 text-center"> <Button
<div className="mx-auto flex max-w-3xl flex-col items-center gap-8"> variant="ghost"
<Button className="text-red-300 hover:bg-red-500/10 mb-8"
variant="ghost" onClick={() => navigate("/foundation")}
className="text-red-300 hover:bg-red-500/10" >
onClick={() => navigate("/foundation")} Back to Foundation
> </Button>
Back to Foundation
</Button>
<Badge <h1 className="text-4xl lg:text-5xl font-black text-red-300 mb-4">
variant="outline" Learning Resources
className="border-red-400/40 bg-red-500/10 text-red-300 shadow-[0_0_20px_rgba(239,68,68,0.2)]" </h1>
> <p className="text-lg text-red-100/80 max-w-3xl">
<BookOpen className="h-5 w-5 mr-2" /> Free educational content to help you master game development and Roblox.
Learn More </p>
</Badge>
<h1 className="text-4xl font-black tracking-tight text-red-300 sm:text-5xl lg:text-6xl">
Educational Resources
</h1>
<p className="text-lg text-red-100/90 sm:text-xl">
Free, accessible learning resources to help developers of all
skill levels grow and succeed.
</p>
<div className="flex flex-col gap-4 sm:flex-row">
<Button
size="lg"
className="bg-red-400 text-black shadow-[0_0_30px_rgba(239,68,68,0.35)] transition hover:bg-red-300"
>
<BookOpen className="mr-2 h-5 w-5" />
Browse Courses
</Button>
<Button
size="lg"
variant="outline"
className="border-red-400/60 text-red-300 hover:bg-red-500/10"
>
View Curriculum
</Button>
</div>
</div>
</div> </div>
</section> </section>
{/* Learning Resources */} <section className="py-16">
<section className="border-y border-red-400/10 bg-black/80 py-16">
<div className="container mx-auto max-w-6xl px-4"> <div className="container mx-auto max-w-6xl px-4">
<h2 className="text-3xl font-bold text-red-300 mb-8"> <h2 className="text-3xl font-bold text-red-300 mb-8">
Learning Paths Learning Paths
</h2> </h2>
<div className="grid md:grid-cols-2 lg:grid-cols-4 gap-6"> <div className="grid md:grid-cols-2 gap-6">
<Card className="bg-red-950/20 border-red-400/30 hover:border-red-400/60 transition-colors"> {learningPaths.map((path, idx) => (
<CardHeader> <Card
<Lightbulb className="h-8 w-8 text-red-400 mb-2" /> key={idx}
<CardTitle className="text-red-300"> className="bg-red-950/20 border-red-400/30 hover:border-red-400/60 transition-all"
Beginner Courses >
</CardTitle> <CardContent className="pt-6 space-y-4">
</CardHeader> <div>
<CardContent> <h3 className="text-lg font-bold text-red-300 mb-1">
<p className="text-sm text-red-200/70"> {path.title}
Start your development journey with foundational concepts </h3>
and best practices. <p className="text-sm text-red-200/70">
</p> {path.description}
</CardContent> </p>
</Card> </div>
<Card className="bg-red-950/20 border-red-400/30 hover:border-red-400/60 transition-colors"> <div className="flex flex-wrap gap-2">
<CardHeader> <Badge className="bg-red-500/20 text-red-300 border border-red-400/40 text-xs">
<Award className="h-8 w-8 text-red-400 mb-2" /> {path.level}
<CardTitle className="text-red-300"> </Badge>
Advanced Topics <Badge className="bg-red-500/20 text-red-300 border border-red-400/40 text-xs">
</CardTitle> {path.format}
</CardHeader> </Badge>
<CardContent> </div>
<p className="text-sm text-red-200/70">
Deep dive into advanced topics and specialized areas of
technology.
</p>
</CardContent>
</Card>
<Card className="bg-red-950/20 border-red-400/30 hover:border-red-400/60 transition-colors"> <div className="pt-4 border-t border-red-400/10 space-y-2">
<CardHeader> <div className="text-xs text-red-400 font-semibold">
<Users className="h-8 w-8 text-red-400 mb-2" /> {path.duration} {path.modules} modules
<CardTitle className="text-red-300"> </div>
Community Mentorship <Button
</CardTitle> className="w-full bg-red-400 text-black hover:bg-red-300"
</CardHeader> size="sm"
<CardContent> >
<p className="text-sm text-red-200/70"> Start Learning
Learn directly from experienced developers through our </Button>
mentorship program. </div>
</p> </CardContent>
</CardContent> </Card>
</Card> ))}
<Card className="bg-red-950/20 border-red-400/30 hover:border-red-400/60 transition-colors">
<CardHeader>
<BookOpen className="h-8 w-8 text-red-400 mb-2" />
<CardTitle className="text-red-300">
Documentation Hub
</CardTitle>
</CardHeader>
<CardContent>
<p className="text-sm text-red-200/70">
Comprehensive documentation and guides for all our
open-source projects.
</p>
</CardContent>
</Card>
</div> </div>
</div> </div>
</section> </section>
<section className="py-16 border-t border-red-400/10 bg-black/40">
<div className="container mx-auto max-w-6xl px-4">
<h2 className="text-3xl font-bold text-red-300 mb-8">
What's Included
</h2>
<div className="grid md:grid-cols-2 lg:grid-cols-4 gap-6">
{resources.map((resource, idx) => (
<Card
key={idx}
className="bg-red-950/20 border-red-400/30 text-center"
>
<CardContent className="pt-6">
<div className="text-red-400 mb-3 flex justify-center">
{resource.icon}
</div>
<p className="text-2xl font-black text-red-300 mb-1">
{resource.count}
</p>
<p className="text-xs font-semibold text-red-400 mb-1">
{resource.type}
</p>
<p className="text-xs text-red-200/70">
{resource.description}
</p>
</CardContent>
</Card>
))}
</div>
</div>
</section>
<section className="py-16 border-t border-red-400/10">
<div className="container mx-auto max-w-4xl px-4 text-center">
<h2 className="text-3xl font-bold text-red-300 mb-4">
Start Your Journey
</h2>
<p className="text-lg text-red-100/80 mb-8">
Choose a learning path and begin mastering game development.
</p>
<Button
className="bg-red-400 text-black hover:bg-red-300"
>
Browse All Courses
<ArrowRight className="ml-2 h-4 w-4" />
</Button>
</div>
</section>
</main> </main>
</div> </div>
</Layout> </Layout>