Add editable localized marquee settings

This commit is contained in:
MOH
2026-03-08 22:40:01 +01:00
parent 8740a94611
commit 1d4c2f8e72
9 changed files with 608 additions and 5 deletions
+6 -2
View File
@@ -10,6 +10,7 @@ import {
ShieldAlert,
SwatchBook,
Tags,
Type,
} from "lucide-react";
import Link from "next/link";
@@ -35,6 +36,7 @@ type RootDashboardCopy = {
portfolio: string;
media: string;
siteSettings: string;
marquee?: string;
smtp?: string;
contactProtection?: string;
logout: string;
@@ -43,7 +45,7 @@ type RootDashboardCopy = {
type RootDashboardShellProps = {
copy: RootDashboardCopy;
active: "overview" | "maintenance" | "ui-kit" | "portfolio" | "media" | "site-settings" | "smtp";
active: "overview" | "maintenance" | "ui-kit" | "portfolio" | "media" | "site-settings" | "smtp" | "marquee";
smtpChild?: "settings" | "contact-protection";
portfolioChild?: "overview" | "projects" | "new-project" | "categories";
logoutAction: () => Promise<void>;
@@ -92,9 +94,11 @@ export async function RootDashboardShell({
? SwatchBook
: active === "site-settings"
? Globe2
: active === "marquee"
? Type
: active === "smtp"
? ShieldAlert
: active === "media"
: active === "media"
? ImageIcon
: portfolioChild === "categories"
? Tags