Create Foundation - Contribute sub-page
cgen-df39d1c748e646b59e7287dd93f4df9d
This commit is contained in:
parent
2e5eb487f7
commit
132d8ed867
3 changed files with 432 additions and 0 deletions
144
client/pages/foundation/FoundationContribute.tsx
Normal file
144
client/pages/foundation/FoundationContribute.tsx
Normal file
|
|
@ -0,0 +1,144 @@
|
|||
import Layout from "@/components/Layout";
|
||||
import { Button } from "@/components/ui/button";
|
||||
import { Badge } from "@/components/ui/badge";
|
||||
import { Card, CardContent, CardHeader, CardTitle } from "@/components/ui/card";
|
||||
import { Heart, Code, BookOpen, Globe } from "lucide-react";
|
||||
import { useNavigate } from "react-router-dom";
|
||||
|
||||
export default function FoundationContribute() {
|
||||
const navigate = useNavigate();
|
||||
|
||||
return (
|
||||
<Layout>
|
||||
<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 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 top-20 left-10 w-72 h-72 bg-red-500/20 rounded-full blur-3xl animate-blob" />
|
||||
<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">
|
||||
{/* Hero Section */}
|
||||
<section className="relative overflow-hidden py-20 lg:py-28">
|
||||
<div className="container mx-auto max-w-6xl px-4 text-center">
|
||||
<div className="mx-auto flex max-w-3xl flex-col items-center gap-8">
|
||||
<Button
|
||||
variant="ghost"
|
||||
className="text-red-300 hover:bg-red-500/10"
|
||||
onClick={() => navigate("/foundation")}
|
||||
>
|
||||
← Back to Foundation
|
||||
</Button>
|
||||
|
||||
<Badge
|
||||
variant="outline"
|
||||
className="border-red-400/40 bg-red-500/10 text-red-300 shadow-[0_0_20px_rgba(239,68,68,0.2)]"
|
||||
>
|
||||
<Heart className="h-5 w-5 mr-2" />
|
||||
Contribute
|
||||
</Badge>
|
||||
|
||||
<h1 className="text-4xl font-black tracking-tight text-red-300 sm:text-5xl lg:text-6xl">
|
||||
Make a Difference
|
||||
</h1>
|
||||
|
||||
<p className="text-lg text-red-100/90 sm:text-xl">
|
||||
Help us democratize technology through open source. Your
|
||||
contributions directly impact millions of developers worldwide.
|
||||
</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"
|
||||
>
|
||||
<Code className="mr-2 h-5 w-5" />
|
||||
Start Contributing
|
||||
</Button>
|
||||
<Button
|
||||
size="lg"
|
||||
variant="outline"
|
||||
className="border-red-400/60 text-red-300 hover:bg-red-500/10"
|
||||
>
|
||||
View Projects
|
||||
</Button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
{/* Ways to Contribute */}
|
||||
<section className="border-y border-red-400/10 bg-black/80 py-16">
|
||||
<div className="container mx-auto max-w-6xl px-4">
|
||||
<h2 className="text-3xl font-bold text-red-300 mb-8">
|
||||
Ways to Contribute
|
||||
</h2>
|
||||
<div className="grid md:grid-cols-2 lg:grid-cols-4 gap-6">
|
||||
<Card className="bg-red-950/20 border-red-400/30 hover:border-red-400/60 transition-colors">
|
||||
<CardHeader>
|
||||
<Code className="h-8 w-8 text-red-400 mb-2" />
|
||||
<CardTitle className="text-red-300">
|
||||
Write Code
|
||||
</CardTitle>
|
||||
</CardHeader>
|
||||
<CardContent>
|
||||
<p className="text-sm text-red-200/70">
|
||||
Contribute code improvements, fixes, and new features to
|
||||
our projects.
|
||||
</p>
|
||||
</CardContent>
|
||||
</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
|
||||
</CardTitle>
|
||||
</CardHeader>
|
||||
<CardContent>
|
||||
<p className="text-sm text-red-200/70">
|
||||
Help improve documentation to make projects more
|
||||
accessible to everyone.
|
||||
</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">
|
||||
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>
|
||||
</section>
|
||||
</main>
|
||||
</div>
|
||||
</Layout>
|
||||
);
|
||||
}
|
||||
144
client/pages/foundation/FoundationGetInvolved.tsx
Normal file
144
client/pages/foundation/FoundationGetInvolved.tsx
Normal file
|
|
@ -0,0 +1,144 @@
|
|||
import Layout from "@/components/Layout";
|
||||
import { Button } from "@/components/ui/button";
|
||||
import { Badge } from "@/components/ui/badge";
|
||||
import { Card, CardContent, CardHeader, CardTitle } from "@/components/ui/card";
|
||||
import { Heart, Users, Zap, Globe } from "lucide-react";
|
||||
import { useNavigate } from "react-router-dom";
|
||||
|
||||
export default function FoundationGetInvolved() {
|
||||
const navigate = useNavigate();
|
||||
|
||||
return (
|
||||
<Layout>
|
||||
<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 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 top-20 left-10 w-72 h-72 bg-red-500/20 rounded-full blur-3xl animate-blob" />
|
||||
<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">
|
||||
{/* Hero Section */}
|
||||
<section className="relative overflow-hidden py-20 lg:py-28">
|
||||
<div className="container mx-auto max-w-6xl px-4 text-center">
|
||||
<div className="mx-auto flex max-w-3xl flex-col items-center gap-8">
|
||||
<Button
|
||||
variant="ghost"
|
||||
className="text-red-300 hover:bg-red-500/10"
|
||||
onClick={() => navigate("/foundation")}
|
||||
>
|
||||
← Back to Foundation
|
||||
</Button>
|
||||
|
||||
<Badge
|
||||
variant="outline"
|
||||
className="border-red-400/40 bg-red-500/10 text-red-300 shadow-[0_0_20px_rgba(239,68,68,0.2)]"
|
||||
>
|
||||
<Heart className="h-5 w-5 mr-2" />
|
||||
Get Involved
|
||||
</Badge>
|
||||
|
||||
<h1 className="text-4xl font-black tracking-tight text-red-300 sm:text-5xl lg:text-6xl">
|
||||
Join Our Mission
|
||||
</h1>
|
||||
|
||||
<p className="text-lg text-red-100/90 sm:text-xl">
|
||||
Many ways to get involved with the Foundation. Find the role
|
||||
that fits you best and make an impact.
|
||||
</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"
|
||||
>
|
||||
<Heart className="mr-2 h-5 w-5" />
|
||||
Get Started
|
||||
</Button>
|
||||
<Button
|
||||
size="lg"
|
||||
variant="outline"
|
||||
className="border-red-400/60 text-red-300 hover:bg-red-500/10"
|
||||
>
|
||||
Explore Initiatives
|
||||
</Button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
{/* Involvement Opportunities */}
|
||||
<section className="border-y border-red-400/10 bg-black/80 py-16">
|
||||
<div className="container mx-auto max-w-6xl px-4">
|
||||
<h2 className="text-3xl font-bold text-red-300 mb-8">
|
||||
How You Can Help
|
||||
</h2>
|
||||
<div className="grid md:grid-cols-2 lg:grid-cols-4 gap-6">
|
||||
<Card className="bg-red-950/20 border-red-400/30 hover:border-red-400/60 transition-colors">
|
||||
<CardHeader>
|
||||
<Users className="h-8 w-8 text-red-400 mb-2" />
|
||||
<CardTitle className="text-red-300">
|
||||
Volunteer
|
||||
</CardTitle>
|
||||
</CardHeader>
|
||||
<CardContent>
|
||||
<p className="text-sm text-red-200/70">
|
||||
Dedicate your time and skills to projects that matter and
|
||||
make a real difference.
|
||||
</p>
|
||||
</CardContent>
|
||||
</Card>
|
||||
|
||||
<Card className="bg-red-950/20 border-red-400/30 hover:border-red-400/60 transition-colors">
|
||||
<CardHeader>
|
||||
<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>
|
||||
</section>
|
||||
</main>
|
||||
</div>
|
||||
</Layout>
|
||||
);
|
||||
}
|
||||
144
client/pages/foundation/FoundationLearnMore.tsx
Normal file
144
client/pages/foundation/FoundationLearnMore.tsx
Normal file
|
|
@ -0,0 +1,144 @@
|
|||
import Layout from "@/components/Layout";
|
||||
import { Button } from "@/components/ui/button";
|
||||
import { Badge } from "@/components/ui/badge";
|
||||
import { Card, CardContent, CardHeader, CardTitle } from "@/components/ui/card";
|
||||
import { BookOpen, Lightbulb, Users, Award } from "lucide-react";
|
||||
import { useNavigate } from "react-router-dom";
|
||||
|
||||
export default function FoundationLearnMore() {
|
||||
const navigate = useNavigate();
|
||||
|
||||
return (
|
||||
<Layout>
|
||||
<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 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 top-20 left-10 w-72 h-72 bg-red-500/20 rounded-full blur-3xl animate-blob" />
|
||||
<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">
|
||||
{/* Hero Section */}
|
||||
<section className="relative overflow-hidden py-20 lg:py-28">
|
||||
<div className="container mx-auto max-w-6xl px-4 text-center">
|
||||
<div className="mx-auto flex max-w-3xl flex-col items-center gap-8">
|
||||
<Button
|
||||
variant="ghost"
|
||||
className="text-red-300 hover:bg-red-500/10"
|
||||
onClick={() => navigate("/foundation")}
|
||||
>
|
||||
← Back to Foundation
|
||||
</Button>
|
||||
|
||||
<Badge
|
||||
variant="outline"
|
||||
className="border-red-400/40 bg-red-500/10 text-red-300 shadow-[0_0_20px_rgba(239,68,68,0.2)]"
|
||||
>
|
||||
<BookOpen className="h-5 w-5 mr-2" />
|
||||
Learn More
|
||||
</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>
|
||||
</section>
|
||||
|
||||
{/* Learning Resources */}
|
||||
<section className="border-y border-red-400/10 bg-black/80 py-16">
|
||||
<div className="container mx-auto max-w-6xl px-4">
|
||||
<h2 className="text-3xl font-bold text-red-300 mb-8">
|
||||
Learning Paths
|
||||
</h2>
|
||||
<div className="grid md:grid-cols-2 lg:grid-cols-4 gap-6">
|
||||
<Card className="bg-red-950/20 border-red-400/30 hover:border-red-400/60 transition-colors">
|
||||
<CardHeader>
|
||||
<Lightbulb className="h-8 w-8 text-red-400 mb-2" />
|
||||
<CardTitle className="text-red-300">
|
||||
Beginner Courses
|
||||
</CardTitle>
|
||||
</CardHeader>
|
||||
<CardContent>
|
||||
<p className="text-sm text-red-200/70">
|
||||
Start your development journey with foundational concepts
|
||||
and best practices.
|
||||
</p>
|
||||
</CardContent>
|
||||
</Card>
|
||||
|
||||
<Card className="bg-red-950/20 border-red-400/30 hover:border-red-400/60 transition-colors">
|
||||
<CardHeader>
|
||||
<Award className="h-8 w-8 text-red-400 mb-2" />
|
||||
<CardTitle className="text-red-300">
|
||||
Advanced Topics
|
||||
</CardTitle>
|
||||
</CardHeader>
|
||||
<CardContent>
|
||||
<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">
|
||||
<CardHeader>
|
||||
<Users className="h-8 w-8 text-red-400 mb-2" />
|
||||
<CardTitle className="text-red-300">
|
||||
Community Mentorship
|
||||
</CardTitle>
|
||||
</CardHeader>
|
||||
<CardContent>
|
||||
<p className="text-sm text-red-200/70">
|
||||
Learn directly from experienced developers through our
|
||||
mentorship program.
|
||||
</p>
|
||||
</CardContent>
|
||||
</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>
|
||||
</section>
|
||||
</main>
|
||||
</div>
|
||||
</Layout>
|
||||
);
|
||||
}
|
||||
Loading…
Reference in a new issue