diff --git a/app/docs/getting-started/page.tsx b/app/docs/getting-started/page.tsx new file mode 100644 index 00000000..97408b5f --- /dev/null +++ b/app/docs/getting-started/page.tsx @@ -0,0 +1,105 @@ +import { Metadata } from "next"; +import Link from "next/link"; + +import { Download } from "lucide-react"; + +import { Button } from "@/components/ui/button"; +import { + Card, + CardContent, + CardDescription, + CardHeader, + CardTitle, +} from "@/components/ui/card"; + +import CopyCommandButton from "../../docs/components/copy-command-button"; + +export const metadata: Metadata = { + title: "Getting Started", + description: + "Welcome to 8bitcn/ui! This guide will help you set up and start using our retro-styled components in your project.", +}; + +export default function GettingStartedPage() { + return ( +
+
+ {/* Header */} +
+

Getting Started

+

+ Welcome to 8bitcn/ui! This guide will help you set up and start + using our retro-styled components in your project. +

+
+ + {/* Quick Start */} + + + + + Quick Start + + + Get up and running with 8bitcn/ui in just a few steps + + + +
+

+ 1. Add the 8bitcn registry to your components.json +

+
+
+                  {`{
+  "registries": {
+    "@8bitcn": "https://8bitcn.com/r/{name}.json"
+  }
+}`}
+                
+
+
+ +
+

2. Start adding components!

+
+ +
+
+
+
+ + {/* Support */} + + + Need Help? + + We're here to help you get started with 8bitcn/ui + + + +
+ + + +
+
+
+
+
+ ); +} diff --git a/app/page.tsx b/app/page.tsx index 361fe314..56a385bd 100644 --- a/app/page.tsx +++ b/app/page.tsx @@ -14,7 +14,7 @@ export default function Home() { A set of 8-bit styled components and a code distribution platform. Works with your favorite frameworks. Open Source. Open Code.

- + diff --git a/config/nav-items.ts b/config/nav-items.ts index 53b0c7ed..7de6e5c0 100644 --- a/config/nav-items.ts +++ b/config/nav-items.ts @@ -197,6 +197,10 @@ const components = [ export const navItems = { header: [ + { + label: "Getting Started", + href: "/docs/getting-started", + }, { label: "Docs", href: "/docs",