← All changes
|
backend/views/components/Analytics/components/layout/AnalyticsLayout.jsx
+6
-6
1.4.7
→
1.4.20
View file →
| @@ -21,15 +21,15 @@ | ||
| 21 | 21 | const AnalyticsLayout = () => { |
| 22 | 22 | const { pathname } = useLocation(); |
| 23 | 23 | |
| 24 | 24 | return ( |
| 25 | - <div className="disco-min-h-[calc(100vh-42px)] disco-bg-white"> | |
| 25 | + <div className="disco:min-h-[calc(100vh-42px)] disco:bg-white"> | |
| 26 | 26 | <div |
| 27 | 27 | className={cn( |
| 28 | - 'disco-sticky disco-top-8 disco-z-50 disco-flex disco-items-center disco-justify-between disco-border-b disco-border-[#e5e7eb] disco-bg-white disco-px-3 disco-py-[13px]' | |
| 28 | + 'disco:sticky disco:top-8 disco:z-50 disco:flex disco:items-center disco:justify-between disco:border-b disco:border-[#e5e7eb] disco:bg-white disco:px-3 disco:py-3.25' | |
| 29 | 29 | )} |
| 30 | 30 | > |
| 31 | - <nav className="disco-flex disco-items-center disco-gap-1"> | |
| 31 | + <nav className="disco:flex disco:items-center disco:gap-1"> | |
| 32 | 32 | {NAV_ITEMS.map(({ label, path, end }) => ( |
| 33 | 33 | <NavLink |
| 34 | 34 | key={path} |
| 35 | 35 | to={path} |
| @@ -39,16 +39,16 @@ | ||
| 39 | 39 | buttonVariants({ |
| 40 | 40 | variant: 'ghost', |
| 41 | 41 | size: 'sm', |
| 42 | 42 | }), |
| 43 | - 'disco-h-7 !disco-rounded-md disco-px-3 disco-text-sm disco-font-medium disco-font-sans disco-no-underline ', | |
| 43 | + 'disco:h-7 disco:rounded-md! disco:px-3 disco:text-sm disco:font-medium disco:font-sans disco:no-underline ', | |
| 44 | 44 | isActive || |
| 45 | 45 | (DETAIL_PREFIXES[path] && |
| 46 | 46 | pathname.startsWith( |
| 47 | 47 | DETAIL_PREFIXES[path] |
| 48 | 48 | )) |
| 49 | - ? 'disco-bg-[#0dc98b] disco-text-white hover:disco-bg-[#0dc98b] hover:disco-text-white' | |
| 50 | - : 'disco-text-gray-600 focus:!disco-text-gray-600 hover:disco-bg-transparent hover:disco-text-gray-600 focus:disco-outline-none visited:disco-outline-none' | |
| 49 | + ? 'disco:bg-[#0dc98b] disco:text-white! disco:hover:bg-[#0dc98b] disco:hover:text-white!' | |
| 50 | + : 'disco:text-gray-600! disco:focus:text-gray-600! disco:hover:bg-transparent disco:hover:text-gray-600! disco:focus:outline-hidden disco:visited:outline-hidden' | |
| 51 | 51 | ) |
| 52 | 52 | } |
| 53 | 53 | > |
| 54 | 54 | {label} |