Spaces:
Running on CPU Upgrade
Running on CPU Upgrade
Update frontend/src/components/Layout.jsx
Browse files
frontend/src/components/Layout.jsx
CHANGED
|
@@ -218,11 +218,8 @@ export const Layout = ({ children }) => {
|
|
| 218 |
</h1>
|
| 219 |
<p className="text-[12px] text-[#64748b] dark:text-slate-400 uppercase tracking-[0.14em] m-0 font-medium leading-tight mt-1">
|
| 220 |
{user?.role === 'super_admin' ? 'SUPER ADMIN' :
|
| 221 |
-
user?.role === 'admin' ? 'ADMIN' :
|
| 222 |
user?.role === 'support_engineer' ? 'SUPPORT ENGINEER' :
|
| 223 |
-
|
| 224 |
-
user?.role === 'executive_user' ? 'EXECUTIVE' :
|
| 225 |
-
(user?.subscription_tier ? `${user.subscription_tier.toUpperCase()} TIER` : 'ORG ADMIN')}
|
| 226 |
</p>
|
| 227 |
</div>
|
| 228 |
</div>
|
|
@@ -297,10 +294,17 @@ export const Layout = ({ children }) => {
|
|
| 297 |
<span className="material-symbols-outlined text-primary cursor-pointer">menu</span>
|
| 298 |
<div className="flex items-center gap-xs">
|
| 299 |
<img src="/logo.png" alt="LarShield Logo" className="h-7 w-7 object-contain" />
|
| 300 |
-
<
|
| 301 |
-
<span className="text-[
|
| 302 |
-
|
| 303 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 304 |
</div>
|
| 305 |
</div>
|
| 306 |
|
|
|
|
| 218 |
</h1>
|
| 219 |
<p className="text-[12px] text-[#64748b] dark:text-slate-400 uppercase tracking-[0.14em] m-0 font-medium leading-tight mt-1">
|
| 220 |
{user?.role === 'super_admin' ? 'SUPER ADMIN' :
|
|
|
|
| 221 |
user?.role === 'support_engineer' ? 'SUPPORT ENGINEER' :
|
| 222 |
+
'ORG ADMIN'}
|
|
|
|
|
|
|
| 223 |
</p>
|
| 224 |
</div>
|
| 225 |
</div>
|
|
|
|
| 294 |
<span className="material-symbols-outlined text-primary cursor-pointer">menu</span>
|
| 295 |
<div className="flex items-center gap-xs">
|
| 296 |
<img src="/logo.png" alt="LarShield Logo" className="h-7 w-7 object-contain" />
|
| 297 |
+
<div className="flex flex-col justify-center">
|
| 298 |
+
<span className="font-extrabold tracking-tight text-[15px] leading-none flex items-center">
|
| 299 |
+
<span className="text-[#0b132a] dark:text-white">Lar</span>
|
| 300 |
+
<span className="text-[#5856d6]">Shield</span>
|
| 301 |
+
</span>
|
| 302 |
+
<span className="text-[10px] text-[#64748b] dark:text-slate-400 uppercase tracking-[0.12em] font-medium leading-none mt-0.5">
|
| 303 |
+
{user?.role === 'super_admin' ? 'SUPER ADMIN' :
|
| 304 |
+
user?.role === 'support_engineer' ? 'SUPPORT ENGINEER' :
|
| 305 |
+
'ORG ADMIN'}
|
| 306 |
+
</span>
|
| 307 |
+
</div>
|
| 308 |
</div>
|
| 309 |
</div>
|
| 310 |
|