social ads engine module screens
This commit is contained in:
@@ -6,7 +6,7 @@ import {
|
||||
LayoutDashboard, Map, Calendar, LogOut, User, Home, MessageSquare,
|
||||
ChevronLeft, ChevronRight, Sun, Moon, Trophy, Users, Briefcase,
|
||||
FileText, Menu, X, Calculator, PlusCircle, ClipboardList, Zap, LayoutGrid, Settings, CloudLightning,
|
||||
HardHat, ShieldCheck, Sparkles
|
||||
HardHat, ShieldCheck, Sparkles, Megaphone
|
||||
} from 'lucide-react';
|
||||
|
||||
import PageTransition from './PageTransition';
|
||||
@@ -112,7 +112,8 @@ const Layout = () => {
|
||||
}, []);
|
||||
|
||||
// Determine standard layout vs full screen for Public pages
|
||||
const isPublic = ['/', '/login', '/estimate'].includes(location.pathname);
|
||||
const isPublic = ['/', '/login', '/estimate'].includes(location.pathname)
|
||||
|| location.pathname.startsWith('/ads/');
|
||||
|
||||
if (isPublic) {
|
||||
return (
|
||||
@@ -158,6 +159,7 @@ const Layout = () => {
|
||||
{ to: "/owner/settings", icon: Settings, label: "Org Settings" },
|
||||
...commonItems,
|
||||
{ to: "/estimate-wizard/admin", icon: Settings, label: "Wizard Admin" },
|
||||
{ to: "/marketing", icon: Megaphone, label: "Ad Engine" },
|
||||
];
|
||||
case 'ADMIN':
|
||||
return [
|
||||
@@ -180,6 +182,7 @@ const Layout = () => {
|
||||
{ to: "/admin/settings", icon: Settings, label: "Org Settings" },
|
||||
...commonItems,
|
||||
{ to: "/estimate-wizard/admin", icon: Settings, label: "Wizard Admin" },
|
||||
{ to: "/marketing", icon: Megaphone, label: "Ad Engine" },
|
||||
];
|
||||
case 'CONTRACTOR':
|
||||
case 'SUBCONTRACTOR':
|
||||
|
||||
Reference in New Issue
Block a user