diff --git a/components/files/file-browser.tsx b/components/files/file-browser.tsx
index 8a47b7d32..b9cdcb867 100644
--- a/components/files/file-browser.tsx
+++ b/components/files/file-browser.tsx
@@ -11,7 +11,7 @@ import {
AlertCircle, Star, Clock, FolderUp,
FileArchive, FileSpreadsheet, Presentation, FileCode,
Box, PenTool, Terminal as TerminalIcon, Database, Type as TypeIcon,
- Menu, Users, Share2, SquarePen,
+ Menu, Users, Share2, SquarePen, Link,
} from "@/components/icons";
import { useIsDesktop } from "@/hooks/use-media-query";
import { Button } from "@/components/ui/button";
@@ -239,17 +239,28 @@ function getFileIconByName(name: string, size: "sm" | "lg") {
return ;
}
-function getFileIcon(resource: FileResource) {
+// A symlink's icon, whatever its name suggests: it has no content to open.
+function SymlinkIcon({ className, label }: { className: string; label: string }) {
+ return (
+
+