diff --git a/app/[lang]/dashboard/[planId]/page.tsx b/app/[lang]/dashboard/[planId]/page.tsx index f8097cc..884edcf 100644 --- a/app/[lang]/dashboard/[planId]/page.tsx +++ b/app/[lang]/dashboard/[planId]/page.tsx @@ -1,7 +1,10 @@ import Image from "next/image" import { notFound } from "next/navigation" import { cookies } from "next/headers" +import Link from "next/link" +import { ChevronLeft } from "lucide-react" import prisma from "@/lib/prisma" +import { Button } from "@/components/ui/button" import { PlanLoginForm } from "@/components/plan-login-form" import { PlanDashboard } from "./_components/plan-dashboard" import { getDictionary } from "@/get-dictionary" @@ -37,31 +40,40 @@ export default async function DashboardPage({ return (
-
-
-
- Logo -
-
-

{dict.home.title}

-

- {plan.startDate.toLocaleDateString(lang)} - {plan.endDate.toLocaleDateString(lang)} -

-
-
-
- Plan ID: {plan.id} -
-
+
+ -
- +
+
+
+ Logo +
+
+

{dict.home.title}

+

+ {plan.startDate.toLocaleDateString(lang)} - {plan.endDate.toLocaleDateString(lang)} +

+
+
+
+ Plan ID: {plan.id} +
+
+ +
+ +
diff --git a/dictionaries/de.json b/dictionaries/de.json index dba55ec..26ac958 100644 --- a/dictionaries/de.json +++ b/dictionaries/de.json @@ -18,6 +18,7 @@ "passwordError": "Das Passwort muss mindestens 4 Zeichen lang sein." }, "dashboard": { + "backToHome": "Zur Startseite", "overview": "Übersicht", "instructions": "Anleitungen", "instructionsTitle": "Katzenpflege-Anleitungen", diff --git a/dictionaries/en.json b/dictionaries/en.json index b5e368c..db916bd 100644 --- a/dictionaries/en.json +++ b/dictionaries/en.json @@ -18,6 +18,7 @@ "passwordError": "Password must be at least 4 characters." }, "dashboard": { + "backToHome": "Back to Home", "overview": "Overview", "instructions": "Instructions", "instructionsTitle": "Cat Care Instructions",