40 lines
1.6 KiB
TypeScript
40 lines
1.6 KiB
TypeScript
|
import {
|
||
|
File,
|
||
|
FilePlus,
|
||
|
Folder,
|
||
|
FolderOpen,
|
||
|
FolderPlus,
|
||
|
Search,
|
||
|
} from "lucide-react"
|
||
|
|
||
|
export default function Sidebar() {
|
||
|
return (
|
||
|
<div className="h-full w-56 flex flex-col text-sm items-start p-2">
|
||
|
<div className="flex w-full items-center justify-between h-8 mb-1 ">
|
||
|
<div className="text-muted-foreground">EXPLORER</div>
|
||
|
<div className="flex space-x-1">
|
||
|
<div className="h-6 w-6 text-muted-foreground ml-0.5 flex items-center justify-center translate-x-1 transition-colors bg-transparent hover:bg-muted-foreground/25 cursor-pointer rounded-sm">
|
||
|
<FilePlus className="w-4 h-4" />
|
||
|
</div>
|
||
|
<div className="h-6 w-6 text-muted-foreground ml-0.5 flex items-center justify-center translate-x-1 transition-colors bg-transparent hover:bg-muted-foreground/25 cursor-pointer rounded-sm">
|
||
|
<FolderPlus className="w-4 h-4" />
|
||
|
</div>
|
||
|
<div className="h-6 w-6 text-muted-foreground ml-0.5 flex items-center justify-center translate-x-1 transition-colors bg-transparent hover:bg-muted-foreground/25 cursor-pointer rounded-sm">
|
||
|
<Search className="w-4 h-4" />
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div className="w-full mt-2">
|
||
|
<div className="w-full flex items-center h-6 transition-colors hover:text-muted-foreground cursor-pointer">
|
||
|
<File className="w-4 h-4 mr-2" />
|
||
|
index.html
|
||
|
</div>
|
||
|
<div className="w-full flex items-center h-6 transition-colors hover:text-muted-foreground cursor-pointer">
|
||
|
<Folder className="w-4 h-4 mr-2" />
|
||
|
styles
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
)
|
||
|
}
|