Initial commit: Digital Home dashboard
This commit is contained in:
34
src/app/(dashboard)/page.tsx
Normal file
34
src/app/(dashboard)/page.tsx
Normal file
@@ -0,0 +1,34 @@
|
||||
export const dynamic = "force-dynamic";
|
||||
import { WeatherWidget } from "@/components/widgets/WeatherWidget";
|
||||
import { TasksWidget } from "@/components/widgets/TasksWidget";
|
||||
import { CalendarWidget } from "@/components/widgets/CalendarWidget";
|
||||
import { ClaudeUsageWidget } from "@/components/widgets/ClaudeUsageWidget";
|
||||
import { ClaudeApiWidget } from "@/components/widgets/ClaudeApiWidget";
|
||||
import { ServicesGrid } from "@/components/widgets/ServicesGrid";
|
||||
|
||||
export default function DashboardPage() {
|
||||
return (
|
||||
<div className="space-y-6">
|
||||
<div>
|
||||
<h1 className="text-2xl font-bold text-white">Dashboard</h1>
|
||||
<p className="text-slate-400 text-sm">Добро пожаловать домой</p>
|
||||
</div>
|
||||
|
||||
{/* Top row: weather, calendar, tasks */}
|
||||
<div className="grid grid-cols-3 gap-4">
|
||||
<WeatherWidget />
|
||||
<CalendarWidget />
|
||||
<TasksWidget />
|
||||
</div>
|
||||
|
||||
{/* Claude row */}
|
||||
<div className="grid grid-cols-2 gap-4">
|
||||
<ClaudeUsageWidget />
|
||||
<ClaudeApiWidget />
|
||||
</div>
|
||||
|
||||
{/* Services */}
|
||||
<ServicesGrid />
|
||||
</div>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user