|
| 1 | +import Link from 'next/link'; |
| 2 | + |
| 3 | +export default function HomePage() { |
| 4 | + return ( |
| 5 | + <div className="min-h-screen bg-gradient-to-b from-gray-50 to-white"> |
| 6 | + {/* Hero Section */} |
| 7 | + <section className="py-20 px-4 sm:px-6 lg:px-8"> |
| 8 | + <div className="max-w-7xl mx-auto text-center"> |
| 9 | + <h1 className="text-4xl sm:text-5xl md:text-6xl font-bold text-gray-900 mb-6"> |
| 10 | + Project Docs Kit |
| 11 | + </h1> |
| 12 | + <p className="text-xl text-gray-600 mb-8 max-w-3xl mx-auto"> |
| 13 | + A collection of best-practice documentation templates for software projects. Ready to use with NestJS, NodeJS, Java, and more. |
| 14 | + </p> |
| 15 | + <div className="flex justify-center gap-4"> |
| 16 | + <Link |
| 17 | + href="/docs/getting-started" |
| 18 | + className="bg-blue-600 text-white px-6 py-3 rounded-lg font-medium hover:bg-blue-700 transition-colors" |
| 19 | + > |
| 20 | + Get Started |
| 21 | + </Link> |
| 22 | + <Link |
| 23 | + href="/docs/architecture" |
| 24 | + className="bg-gray-200 text-gray-800 px-6 py-3 rounded-lg font-medium hover:bg-gray-300 transition-colors" |
| 25 | + > |
| 26 | + View Architecture |
| 27 | + </Link> |
| 28 | + </div> |
| 29 | + </div> |
| 30 | + </section> |
| 31 | + |
| 32 | + {/* Features Section */} |
| 33 | + <section className="py-16 bg-white"> |
| 34 | + <div className="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8"> |
| 35 | + <h2 className="text-3xl font-bold text-center text-gray-900 mb-12"> |
| 36 | + Key Features |
| 37 | + </h2> |
| 38 | + <div className="grid grid-cols-1 md:grid-cols-3 gap-8"> |
| 39 | + <div className="p-6 bg-gray-50 rounded-xl"> |
| 40 | + <h3 className="text-xl font-semibold mb-3">Ready to use</h3> |
| 41 | + <p className="text-gray-600"> |
| 42 | + Built with Next.js, Tailwind CSS, and TypeScript, ready to use with NestJS, NodeJS, Java, and more. |
| 43 | + </p> |
| 44 | + </div> |
| 45 | + <div className="p-6 bg-gray-50 rounded-xl"> |
| 46 | + <h3 className="text-xl font-semibold mb-3">Open Source</h3> |
| 47 | + <p className="text-gray-600"> |
| 48 | + All templates are open source and free to use. |
| 49 | + </p> |
| 50 | + </div> |
| 51 | + <div className="p-6 bg-gray-50 rounded-xl"> |
| 52 | + <h3 className="text-xl font-semibold mb-3">Customizable</h3> |
| 53 | + <p className="text-gray-600"> |
| 54 | + All templates are customizable to fit your project needs. |
| 55 | + </p> |
| 56 | + </div> |
| 57 | + </div> |
| 58 | + </div> |
| 59 | + </section> |
| 60 | + |
| 61 | + {/* Quick Start Section */} |
| 62 | + <section className="py-16 bg-gray-50"> |
| 63 | + <div className="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8"> |
| 64 | + <h2 className="text-3xl font-bold text-center text-gray-900 mb-12"> |
| 65 | + Quick Start |
| 66 | + </h2> |
| 67 | + <div className="bg-gray-800 rounded-lg p-6 text-white font-mono"> |
| 68 | + <pre className="overflow-x-auto"> |
| 69 | + <code> |
| 70 | + {`# Clone the repository |
| 71 | +git clone https://github.com/lamngockhuong/project-docs-kit.git |
| 72 | +
|
| 73 | +# Install dependencies |
| 74 | +cd project-docs-kit |
| 75 | +pnpm install |
| 76 | +
|
| 77 | +# Start development |
| 78 | +pnpm dev`} |
| 79 | + </code> |
| 80 | + </pre> |
| 81 | + </div> |
| 82 | + </div> |
| 83 | + </section> |
| 84 | + </div> |
| 85 | + ); |
| 86 | +} |
| 87 | + |
0 commit comments