feat: add recent plans history to homepage

This commit is contained in:
2026-01-13 09:48:54 +01:00
parent de7bc516ff
commit 7267515a87
6 changed files with 128 additions and 2 deletions

View File

@@ -8,6 +8,7 @@ import { Button } from "@/components/ui/button"
import { PlanLoginForm } from "@/components/plan-login-form"
import { PlanDashboard } from "./_components/plan-dashboard"
import { getDictionary } from "@/get-dictionary"
import { PlanTracker } from "@/components/plan-tracker"
export default async function DashboardPage({
params
@@ -39,6 +40,7 @@ export default async function DashboardPage({
return (
<main className="flex min-h-screen flex-col items-center p-4">
<PlanTracker planId={plan.id} title={plan.title} />
<div className="w-full max-w-4xl space-y-6">
<div className="flex flex-col gap-4">
<Button variant="ghost" size="sm" asChild className="w-fit -ml-2 text-muted-foreground">