feat: refactor layout and introduce workspace panel and fix some bugs

This commit is contained in:
Dominic Elm
2024-07-12 17:25:41 +02:00
parent 5fa2ee53cc
commit ab9d59a30d
16 changed files with 297 additions and 211 deletions

View File

@@ -1,7 +1,7 @@
import { memo } from 'react';
import { classNames } from '~/utils/classNames';
type IconSize = 'sm' | 'md' | 'xl';
type IconSize = 'sm' | 'md' | 'xl' | 'xxl';
interface BaseIconButtonProps {
size?: IconSize;
@@ -64,7 +64,9 @@ function getIconSize(size: IconSize) {
return 'text-sm';
} else if (size === 'md') {
return 'text-md';
} else {
} else if (size === 'xl') {
return 'text-xl';
} else {
return 'text-2xl';
}
}