import Layout from "@/components/Layout"; import { Button } from "@/components/ui/button"; import { Badge } from "@/components/ui/badge"; import { Card, CardContent } from "@/components/ui/card"; import { Code, GitBranch, Users, Star, ArrowRight, CheckCircle, Sparkles, } from "lucide-react"; import { useNavigate } from "react-router-dom"; export default function FoundationContribute() { const navigate = useNavigate(); const contributionWays = [ { icon: Code, title: "Code Contributions", description: "Help develop and improve our open-source projects", ways: [ "Submit pull requests", "Fix bugs and issues", "Add new features", "Improve documentation", ], }, { icon: Sparkles, title: "Ideas & Feedback", description: "Share your ideas for new features and improvements", ways: [ "Report issues", "Suggest features", "Provide user feedback", "Review pull requests", ], }, { icon: Users, title: "Community Support", description: "Help other developers in our community", ways: [ "Answer questions", "Help on Discord", "Mentor newcomers", "Share knowledge", ], }, { icon: Star, title: "Sponsorship", description: "Support our mission financially", ways: [ "GitHub sponsorship", "Monthly donations", "Corporate support", "In-kind support", ], }, ]; const projects = [ { name: "AeThex Game Engine", description: "Lightweight, performant game engine optimized for web and native platforms", stars: "2.5K", language: "Rust", issues: "12 open", difficulty: "Intermediate", }, { name: "Roblox Toolkit", description: "Comprehensive library for building professional Roblox experiences", stars: "1.8K", language: "Lua", issues: "8 open", difficulty: "Beginner", }, { name: "Developer CLI", description: "Command-line tools for streamlined game development workflow", stars: "1.2K", language: "Go", issues: "15 open", difficulty: "Intermediate", }, { name: "Multiplayer Framework", description: "Drop-in networking layer for real-time multiplayer games", stars: "980", language: "TypeScript", issues: "10 open", difficulty: "Advanced", }, ]; const steps = [ { step: "1", title: "Fork the Repository", description: "Start by forking the project on GitHub", }, { step: "2", title: "Create a Branch", description: "Create a feature branch for your changes", }, { step: "3", title: "Make Changes", description: "Implement your improvements or fixes", }, { step: "4", title: "Submit Pull Request", description: "Submit your PR with a clear description", }, { step: "5", title: "Review & Merge", description: "Community reviews and merges your contribution", }, ]; return (
{/* Background */}
{/* Header */}

Ways to Contribute

Join our community and help us build amazing open-source projects. There are many ways to contribute, regardless of your skill level.

{/* Contribution Ways */}

Get Involved

{contributionWays.map((way, idx) => { const Icon = way.icon; return (

{way.title}

{way.description}

    {way.ways.map((w, i) => (
  • {w}
  • ))}
); })}
{/* How to Contribute */}

Contribution Process

{steps.map((item, idx) => (
{item.step}

{item.title}

{item.description}

{idx < steps.length - 1 && (
)}
))}
{/* Featured Projects */}

Open Projects

{projects.map((project, idx) => (

{project.name}

{project.description}

{project.stars} {project.language} {project.issues}

DIFFICULTY

{project.difficulty}
))}
{/* CTA */}

Ready to Contribute?

Check out our GitHub repositories and start contributing today. Even small contributions make a big difference!

); }