refactor(auth): replace anchor navigation links with Button components and improve auth page styling
This commit is contained in:
@@ -27,29 +27,29 @@ const Button = ({
|
||||
};
|
||||
|
||||
const sizes = {
|
||||
sm: '',
|
||||
sm: 'px-[10px] py-[5px] text-[12px] gap-1',
|
||||
md: 'px-[12px] py-[7px] text-[13px] gap-1.5',
|
||||
lg: ''
|
||||
lg: 'px-[14px] py-[9px] text-[14px] gap-2'
|
||||
};
|
||||
|
||||
const iconOnlySizes = {
|
||||
sm: '',
|
||||
sm: 'p-[5px] text-[12px]',
|
||||
md: 'p-[7px] text-[13px]',
|
||||
lg: ''
|
||||
lg: 'p-[9px] text-[14px]'
|
||||
};
|
||||
|
||||
const isIconOnly = icon && !children;
|
||||
|
||||
|
||||
const iconSizes = {
|
||||
sm: '',
|
||||
sm: 'w-3.5 h-3.5',
|
||||
md: 'w-4 h-4',
|
||||
lg: ''
|
||||
lg: 'w-4.5 h-4.5'
|
||||
};
|
||||
|
||||
const textSizes = {
|
||||
sm: '',
|
||||
sm: 'min-h-3.5',
|
||||
md: 'min-h-4',
|
||||
lg: ''
|
||||
lg: 'min-h-4.5'
|
||||
};
|
||||
|
||||
const LoadingSpinner = () => (
|
||||
|
||||
Reference in New Issue
Block a user