website refactor

This commit is contained in:
2026-01-19 12:35:16 +01:00
parent a8731e6937
commit 15290400b3
122 changed files with 902 additions and 255 deletions

View File

@@ -10,6 +10,7 @@ export interface ImagePlaceholderProps {
aspectRatio?: string;
variant?: 'default' | 'loading' | 'error';
message?: string;
rounded?: string;
}
export const ImagePlaceholder = ({
@@ -18,7 +19,8 @@ export const ImagePlaceholder = ({
animate = 'pulse',
aspectRatio,
variant = 'default',
message
message,
rounded
}: ImagePlaceholderProps) => {
const icons = {
default: ImageIcon,
@@ -36,7 +38,7 @@ export const ImagePlaceholder = ({
alignItems="center"
justifyContent="center"
bg="var(--ui-color-bg-surface-muted)"
style={{ borderRadius: 'var(--ui-radius-md)' }}
style={{ borderRadius: rounded === 'none' ? '0' : (rounded ? `var(--ui-radius-${rounded})` : 'var(--ui-radius-md)') }}
gap={2}
>
<Icon