47 lines
1.9 KiB
TypeScript
47 lines
1.9 KiB
TypeScript
import Link from "next/link";
|
|
import { Button } from "@/components/ui/button";
|
|
import { ArrowLeft } from "lucide-react";
|
|
import { Card, CardContent, CardHeader, CardTitle } from "@/components/ui/card";
|
|
import { getTranslations } from "next-intl/server";
|
|
|
|
export default async function ImprintPage() {
|
|
const t = await getTranslations("ImprintPage");
|
|
return (
|
|
<div className="relative flex flex-col items-center min-h-screen p-4 sm:p-8 bg-gray-50 dark:bg-background">
|
|
<div className="w-full max-w-4xl mx-auto">
|
|
<Button asChild variant="ghost" className="mb-4 -ml-4">
|
|
<Link href="/">
|
|
<ArrowLeft className="mr-2 h-4 w-4" />
|
|
{t("backToConverter")}
|
|
</Link>
|
|
</Button>
|
|
<main className="w-full">
|
|
<Card>
|
|
<CardHeader>
|
|
<CardTitle className="text-3xl font-bold">{t("title")}</CardTitle>
|
|
</CardHeader>
|
|
<CardContent className="space-y-6 text-muted-foreground">
|
|
<p>{t("tmgInfo")}</p>
|
|
<div className="space-y-2">
|
|
<h3 className="font-semibold text-foreground">{t("contactInfoTitle")}</h3>
|
|
<p>{t("contactName")}</p>
|
|
<p>{t("contactStreet")}</p>
|
|
<p>{t("contactCity")}</p>
|
|
<p>{t("contactEmail")}</p>
|
|
<p>{t("contactPhone")}</p>
|
|
</div>
|
|
<div className="space-y-2">
|
|
<h3 className="font-semibold text-foreground">{t("representedByTitle")}</h3>
|
|
<p>{t("representedByName")}</p>
|
|
</div>
|
|
<div className="pt-4 border-t">
|
|
<h3 className="font-semibold text-foreground">{t("disclaimerTitle")}</h3>
|
|
<p className="text-sm">{t("disclaimerText")}</p>
|
|
</div>
|
|
</CardContent>
|
|
</Card>
|
|
</main>
|
|
</div>
|
|
</div>
|
|
);
|
|
} |