feat: add recent plans history to homepage
This commit is contained in:
@@ -2,6 +2,7 @@ import Image from "next/image";
|
||||
import { CreatePlanForm } from "@/components/create-plan-form";
|
||||
import { Card, CardContent, CardDescription, CardHeader, CardTitle } from "@/components/ui/card";
|
||||
import { getDictionary } from "@/get-dictionary";
|
||||
import { RecentPlans } from "@/components/recent-plans";
|
||||
|
||||
export default async function Home({
|
||||
params,
|
||||
@@ -32,6 +33,8 @@ export default async function Home({
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<RecentPlans lang={lang} dict={dict.home.recentPlans} />
|
||||
|
||||
<Card>
|
||||
<CardHeader>
|
||||
<CardTitle>{dict.home.createPlan}</CardTitle>
|
||||
|
||||
Reference in New Issue
Block a user