fix(platforms): add platforms service + reduce memory consumption when rendering platform cards

This commit is contained in:
Yassine Doghri 2024-04-26 10:45:30 +00:00
commit fe73e9fae9
7 changed files with 92 additions and 69 deletions

View file

@ -39,7 +39,6 @@ class Button extends Component
'warning' => 'shadow-sm text-black bg-yellow-500 hover:bg-yellow-600',
'info' => 'shadow-sm text-white bg-blue-500 hover:bg-blue-600',
'disabled' => 'shadow-sm text-black bg-gray-300 cursor-not-allowed',
'link' => 'text-accent-base bg-transparent underline hover:no-underline',
];
$sizeClass = [