refactor(file-tree): make file tree a feature based component

This commit is contained in:
Haileyesus
2026-02-18 13:42:49 +03:00
parent 233a16b64e
commit b8e387d6dc
18 changed files with 1045 additions and 729 deletions

View File

@@ -0,0 +1,17 @@
import { useTranslation } from 'react-i18next';
export default function FileTreeDetailedColumns() {
const { t } = useTranslation();
return (
<div className="px-3 pt-1.5 pb-1 border-b border-border">
<div className="grid grid-cols-12 gap-2 px-1 text-[10px] font-semibold uppercase tracking-wider text-muted-foreground/70">
<div className="col-span-5">{t('fileTree.name')}</div>
<div className="col-span-2">{t('fileTree.size')}</div>
<div className="col-span-3">{t('fileTree.modified')}</div>
<div className="col-span-2">{t('fileTree.permissions')}</div>
</div>
</div>
);
}