|
|
|
@ -19,11 +19,11 @@ const DropdownItem = ({
|
|
|
|
|
switch (buttonType) {
|
|
|
|
|
case 'ghost':
|
|
|
|
|
styleClass +=
|
|
|
|
|
' bg-gray-700 hover:bg-gray-600 focus:border-gray-500 focus:text-white';
|
|
|
|
|
' bg-transparent rounded hover:bg-gradient-to-br from-indigo-600 to-purple-600 text-white focus:border-gray-500 focus:text-white';
|
|
|
|
|
break;
|
|
|
|
|
default:
|
|
|
|
|
styleClass +=
|
|
|
|
|
' bg-indigo-600 hover:bg-indigo-500 focus:border-indigo-700 focus:text-white';
|
|
|
|
|
' bg-indigo-600 rounded hover:bg-indigo-500 focus:border-indigo-700 focus:text-white';
|
|
|
|
|
}
|
|
|
|
|
return (
|
|
|
|
|
<a
|
|
|
|
@ -65,14 +65,15 @@ const ButtonWithDropdown = ({
|
|
|
|
|
styleClasses.mainButtonClasses +=
|
|
|
|
|
' bg-transparent border-gray-600 hover:border-gray-200 focus:border-gray-100 active:border-gray-100';
|
|
|
|
|
styleClasses.dropdownSideButtonClasses = styleClasses.mainButtonClasses;
|
|
|
|
|
styleClasses.dropdownClasses += ' bg-gray-700';
|
|
|
|
|
styleClasses.dropdownClasses +=
|
|
|
|
|
' bg-gray-800 border border-gray-700 bg-opacity-80 p-1 backdrop-blur';
|
|
|
|
|
break;
|
|
|
|
|
default:
|
|
|
|
|
styleClasses.mainButtonClasses +=
|
|
|
|
|
' bg-indigo-600 border-indigo-600 hover:bg-indigo-500 hover:border-indigo-500 active:bg-indigo-700 active:border-indigo-700 focus:ring-blue';
|
|
|
|
|
styleClasses.dropdownSideButtonClasses +=
|
|
|
|
|
' bg-indigo-700 border-indigo-600 hover:bg-indigo-500 active:bg-indigo-700 focus:ring-blue';
|
|
|
|
|
styleClasses.dropdownClasses += ' bg-indigo-600';
|
|
|
|
|
styleClasses.dropdownClasses += ' bg-indigo-600 p-1';
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
return (
|
|
|
|
|