1+ "use client" ;
2+ import React from 'react' ;
3+ import { Navbar } from '@/components/layout/Navbar' ;
4+ import { Footer } from '@/components/layout/Footer' ;
5+ import { Button } from '@/components/ui/Button' ;
6+ import { ExternalLink , Star , Box , Cpu , Globe } from 'lucide-react' ;
7+ import Link from 'next/link' ;
8+
9+ const examples = [
10+ {
11+ title : "Modern Web App" ,
12+ repo : "nextjs-saas-template" ,
13+ icon : < Globe className = "text-blue-400" /> ,
14+ tags : [ "Next.js 16" , "Tailwind" , "Prisma" ] ,
15+ stars : "1.2k" ,
16+ description : "A comprehensive README featuring deployment guides, environment variable tables, and architecture diagrams."
17+ } ,
18+ {
19+ title : "Utility Library" ,
20+ repo : "ts-utils-core" ,
21+ icon : < Box className = "text-emerald-400" /> ,
22+ tags : [ "TypeScript" , "Rollup" , "Vitest" ] ,
23+ stars : "850" ,
24+ description : "Technical-heavy documentation with API references, installation via multiple package managers, and usage snippets."
25+ } ,
26+ {
27+ title : "Backend Engine" ,
28+ repo : "go-stream-processor" ,
29+ icon : < Cpu className = "text-purple-400" /> ,
30+ tags : [ "Go" , "Docker" , "Redis" ] ,
31+ stars : "2.4k" ,
32+ description : "High-performance oriented README focusing on benchmark results, configuration flags, and horizontal scaling."
33+ }
34+ ] ;
35+
36+ export default function ExamplesPage ( ) {
37+ const navLinks = [
38+ { name : 'Home' , href : '/' } ,
39+ { name : 'Features' , href : '/#features' } ,
40+ { name : 'Examples' , href : '/examples' } ,
41+ { name : 'Docs' , href : '#docs' } ,
42+ ] ;
43+
44+ return (
45+ < div className = "min-h-screen bg-black text-white selection:bg-white/30" >
46+ < Navbar links = { navLinks } />
47+
48+ < main className = "pt-32 pb-20 px-4" >
49+ { /* Header Section */ }
50+ < div className = "max-w-5xl mx-auto text-center mb-20" >
51+ < h1 className = "text-4xl md:text-6xl font-extrabold tracking-tighter mb-6" >
52+ Trusted by developers < br />
53+ < span className = "bg-clip-text text-transparent bg-linear-to-b from-white to-white/40" >
54+ to tell their story.
55+ </ span >
56+ </ h1 >
57+ < p className = "text-gray-400 text-lg max-w-2xl mx-auto" >
58+ Explore how ReadmeGenAI adapts to different tech stacks and project scales to create documentation that converts visitors into users.
59+ </ p >
60+ </ div >
61+
62+ { /* Examples Grid */ }
63+ < div className = "max-w-7xl mx-auto grid grid-cols-1 md:grid-cols-3 gap-8" >
64+ { examples . map ( ( example , idx ) => (
65+ < div
66+ key = { idx }
67+ className = "group relative p-8 rounded-3xl bg-zinc-950 border border-white/5 hover:border-white/20 transition-all duration-300"
68+ >
69+ < div className = "flex justify-between items-start mb-6" >
70+ < div className = "p-3 rounded-2xl bg-white/5 group-hover:bg-white/10 transition-colors" >
71+ { example . icon }
72+ </ div >
73+ < div className = "flex items-center gap-1 text-xs font-medium text-gray-500" >
74+ < Star size = { 12 } className = "fill-current text-amber-500/50" />
75+ { example . stars }
76+ </ div >
77+ </ div >
78+
79+ < h3 className = "text-xl font-bold mb-2 group-hover:text-blue-400 transition-colors" >
80+ { example . title }
81+ </ h3 >
82+ < p className = "text-sm text-gray-500 font-mono mb-4" >
83+ { example . repo }
84+ </ p >
85+ < p className = "text-gray-400 text-sm leading-relaxed mb-6" >
86+ { example . description }
87+ </ p >
88+
89+ < div className = "flex flex-wrap gap-2 mb-8" >
90+ { example . tags . map ( tag => (
91+ < span key = { tag } className = "px-2 py-1 rounded-md bg-white/5 text-[10px] font-semibold tracking-wider uppercase text-gray-400" >
92+ { tag }
93+ </ span >
94+ ) ) }
95+ </ div >
96+
97+ < Link href = "/#search-input" >
98+ < Button variant = "outline" className = "w-full text-sm py-2" >
99+ Try this style
100+ < ExternalLink size = { 14 } />
101+ </ Button >
102+ </ Link >
103+ </ div >
104+ ) ) }
105+ </ div >
106+
107+ { /* Bottom CTA */ }
108+ < div className = "mt-32 max-w-4xl mx-auto p-12 rounded-[3rem] bg-linear-to-b from-zinc-900 to-black border border-white/5 text-center" >
109+ < h2 className = "text-3xl font-bold mb-6" > Ready to document your project?</ h2 >
110+ < Link href = "/generate" >
111+ < Button className = "px-12 py-6 text-lg" >
112+ Start Generating for Free
113+ </ Button >
114+ </ Link >
115+ </ div >
116+ </ main >
117+
118+ < Footer />
119+ </ div >
120+ ) ;
121+ }
0 commit comments