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" /> <ClipboardCheck className="h-4 w-4 text-primary" />
</div> </div>
<div> <div>
<p className="text-sm font-medium"> <p className="text-sm font-medium">KCanG-Compliance</p>
KCanG-Compliance
</p>
<p className="text-xs text-muted-foreground"> <p className="text-xs text-muted-foreground">
Automatische Vorgaben-Überwachung Automatische Vorgaben-Überwachung
</p> </p>
@@ -56,9 +54,7 @@ export default async function AuthLayout({
<Users className="h-4 w-4 text-primary" /> <Users className="h-4 w-4 text-primary" />
</div> </div>
<div> <div>
<p className="text-sm font-medium"> <p className="text-sm font-medium">Mitgliederverwaltung</p>
Mitgliederverwaltung
</p>
<p className="text-xs text-muted-foreground"> <p className="text-xs text-muted-foreground">
Portal, Profile und Dokumente Portal, Profile und Dokumente
</p> </p>
@@ -69,9 +65,7 @@ export default async function AuthLayout({
<Scale className="h-4 w-4 text-primary" /> <Scale className="h-4 w-4 text-primary" />
</div> </div>
<div> <div>
<p className="text-sm font-medium"> <p className="text-sm font-medium">Abgabe-Tracking</p>
Abgabe-Tracking
</p>
<p className="text-xs text-muted-foreground"> <p className="text-xs text-muted-foreground">
25g/Tag und 50g/Monat automatisch 25g/Tag und 50g/Monat automatisch
</p> </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> </p>
</div> </div>
<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"> <ul className="space-y-2 text-sm text-muted-foreground">
<li> <li>
<Link <Link
@@ -71,7 +71,9 @@ export default function PortalLoginPage() {
</div> </div>
<div> <div>
<p className="text-sm font-medium">Abgabehistorie</p> <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> </div>
<div className="flex items-start gap-3"> <div className="flex items-start gap-3">
@@ -80,7 +82,9 @@ export default function PortalLoginPage() {
</div> </div>
<div> <div>
<p className="text-sm font-medium">Profil verwalten</p> <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> </div>
<div className="flex items-start gap-3"> <div className="flex items-start gap-3">
@@ -89,7 +93,9 @@ export default function PortalLoginPage() {
</div> </div>
<div> <div>
<p className="text-sm font-medium">Dokumente</p> <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> </div>
</div> </div>
@@ -102,7 +108,9 @@ export default function PortalLoginPage() {
{/* Title */} {/* Title */}
<div className="space-y-2 text-center md:text-left"> <div className="space-y-2 text-center md:text-left">
<h2 className="text-2xl font-bold tracking-tight">{t("title")}</h2> <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> </div>
{/* Login Card */} {/* Login Card */}