File tree Expand file tree Collapse file tree 1 file changed +26
-1
lines changed
Expand file tree Collapse file tree 1 file changed +26
-1
lines changed Original file line number Diff line number Diff line change 1+ import {
2+ Card ,
3+ CardDescription ,
4+ CardHeader ,
5+ CardTitle ,
6+ } from "@/components/ui/card" ;
7+ import { Link } from "react-router" ;
8+
19const docs = [
210 {
311 title : "Auto Splitters" ,
@@ -28,5 +36,22 @@ const docs = [
2836] ;
2937
3038export function Docs ( ) {
31- return < p > Placeholder</ p > ;
39+ return (
40+ < div className = "mx-auto max-w-5xl px-6 py-12" >
41+ < h1 className = "mb-8 text-3xl font-bold" > Documentation</ h1 >
42+
43+ < div className = "grid gap-6 sm:grid-cols-2 lg:grid-cols-3" >
44+ { docs . map ( ( doc ) => (
45+ < Link key = { doc . to } to = { doc . to } >
46+ < Card className = "h-full transition hover:border-primary hover:shadow-lg" >
47+ < CardHeader >
48+ < CardTitle > { doc . title } </ CardTitle >
49+ < CardDescription > { doc . description } </ CardDescription >
50+ </ CardHeader >
51+ </ Card >
52+ </ Link >
53+ ) ) }
54+ </ div >
55+ </ div >
56+ ) ;
3257}
You can’t perform that action at this time.
0 commit comments