refactor(web): unify dashboard footer via SiteFooter compact variant
Add a `compact` variant to SiteFooter (single-line copyright + legal links) and use it in the dashboard layout, replacing the divergent hard-coded inline footer. The dashboard footer is now i18n-aware, contrast-corrected, and adds the KVKK link for parity with the site footer. Both layouts now render from one component. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
import { SiteFooter } from "@/components/site-footer";
|
||||
import { TrialUrgencyBanner } from "@/components/trial-urgency-banner";
|
||||
import { useAuth } from "@/hooks/use-auth";
|
||||
import { api } from "@/lib/api-client";
|
||||
@@ -512,18 +513,7 @@ function DashboardLayout() {
|
||||
</main>
|
||||
|
||||
{/* Footer */}
|
||||
<div className="border-t border-border px-6 py-3">
|
||||
<p className="text-center text-xs text-muted-foreground/70">
|
||||
© {new Date().getFullYear()} Sase.tr ·{" "}
|
||||
<Link to="/privacy" className="transition-colors hover:text-foreground">
|
||||
Gizlilik Politikası
|
||||
</Link>{" "}
|
||||
·{" "}
|
||||
<Link to="/terms" className="transition-colors hover:text-foreground">
|
||||
Kullanım Koşulları
|
||||
</Link>
|
||||
</p>
|
||||
</div>
|
||||
<SiteFooter variant="compact" />
|
||||
</div>
|
||||
|
||||
{/* ─── Mobile Nav Drawer (Radix Dialog: focus-trap, Esc, scroll-lock) ─── */}
|
||||
|
||||
Reference in New Issue
Block a user