File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -5,11 +5,11 @@ import { MetricsDashboard } from "@/components/MetricsDashboard";
55import { CodePlayground } from "@/components/CodePlayground" ;
66import { UseCases } from "@/components/UseCases" ;
77import { ApiExplorer } from "@/components/ApiExplorer" ;
8- import { CaseStudiesCarousel } from "@/components/CaseStudiesCarousel" ;
9- import { GitHubStats } from "@/components/GitHubStats" ;
10- import { Testimonials } from "@/components/Testimonials" ;
8+ // import { CaseStudiesCarousel } from "@/components/CaseStudiesCarousel";
9+ // import { GitHubStats } from "@/components/GitHubStats";
10+ // import { Testimonials } from "@/components/Testimonials";
1111import { Newsletter } from "@/components/Newsletter" ;
12- import { CTA } from "@/components/CTA" ;
12+ // import { CTA } from "@/components/CTA";
1313import { ParticlesBackground } from "@/components/ParticlesBackground" ;
1414
1515/**
@@ -21,7 +21,7 @@ export default function HomePage() {
2121 < main className = "min-h-screen relative" >
2222 < ParticlesBackground />
2323 < Hero />
24- < GitHubStats noTopBorder />
24+ { /* <GitHubStats noTopBorder /> */ }
2525 < Features />
2626 < BentoShowcase />
2727 < MetricsDashboard />
Original file line number Diff line number Diff line change 1+ 'use client'
2+
13import { Button } from "@/components/ui/button" ;
2- import { ArrowRight } from "lucide-react" ;
4+ import { ArrowRight , CopyIcon } from "lucide-react" ;
35import { LineShadowText } from "./ui/line-shadow-text" ;
6+ import Link from "next/link" ;
47
58export const Hero = ( ) => {
69 return (
@@ -23,19 +26,33 @@ export const Hero = () => {
2326 </ p >
2427
2528 < div className = "flex flex-col sm:flex-row gap-4 mb-12" >
26- < Button size = "lg" >
27- Get Started
28- < ArrowRight className = "ml-2 w-4 h-4" />
29- </ Button >
30- < Button size = "lg" variant = "outline" >
31- View Documentation
32- </ Button >
29+ < Link href = "/docs/forge/quick-start" className = "block cursor-pointer" >
30+ < Button size = "lg" >
31+ Get Started
32+ < ArrowRight className = "ml-2 w-4 h-4" />
33+ </ Button >
34+ </ Link >
35+ < Link href = "/docs/forge" className = "block cursor-pointer" >
36+ < Button size = "lg" variant = "outline" >
37+ View Documentation
38+ </ Button >
39+ </ Link >
3340 </ div >
3441
3542 < div className = "inline-flex items-center gap-2 text-sm text-muted-foreground" >
36- < code className = "px-3 py-2 bg-white/50 rounded-lg font-mono border border-border" >
37- go get github.com/xraph/forge
38- </ code >
43+ < div className = "flex items-center gap-2" >
44+ < code className = "px-3 py-2 bg-white/50 rounded-lg font-mono border border-border" >
45+ go get github.com/xraph/forge
46+ </ code >
47+ < Button
48+ size = "sm"
49+ variant = "ghost"
50+ className = "p-2"
51+ onClick = { ( ) => navigator . clipboard . writeText ( "go get github.com/xraph/forge" ) }
52+ >
53+ < CopyIcon />
54+ </ Button >
55+ </ div >
3956 </ div >
4057 </ div >
4158 </ div >
Original file line number Diff line number Diff line change 11export const metrics = [
2+ // {
3+ // value: 50000,
4+ // suffix: "+",
5+ // label: "GitHub Stars",
6+ // description: "Trusted by developers worldwide"
7+ // },
28 {
3- value : 50000 ,
9+ value : 20 ,
410 suffix : "+" ,
5- label : "GitHub Stars " ,
6- description : "Trusted by developers worldwide "
11+ label : "Extensions " ,
12+ description : "Community extensions available "
713 } ,
814 {
915 value : 100 ,
@@ -18,7 +24,7 @@ export const metrics = [
1824 description : "Production reliability"
1925 } ,
2026 {
21- value : 500 ,
27+ value : 1 ,
2228 suffix : "+" ,
2329 label : "Contributors" ,
2430 description : "Active open source community"
You can’t perform that action at this time.
0 commit comments