feat: Wabenhain Honig-Shop Anwendung

Vollstaendige Next.js/Prisma-E-Commerce-Anwendung fuer eine Imkerei:
Shop, Warenkorb, Stripe-Checkout, Kundenkonto mit 2FA, Admin-Bereich
(Produkte, Ernten, Chargen, Bestellungen, Gutscheine, admin-editierbare
Website-Inhalte), i18n (DE/EN), Rate-Limiting/CSP/Audit-Log-Haertung,
PostgreSQL- und MySQL-Unterstuetzung ueber austauschbare Prisma-
Treiber-Adapter, Unit-/Komponenten-/E2E-Tests.
This commit is contained in:
Nick Szaunig committed 2026-08-17 14:30:28 +02:00
1 parent 5c76fcc266
commit c7927f2883
240 files changed
+26096 -137

No files matched your search

+47
View File
@@ -0,0 +1,47 @@
import type { Metadata } from "next";
import { Container, SectionHeading } from "@/components/ui";
import { getCompanyInfo } from "@/lib/company-info";
import { getLocale } from "@/i18n/locale";
import { getDictionary } from "@/i18n/get-dictionary";
export async function generateMetadata(): Promise<Metadata> {
const t = getDictionary(await getLocale());
return {
title: t.kontaktPage.eyebrow,
description: t.kontaktPage.title,
alternates: { canonical: "/kontakt" },
};
}
export default async function KontaktPage() {
const t = getDictionary(await getLocale());
const company = await getCompanyInfo();
return (
<div className="py-20">
<Container className="max-w-2xl">
<SectionHeading level="h1" eyebrow={t.kontaktPage.eyebrow} title={t.kontaktPage.title} />
<div className="mt-10 space-y-2 text-ink/75">
<p>{company.name}</p>
<p>{company.address.street}</p>
<p>
{company.address.zip} {company.address.city}
</p>
<p className="pt-4">
<a href={`mailto:${company.email}`} className="text-forest underline">
{company.email}
</a>
</p>
<p>{company.phone}</p>
</div>
<div className="mt-12 border-t border-ink/10 pt-8">
<h2 className="text-lg text-forest">{t.kontaktPage.pickupHeading}</h2>
<p className="mt-2 text-sm text-ink/65 leading-relaxed">
{t.kontaktPage.pickupText}
</p>
</div>
</Container>
</div>
);
}