File tree Expand file tree Collapse file tree 1 file changed +10
-6
lines changed
packages/apps/app-dashboard/src/components/developer-dashboard/ui Expand file tree Collapse file tree 1 file changed +10
-6
lines changed Original file line number Diff line number Diff line change 1- import { Power , PowerOff } from 'lucide-react' ;
21import { theme , fonts } from '@/components/user-dashboard/connect/ui/theme' ;
32
43interface VersionCardProps {
@@ -52,11 +51,16 @@ export function VersionCard({
5251 </ div >
5352 { enabled !== undefined && (
5453 < div className = "flex items-center gap-2" >
55- { enabled ? (
56- < Power className = "h-4 w-4 text-green-600 dark:text-green-400" />
57- ) : (
58- < PowerOff className = { `h-4 w-4 ${ theme . textMuted } ` } />
59- ) }
54+ < span
55+ className = "inline-flex items-center px-2 py-0.5 rounded-full text-xs font-semibold"
56+ style = { {
57+ backgroundColor : enabled ? 'rgb(134 239 172 / 0.2)' : 'rgb(254 202 202 / 0.2)' ,
58+ color : enabled ? 'rgb(22 163 74)' : 'rgb(220 38 38)' ,
59+ ...fonts . heading ,
60+ } }
61+ >
62+ { enabled ? 'Enabled' : 'Disabled' }
63+ </ span >
6064 </ div >
6165 ) }
6266 </ div >
You can’t perform that action at this time.
0 commit comments