fix(frontend): remove conflicting dashboard redirect page resolving to /
CI — Build, Lint & Security Scan / frontend (push) Has been cancelled
CI — Build, Lint & Security Scan / image-scan (push) Has been cancelled
CI — Build, Lint & Security Scan / secrets-scan (push) Has been cancelled
CI — Build, Lint & Security Scan / backend (push) Has been cancelled
Deploy to TrueNAS / deploy (push) Has been cancelled

This commit is contained in:
Patrick Plate
2026-06-19 15:43:26 +02:00
parent b69e5b1820
commit 1c4c4ec708
4 changed files with 18 additions and 19 deletions
@@ -43,9 +43,7 @@ export default async function AuthLayout({
<ClipboardCheck className="h-4 w-4 text-primary" />
</div>
<div>
<p className="text-sm font-medium">
KCanG-Compliance
</p>
<p className="text-sm font-medium">KCanG-Compliance</p>
<p className="text-xs text-muted-foreground">
Automatische Vorgaben-Überwachung
</p>
@@ -56,9 +54,7 @@ export default async function AuthLayout({
<Users className="h-4 w-4 text-primary" />
</div>
<div>
<p className="text-sm font-medium">
Mitgliederverwaltung
</p>
<p className="text-sm font-medium">Mitgliederverwaltung</p>
<p className="text-xs text-muted-foreground">
Portal, Profile und Dokumente
</p>
@@ -69,9 +65,7 @@ export default async function AuthLayout({
<Scale className="h-4 w-4 text-primary" />
</div>
<div>
<p className="text-sm font-medium">
Abgabe-Tracking
</p>
<p className="text-sm font-medium">Abgabe-Tracking</p>
<p className="text-xs text-muted-foreground">
25g/Tag und 50g/Monat automatisch
</p>
@@ -1,5 +0,0 @@
import { redirect } from "next/navigation"
export default function HomePage() {
redirect("/dashboard")
}
@@ -64,7 +64,9 @@ export default function MarketingLayoutClient({
</p>
</div>
<div>
<h4 className="font-semibold text-sm mb-3">{t("footerProduct")}</h4>
<h4 className="font-semibold text-sm mb-3">
{t("footerProduct")}
</h4>
<ul className="space-y-2 text-sm text-muted-foreground">
<li>
<Link
@@ -71,7 +71,9 @@ export default function PortalLoginPage() {
</div>
<div>
<p className="text-sm font-medium">Abgabehistorie</p>
<p className="text-xs text-muted-foreground">Alle Abgaben auf einen Blick</p>
<p className="text-xs text-muted-foreground">
Alle Abgaben auf einen Blick
</p>
</div>
</div>
<div className="flex items-start gap-3">
@@ -80,7 +82,9 @@ export default function PortalLoginPage() {
</div>
<div>
<p className="text-sm font-medium">Profil verwalten</p>
<p className="text-xs text-muted-foreground">Daten und Einstellungen</p>
<p className="text-xs text-muted-foreground">
Daten und Einstellungen
</p>
</div>
</div>
<div className="flex items-start gap-3">
@@ -89,7 +93,9 @@ export default function PortalLoginPage() {
</div>
<div>
<p className="text-sm font-medium">Dokumente</p>
<p className="text-xs text-muted-foreground">Bescheinigungen und Nachweise</p>
<p className="text-xs text-muted-foreground">
Bescheinigungen und Nachweise
</p>
</div>
</div>
</div>
@@ -102,7 +108,9 @@ export default function PortalLoginPage() {
{/* Title */}
<div className="space-y-2 text-center md:text-left">
<h2 className="text-2xl font-bold tracking-tight">{t("title")}</h2>
<p className="text-sm text-muted-foreground">{t("loginSubtitle")}</p>
<p className="text-sm text-muted-foreground">
{t("loginSubtitle")}
</p>
</div>
{/* Login Card */}