Structural changes
This commit is contained in:
@@ -29,6 +29,7 @@ const campaignRouteLabels: Record<string, string> = {
|
||||
"global-settings": "Global settings",
|
||||
fields: "Fields",
|
||||
recipients: "Recipients",
|
||||
"recipient-data": "Recipient data",
|
||||
template: "Template",
|
||||
files: "Attachments",
|
||||
attachments: "Attachments",
|
||||
@@ -50,6 +51,7 @@ const topLevelRouteLabels: Record<string, string> = {
|
||||
dashboard: "Dashboard",
|
||||
templates: "Templates",
|
||||
files: "Files",
|
||||
"address-book": "Address Book",
|
||||
reports: "Reports",
|
||||
settings: "Settings",
|
||||
admin: "Admin",
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
import { Form, FileText, Folder, LayoutDashboard, MailCheck, Settings, Shield, Users } from "lucide-react";
|
||||
import { FileText, Folder, Form, LayoutDashboard, MailCheck, Settings, Shield, Users } from "lucide-react";
|
||||
import { NavLink } from "react-router-dom";
|
||||
|
||||
const items = [
|
||||
{ to: "/dashboard", label: "Dashboard", icon: LayoutDashboard },
|
||||
{ to: "/campaigns", label: "Campaigns", icon: MailCheck },
|
||||
{ to: "/templates", label: "Templates", icon: Form },
|
||||
{ to: "/files", label: "Files", icon: Folder },
|
||||
{ to: "/address-book", label: "Address Book", icon: Users },
|
||||
{ to: "/templates", label: "Templates", icon: Form },
|
||||
{ to: "/reports", label: "Reports", icon: FileText },
|
||||
{ to: "/settings", label: "Settings", icon: Settings },
|
||||
{ to: "/admin", label: "Admin", icon: Shield }
|
||||
];
|
||||
|
||||
@@ -26,7 +26,9 @@ export default function IconRail({ compact = false }: { compact?: boolean }) {
|
||||
))}
|
||||
</nav>
|
||||
<div className="icon-rail-bottom">
|
||||
<Users size={18} />
|
||||
<NavLink to="/settings" className={({ isActive }) => `icon-nav-item ${isActive ? "active" : ""}`} title="Settings">
|
||||
<Settings size={20} />
|
||||
</NavLink>
|
||||
</div>
|
||||
</>
|
||||
)}
|
||||
|
||||
@@ -5,6 +5,7 @@ const campaignItems: { id: CampaignWorkspaceSection; label: string }[] = [
|
||||
{ id: "fields", label: "Fields" },
|
||||
{ id: "files", label: "Attachments" },
|
||||
{ id: "recipients", label: "Recipients" },
|
||||
{ id: "recipient-data", label: "Recipient data" },
|
||||
{ id: "template", label: "Template" },
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user