mirror of
https://github.com/soconnor0919/hristudio.git
synced 2025-12-11 22:54:45 -05:00
68 lines
2.5 KiB
TypeScript
68 lines
2.5 KiB
TypeScript
import { Beaker, Plus, Users } from "lucide-react"
|
|
import Link from "next/link"
|
|
import { Button } from "~/components/ui/button"
|
|
import { Card, CardContent, CardHeader, CardTitle } from "~/components/ui/card"
|
|
import { PageContent } from "~/components/layout/page-content"
|
|
import { PageHeader } from "~/components/layout/page-header"
|
|
|
|
export default function DashboardPage() {
|
|
return (
|
|
<>
|
|
<PageHeader
|
|
title="Dashboard"
|
|
description="Welcome to your research platform."
|
|
/>
|
|
<PageContent>
|
|
<div className="grid gap-4 md:grid-cols-3">
|
|
<Card>
|
|
<CardHeader className="flex flex-row items-center justify-between space-y-0 pb-2">
|
|
<CardTitle className="text-sm font-medium">Total Studies</CardTitle>
|
|
<Beaker className="h-4 w-4 text-muted-foreground" />
|
|
</CardHeader>
|
|
<CardContent>
|
|
<div className="text-2xl font-bold">0</div>
|
|
<p className="text-xs text-muted-foreground">
|
|
Active research studies
|
|
</p>
|
|
</CardContent>
|
|
</Card>
|
|
<Card>
|
|
<CardHeader className="flex flex-row items-center justify-between space-y-0 pb-2">
|
|
<CardTitle className="text-sm font-medium">Total Participants</CardTitle>
|
|
<Users className="h-4 w-4 text-muted-foreground" />
|
|
</CardHeader>
|
|
<CardContent>
|
|
<div className="text-2xl font-bold">0</div>
|
|
<p className="text-xs text-muted-foreground">
|
|
Across all studies
|
|
</p>
|
|
</CardContent>
|
|
</Card>
|
|
<Card>
|
|
<CardHeader className="flex flex-row items-center justify-between space-y-0 pb-2">
|
|
<CardTitle className="text-sm font-medium">Quick Actions</CardTitle>
|
|
</CardHeader>
|
|
<CardContent>
|
|
<Button asChild variant="outline" className="w-full">
|
|
<Link href="/dashboard/studies/new">
|
|
<Plus className="mr-2 h-4 w-4" />
|
|
Create New Study
|
|
</Link>
|
|
</Button>
|
|
</CardContent>
|
|
</Card>
|
|
</div>
|
|
<Card>
|
|
<CardHeader>
|
|
<CardTitle>Recent Activity</CardTitle>
|
|
</CardHeader>
|
|
<CardContent>
|
|
<p className="text-sm text-muted-foreground">
|
|
No recent activity to show.
|
|
</p>
|
|
</CardContent>
|
|
</Card>
|
|
</PageContent>
|
|
</>
|
|
)
|
|
}
|