Move admin area to root subdomain
CI / quality (push) Waiting to run

This commit is contained in:
MOH
2026-03-12 00:15:12 +01:00
parent e7dab6f0ef
commit 87a597c872
50 changed files with 256 additions and 140 deletions
+2 -1
View File
@@ -2,6 +2,7 @@ import Link from "next/link";
import { useLocale, useTranslations } from "next-intl";
import { Container } from "@/components/layout/container";
import { buildAdminUrl } from "@/lib/admin-routing";
import { getLocalizedPath } from "@/lib/locale";
const navItems = [
@@ -34,7 +35,7 @@ export function SiteFooter({ isAdmin = false }: SiteFooterProps) {
</Link>
))}
{isAdmin ? (
<a href="/root" className="text-muted-foreground hover:text-foreground">
<a href={buildAdminUrl()} className="text-muted-foreground hover:text-foreground">
{tNav("root")}
</a>
) : null}