feat: overhaul drive UI and previews

This commit is contained in:
mixa
2026-03-10 17:58:02 +03:00
parent dd89a5cf2d
commit c3a758e8d6
9 changed files with 2959 additions and 394 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -49,7 +49,6 @@ export default function TransferSection(props: Props) {
onDownloadSelected,
} = props
const pathLabel = path === '/' ? t('root') : path
const viewButton = (active: boolean) =>
cn(
'border-[3px] px-4 py-3 text-left text-xs font-black uppercase tracking-[0.14em] transition-[transform,box-shadow,background-color] duration-150',
@@ -60,15 +59,9 @@ export default function TransferSection(props: Props) {
return (
<CardContent className="space-y-5 p-5 md:p-6">
<div className="brutal-block space-y-4 p-5">
<div className="flex flex-wrap items-start justify-between gap-4">
<div>
<p className="text-[10px] font-black uppercase tracking-[0.22em] text-muted-foreground">{t('accountSubtitle')}</p>
<p className="font-display text-4xl">{username}</p>
</div>
</div>
<div className="flex flex-wrap gap-2">
<span className="brutal-chip">{pathLabel}</span>
<div className="brutal-block p-5">
<div className="flex flex-wrap items-center justify-between gap-4">
<p className="font-display text-4xl">{username}</p>
{selectedCount > 0 ? <span className="brutal-chip">{selectedCount} {t('selected')}</span> : null}
</div>
</div>

View File

@@ -13,7 +13,7 @@ export default {
},
extend: {
screens: {
lg: '600px',
wide: '1400px',
},
colors: {
background: 'hsl(var(--background))',