diff --git a/apps/web/src/app/globals.css b/apps/web/src/app/globals.css index 25bb7cd..295bcee 100644 --- a/apps/web/src/app/globals.css +++ b/apps/web/src/app/globals.css @@ -207,6 +207,29 @@ body { .stagger-4 { animation-delay: 0.4s; } .stagger-5 { animation-delay: 0.5s; } +.line-clamp-2 { + display: -webkit-box; + -webkit-line-clamp: 2; + -webkit-box-orient: vertical; + overflow: hidden; +} + +.bg-blue-500\/60 { + background-color: rgba(59, 130, 246, 0.6); +} + +.bg-purple-500\/60 { + background-color: rgba(168, 85, 247, 0.6); +} + +.bg-green-500\/60 { + background-color: rgba(34, 197, 94, 0.6); +} + +.bg-orange-500\/60 { + background-color: rgba(249, 115, 22, 0.6); +} + .scrollbar-thin { scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, 0.2) transparent; diff --git a/apps/web/src/app/page.tsx b/apps/web/src/app/page.tsx index edb8da6..35968f3 100644 --- a/apps/web/src/app/page.tsx +++ b/apps/web/src/app/page.tsx @@ -1,15 +1,21 @@ import { RepoInput } from "@/components/repo-input"; -import { - Link2, - Code2, - Sparkles, - FileText, - GitBranch, - Boxes, - Search, +import { ExampleRepoCard } from "@/components/example-repo-card"; +import { + Link2, + Code2, + Sparkles, + FileText, + GitBranch, + Boxes, + Search, BookOpen, ArrowRight, - Github + Github, + Layers, + Workflow, + Terminal, + FileCode, + CheckCircle2, } from "lucide-react"; export default function HomePage() { @@ -67,40 +73,193 @@ export default function HomePage() { }, ]; + const exampleRepos = [ + { + name: "sindresorhus/p-limit", + description: "Elegant promise concurrency limiter with a simple API and robust error handling.", + language: "TypeScript", + languageColor: "#3178c6", + }, + { + name: "expressjs/express", + description: "Fast, unopinionated web framework for Node.js with minimalistic design.", + language: "JavaScript", + languageColor: "#f1e05a", + }, + { + name: "pallets/flask", + description: "Lightweight Python web framework with simplicity and flexibility at its core.", + language: "Python", + languageColor: "#3572A5", + }, + { + name: "colinhacks/zod", + description: "TypeScript-first schema validation with static type inference.", + language: "TypeScript", + languageColor: "#3178c6", + }, + { + name: "tiangolo/fastapi", + description: "Modern, high-performance Python API framework with automatic OpenAPI docs.", + language: "Python", + languageColor: "#3572A5", + }, + { + name: "redis/node-redis", + description: "High-performance Redis client for Node.js with comprehensive feature support.", + language: "TypeScript", + languageColor: "#3178c6", + }, + ]; + return (
Paste a GitHub URL. Get interactive onboarding documentation with architecture diagrams, module breakdowns, and getting started guides.
- {/* Repo Input */}High-level system design
+{step.description}
@@ -174,7 +322,29 @@ export default function HomePage() {+ Click any repository to instantly generate documentation +
++ {repo.description} +
+ + +