|
|
@ -19,11 +19,11 @@ const DropdownItem = ({
|
|
|
|
switch (buttonType) {
|
|
|
|
switch (buttonType) {
|
|
|
|
case 'ghost':
|
|
|
|
case 'ghost':
|
|
|
|
styleClass +=
|
|
|
|
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;
|
|
|
|
break;
|
|
|
|
default:
|
|
|
|
default:
|
|
|
|
styleClass +=
|
|
|
|
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 (
|
|
|
|
return (
|
|
|
|
<a
|
|
|
|
<a
|
|
|
@ -65,14 +65,15 @@ const ButtonWithDropdown = ({
|
|
|
|
styleClasses.mainButtonClasses +=
|
|
|
|
styleClasses.mainButtonClasses +=
|
|
|
|
' bg-transparent border-gray-600 hover:border-gray-200 focus:border-gray-100 active:border-gray-100';
|
|
|
|
' bg-transparent border-gray-600 hover:border-gray-200 focus:border-gray-100 active:border-gray-100';
|
|
|
|
styleClasses.dropdownSideButtonClasses = styleClasses.mainButtonClasses;
|
|
|
|
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;
|
|
|
|
break;
|
|
|
|
default:
|
|
|
|
default:
|
|
|
|
styleClasses.mainButtonClasses +=
|
|
|
|
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';
|
|
|
|
' 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 +=
|
|
|
|
styleClasses.dropdownSideButtonClasses +=
|
|
|
|
' bg-indigo-700 border-indigo-600 hover:bg-indigo-500 active:bg-indigo-700 focus:ring-blue';
|
|
|
|
' 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 (
|
|
|
|
return (
|
|
|
|