stlyes fixes
This commit is contained in:
@@ -28,14 +28,14 @@ export default function SiteCard({
|
||||
|
||||
const getStatusColor = () => {
|
||||
if (site.is_active) {
|
||||
return 'bg-green-500 dark:bg-green-600';
|
||||
return 'bg-success-500 dark:bg-success-600';
|
||||
}
|
||||
return 'bg-gray-400 dark:bg-gray-500';
|
||||
};
|
||||
|
||||
const getStatusText = () => {
|
||||
if (site.is_active) {
|
||||
return { text: 'Active', color: 'text-green-600 dark:text-green-400', bold: true };
|
||||
return { text: 'Active', color: 'text-success-600 dark:text-success-400', bold: true };
|
||||
}
|
||||
return { text: 'Inactive', color: 'text-gray-400 dark:text-gray-500', bold: false };
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user