Initial commit: Full project structure
- Backend: NestJS with Docker - Frontend: Next.js with Docker - Nginx configuration for reverse proxy - PostgreSQL setup - Docker compose for orchestration - Development environment configuration
This commit is contained in:
36
frontend/src/app/(dashboard)/today/page.tsx
Normal file
36
frontend/src/app/(dashboard)/today/page.tsx
Normal file
@@ -0,0 +1,36 @@
|
||||
export default function TodayPage() {
|
||||
return (
|
||||
<div>
|
||||
<h1 className="text-2xl font-bold mb-6">
|
||||
Welcome back Babak !!
|
||||
</h1>
|
||||
|
||||
<div className="grid grid-cols-4 gap-4">
|
||||
|
||||
<Card title="Today's Appointments" value="12" sub="Monday 2/5/2026" />
|
||||
<Card title="Active Patients" value="675" />
|
||||
<Card title="New Lab Case" value="5" sub="35 ↑" />
|
||||
<Card title="Today invoices" value="1200$" sub="21,300 $" />
|
||||
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
function Card({
|
||||
title,
|
||||
value,
|
||||
sub,
|
||||
}: {
|
||||
title: string;
|
||||
value: string;
|
||||
sub?: string;
|
||||
}) {
|
||||
return (
|
||||
<div className="bg-white/5 border border-white/10 p-4 rounded-xl">
|
||||
<p className="text-sm text-gray-300">{title}</p>
|
||||
<p className="text-2xl font-bold mt-2">{value}</p>
|
||||
{sub && <p className="text-xs text-gray-400 mt-1">{sub}</p>}
|
||||
</div>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user