Adds the complete Next.js website including i18n routing, house and apartment pages, Beds24 v2 integration for live availability/pricing, Stripe checkout, contact forms, Docker setup and deployment docs. Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
91 lines
3.0 KiB
TypeScript
91 lines
3.0 KiB
TypeScript
import { getTranslations } from "next-intl/server";
|
|
|
|
export async function generateMetadata({
|
|
params: { locale },
|
|
}: {
|
|
params: { locale: string };
|
|
}) {
|
|
const t = await getTranslations({ locale, namespace: "footer" });
|
|
return {
|
|
title: t("imprint"),
|
|
};
|
|
}
|
|
|
|
export default function ImprintPage({
|
|
params: { locale },
|
|
}: {
|
|
params: { locale: string };
|
|
}) {
|
|
const isDe = locale === "de";
|
|
|
|
return (
|
|
<div className="py-16">
|
|
<div className="max-w-3xl mx-auto px-4 sm:px-6 lg:px-8">
|
|
<h1 className="text-4xl font-bold mb-8">
|
|
{isDe ? "Impressum" : "Imprint"}
|
|
</h1>
|
|
<div className="prose prose-lg max-w-none">
|
|
<p className="text-brand-grey mb-8">
|
|
{isDe
|
|
? "Angaben gemäß § 5 TMG"
|
|
: "Information according to § 5 TMG"}
|
|
</p>
|
|
|
|
<h2 className="text-2xl font-bold mb-4">
|
|
{isDe ? "Angaben zum Anbieter" : "Provider Information"}
|
|
</h2>
|
|
<p className="text-brand-grey mb-6">
|
|
<strong>
|
|
{isDe ? "Grundstücksgemeinschaft Allami / Allawy" : "Allami / Allawy Property Community"}
|
|
</strong>
|
|
<br />
|
|
Forchenweg 1
|
|
<br />
|
|
71063 Sindelfingen
|
|
<br />
|
|
{isDe ? "Deutschland" : "Germany"}
|
|
</p>
|
|
|
|
<h2 className="text-2xl font-bold mb-4">
|
|
{isDe ? "Vertreten durch" : "Represented by"}
|
|
</h2>
|
|
<p className="text-brand-grey mb-6">
|
|
Ali Allawy
|
|
</p>
|
|
|
|
<h2 className="text-2xl font-bold mb-4">
|
|
{isDe ? "Kontakt" : "Contact"}
|
|
</h2>
|
|
<p className="text-brand-grey mb-6">
|
|
E-Mail: info@bb-apartment.de
|
|
<br />
|
|
{isDe ? "Telefon:" : "Phone:"} 07031 7631132
|
|
<br />
|
|
{isDe ? "Web:" : "Web:"} www.BB-Apartment.de
|
|
</p>
|
|
|
|
<h2 className="text-2xl font-bold mb-4">
|
|
{isDe ? "Verantwortlich für den Inhalt" : "Responsible for Content"}
|
|
</h2>
|
|
<p className="text-brand-grey mb-6">
|
|
Ali Allawy
|
|
<br />
|
|
Forchenweg 1
|
|
<br />
|
|
71063 Sindelfingen
|
|
</p>
|
|
|
|
<h2 className="text-2xl font-bold mb-4">
|
|
{isDe ? "Hinweis" : "Note"}
|
|
</h2>
|
|
<p className="text-brand-grey mb-6">
|
|
{isDe
|
|
? "EU-Streitschlichtung: Die Europäische Kommission stellt eine Plattform zur Online-Streitbeilegung (OS) bereit. Unsere E-Mail-Adresse finden Sie oben im Impressum. Wir sind nicht verpflichtet, an Streitbeilegungsverfahren vor einer Verbraucherschlichtungsstelle teilzunehmen."
|
|
: "EU Dispute Resolution: The European Commission provides a platform for online dispute resolution (ODR). Our email address can be found above in the imprint. We are not obligated to participate in dispute resolution proceedings before a consumer arbitration board."}
|
|
</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
);
|
|
}
|