mirror of
https://github.com/RayLabsHQ/gitea-mirror.git
synced 2025-12-06 03:26:44 +03:00
69 lines
3.2 KiB
TypeScript
69 lines
3.2 KiB
TypeScript
import React from 'react';
|
|
import { Button } from './ui/button';
|
|
import { ArrowRight, Star, GitFork, Users } from 'lucide-react';
|
|
|
|
export function CTA() {
|
|
return (
|
|
<section className="py-16 sm:py-24 px-4 sm:px-6 lg:px-8">
|
|
<div className="max-w-4xl mx-auto">
|
|
<div className="relative overflow-hidden rounded-2xl sm:rounded-3xl bg-gradient-to-r from-blue-600 to-purple-600 p-6 sm:p-8 md:p-12 text-center">
|
|
{/* Background pattern */}
|
|
<div className="absolute inset-0 bg-grid-white/10 [mask-image:linear-gradient(0deg,transparent,rgba(255,255,255,0.5))]" />
|
|
|
|
<div className="relative">
|
|
<h2 className="text-2xl sm:text-3xl md:text-4xl font-bold text-white mb-4">
|
|
Start Protecting Your Code Today
|
|
</h2>
|
|
<p className="text-base sm:text-lg text-white/90 mb-6 sm:mb-8 max-w-2xl mx-auto px-4">
|
|
Join developers who trust Gitea Mirror to keep their repositories safe and accessible.
|
|
Free, open source, and ready to deploy.
|
|
</p>
|
|
|
|
{/* Stats */}
|
|
<div className="flex flex-wrap items-center justify-center gap-4 sm:gap-6 md:gap-8 mb-6 sm:mb-8 text-white/80 text-sm sm:text-base">
|
|
<div className="flex items-center gap-2">
|
|
<Star className="w-4 h-4 sm:w-5 sm:h-5" />
|
|
<span className="font-semibold">500+ Stars</span>
|
|
</div>
|
|
<div className="flex items-center gap-2">
|
|
<GitFork className="w-4 h-4 sm:w-5 sm:h-5" />
|
|
<span className="font-semibold">50+ Forks</span>
|
|
</div>
|
|
<div className="flex items-center gap-2">
|
|
<Users className="w-4 h-4 sm:w-5 sm:h-5" />
|
|
<span className="font-semibold">Active Community</span>
|
|
</div>
|
|
</div>
|
|
|
|
<div className="flex flex-col sm:flex-row items-center justify-center gap-3 sm:gap-4">
|
|
<Button size="lg" variant="secondary" className="group w-full sm:w-auto min-h-[48px]" asChild>
|
|
<a href="https://github.com/RayLabsHQ/gitea-mirror" target="_blank" rel="noopener noreferrer">
|
|
Get Started Now
|
|
<ArrowRight className="ml-2 h-4 w-4 transition-transform group-hover:translate-x-1" />
|
|
</a>
|
|
</Button>
|
|
<Button size="lg" variant="ghost" className="text-white hover:bg-white/20 w-full sm:w-auto min-h-[48px]" asChild>
|
|
<a href="https://github.com/RayLabsHQ/gitea-mirror/discussions" target="_blank" rel="noopener noreferrer">
|
|
Join Community
|
|
</a>
|
|
</Button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
{/* Open source note */}
|
|
<div className="mt-8 sm:mt-12 text-center">
|
|
<p className="text-xs sm:text-sm text-muted-foreground">
|
|
Gitea Mirror is licensed under GPL-3.0.
|
|
<a href="https://github.com/RayLabsHQ/gitea-mirror/blob/main/LICENSE"
|
|
className="ml-1 underline hover:text-foreground transition-colors"
|
|
target="_blank"
|
|
rel="noopener noreferrer">
|
|
View License
|
|
</a>
|
|
</p>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
);
|
|
} |