chore(repo): sync wireframe structure and references

This commit is contained in:
david committed 2026-08-08 03:09:06 +02:00
1 parent 05d2d5777f
commit d953a79e95
453 files changed
+36639 -621

No files matched your search

@@ -0,0 +1,54 @@
"use client";
import { useState } from "react";
import Link from "next/link";
import { MailMinus } from "lucide-react";
import { CHAMFER } from "@/lib/chamfer";
const reasons = ["Zu viele E-Mails", "Inhalte sind nicht relevant", "Ich nutze HiveGrid nicht mehr", "Sonstiges"];
export default function AbmeldenForm() {
const [done, setDone] = useState(false);
const [reason, setReason] = useState("");
if (done) return (
<section className="section-full" style={{ paddingTop: "var(--section-padding-large)", paddingBottom: 80, minHeight: "70vh" }}>
<div className="flex flex-col items-center gap-6 mx-auto text-center" style={{ maxWidth: 480 }}>
<div className="flex items-center justify-center rounded-full" style={{ width: 80, height: 80, background: "var(--container-bg)" }}>
<MailMinus size={36} style={{ color: "var(--text-tertiary)" }} />
</div>
<h1 className="text-[36px] font-bold" style={{ color: "var(--text-primary)" }}>Sie wurden abgemeldet.</h1>
<p className="text-[16px] leading-relaxed" style={{ color: "var(--text-secondary)" }}>Sie erhalten ab sofort keine weiteren E-Mails von uns. Wir hoffen, Sie bald wiederzusehen.</p>
<div className="flex flex-col items-center gap-4" style={{ background: "var(--container-bg)", padding: 32, width: "100%", clipPath: CHAMFER }}>
<p className="text-[16px] font-semibold" style={{ color: "var(--text-primary)" }}>Abmeldung rückgängig machen?</p>
<p className="text-[14px] text-center" style={{ color: "var(--text-secondary)" }}>Falls Sie es sich anders überlegen, können Sie sich jederzeit erneut anmelden.</p>
<button onClick={() => setDone(false)} className="rounded-[var(--radius-button)] text-[14px] font-semibold hover:bg-[var(--accent-yellow-dark)] transition-colors" style={{ background: "var(--accent-yellow)", color: "var(--text-primary)", padding: "12px 24px" }}>Erneut anmelden</button>
</div>
<Link href="/" className="rounded-[var(--radius-button)] text-[14px] font-semibold" style={{ padding: "14px 28px", border: "1px solid var(--border-neutral)", color: "var(--text-primary)" }}>Zur Startseite</Link>
</div>
</section>
);
return (
<section className="section-full" style={{ paddingTop: "var(--section-padding-large)", paddingBottom: 80, minHeight: "70vh" }}>
<div className="flex flex-col items-center gap-6 mx-auto text-center" style={{ maxWidth: 480 }}>
<MailMinus size={48} style={{ color: "var(--text-tertiary)" }} />
<h1 className="text-[36px] font-bold" style={{ color: "var(--text-primary)" }}>Newsletter abmelden</h1>
<p className="text-[16px] leading-relaxed" style={{ color: "var(--text-secondary)" }}>Schade, dass Sie gehen. Möchten Sie sich wirklich vom HiveGrid Newsletter abmelden?</p>
<div className="flex flex-col gap-4 w-full text-left" style={{ background: "var(--container-bg)", padding: 32, clipPath: CHAMFER }}>
<p className="text-[14px] font-medium" style={{ color: "var(--text-primary)" }}>Warum möchten Sie sich abmelden?</p>
{reasons.map((r) => (
<label key={r} className="flex items-center gap-2.5 cursor-pointer">
<input type="radio" name="reason" checked={reason === r} onChange={() => setReason(r)} className="accent-[var(--accent-yellow)]" />
<span className="text-[14px]" style={{ color: "var(--text-primary)" }}>{r}</span>
</label>
))}
</div>
<div className="flex gap-4">
<button onClick={() => setDone(true)} className="rounded-[var(--radius-button)] text-[14px] font-semibold transition-colors" style={{ padding: "14px 28px", border: "1.5px solid #E5534B", color: "#E5534B" }}>Abmelden</button>
<Link href="/" className="rounded-[var(--radius-button)] text-[14px] font-semibold hover:bg-[var(--accent-yellow-dark)] transition-colors" style={{ background: "var(--accent-yellow)", color: "var(--text-primary)", padding: "14px 28px" }}>Doch lieber bleiben</Link>
</div>
<p className="text-[12px]" style={{ color: "var(--text-tertiary)" }}>Die Abmeldung wird sofort wirksam.</p>
</div>
</section>
);
}
@@ -0,0 +1,12 @@
import type { Metadata } from "next";
import AbmeldenForm from "./AbmeldenForm";
export const metadata: Metadata = {
title: "Newsletter abmelden",
description: "Vom HiveGrid Newsletter abmelden.",
robots: { index: false, follow: false },
};
export default function NewsletterAbmeldenPage() {
return <AbmeldenForm />;
}
@@ -0,0 +1,24 @@
import type { Metadata } from "next";
import Link from "next/link";
export const metadata: Metadata = {
title: "Abmeldung bestätigt",
description: "Ihre Abmeldung vom HiveGrid Newsletter wurde bestätigt.",
robots: { index: false, follow: false },
};
export default function AbmeldungBestaetigtPage() {
return (
<section className="section-full" style={{ paddingTop: "var(--section-padding-large)", paddingBottom: 80, minHeight: "70vh" }}>
<div className="flex flex-col items-center gap-6 mx-auto text-center" style={{ maxWidth: 480 }}>
<div className="flex items-center justify-center rounded-full" style={{ width: 80, height: 80, background: "var(--container-bg)" }}>
<svg width="36" height="36" viewBox="0 0 24 24" fill="none" stroke="var(--text-tertiary)" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round"><path d="M22 13V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v12c0 1.1.9 2 2 2h8"/><polyline points="22 6 12 13 2 6"/><line x1="17" y1="17" x2="22" y2="22"/><line x1="22" y1="17" x2="17" y2="22"/></svg>
</div>
<h1 className="text-[36px] font-bold" style={{ color: "var(--text-primary)" }}>Sie wurden abgemeldet.</h1>
<p className="text-[16px] leading-relaxed" style={{ color: "var(--text-secondary)" }}>Sie erhalten ab sofort keine weiteren E-Mails von uns. Wir hoffen, Sie bald wiederzusehen.</p>
<Link href="/" className="rounded-[var(--radius-button)] text-[14px] font-semibold" style={{ padding: "14px 28px", border: "1px solid var(--border-neutral)", color: "var(--text-primary)" }}>Zur Startseite</Link>
<p className="text-[12px]" style={{ color: "var(--text-tertiary)" }}>Diese Änderung kann einige Minuten dauern.</p>
</div>
</section>
);
}
@@ -0,0 +1,30 @@
import type { Metadata } from "next";
import Link from "next/link";
import { MailCheck, Check } from "lucide-react";
import { CHAMFER } from "@/lib/chamfer";
export const metadata: Metadata = {
title: "Newsletter – Danke",
description: "Vielen Dank für Ihre Anmeldung zum HiveGrid Newsletter.",
robots: { index: false, follow: false },
};
export default function NewsletterDankePage() {
return (
<section className="section-full" style={{ paddingTop: "var(--section-padding-large)", paddingBottom: 80, minHeight: "70vh" }}>
<div className="flex flex-col items-center gap-6 mx-auto text-center" style={{ maxWidth: 520 }}>
<MailCheck size={48} style={{ color: "var(--accent-yellow)" }} />
<h1 className="text-[36px] font-bold" style={{ color: "var(--text-primary)" }}>Willkommen an Bord!</h1>
<p className="text-[16px] leading-relaxed" style={{ color: "var(--text-secondary)" }}>Sie haben sich erfolgreich für den HiveGrid Newsletter angemeldet. Ab sofort erhalten Sie Updates zu neuen Features, Tipps und exklusive Einblicke.</p>
<div className="flex flex-col gap-3 w-full text-left" style={{ background: "var(--container-bg)", padding: 24, clipPath: CHAMFER }}>
<p className="text-[14px] font-semibold" style={{ color: "var(--text-primary)" }}>Was Sie erwartet:</p>
{["Lösungs-Updates und neue Features", "Praxis-Tipps für Ihren Betrieb", "Exklusive Einladungen zu Webinaren"].map((t) => (
<div key={t} className="flex items-center gap-2"><Check size={16} style={{ color: "var(--accent-yellow)" }} /><span className="text-[14px]" style={{ color: "var(--text-secondary)" }}>{t}</span></div>
))}
</div>
<Link href="/" className="rounded-[var(--radius-button)] text-[14px] font-semibold hover:bg-[var(--accent-yellow-dark)] transition-colors" style={{ background: "var(--accent-yellow)", color: "var(--text-primary)", padding: "14px 28px" }}>Zur Startseite</Link>
<p className="text-[12px]" style={{ color: "var(--text-tertiary)" }}>Sie können sich jederzeit abmelden.</p>
</div>
</section>
);
}