📝Update breadcrumbs i18n
This commit is contained in:
@@ -19,11 +19,7 @@ export function GlitchButton({
|
||||
...props
|
||||
}: GlitchButtonProps) {
|
||||
const glitchClasses = !disabled
|
||||
? cn(
|
||||
'glitch-btn-cyber',
|
||||
variant === 'subtle' && 'glitch-btn-subtle',
|
||||
'relative'
|
||||
)
|
||||
? cn('glitch-btn-cyber', variant === 'subtle' && 'glitch-btn-subtle', 'relative')
|
||||
: ''
|
||||
|
||||
const overlayColorClass = {
|
||||
@@ -34,18 +30,11 @@ export function GlitchButton({
|
||||
}[glitchColor]
|
||||
|
||||
return (
|
||||
<button
|
||||
className={cn(glitchClasses, className)}
|
||||
disabled={disabled}
|
||||
{...props}
|
||||
>
|
||||
<button className={cn(glitchClasses, className)} disabled={disabled} {...props}>
|
||||
{children}
|
||||
|
||||
{!disabled && (
|
||||
<div
|
||||
className={cn('glitch-overlay', overlayColorClass)}
|
||||
aria-hidden="true"
|
||||
>
|
||||
<div className={cn('glitch-overlay', overlayColorClass)} aria-hidden="true">
|
||||
{children}
|
||||
</div>
|
||||
)}
|
||||
|
||||
Reference in New Issue
Block a user