feat: add webdav support

This commit is contained in:
Nicolas Meienberger
2025-09-26 19:13:09 +02:00
parent 323312ec7b
commit bc6e6c9700
18 changed files with 523 additions and 141 deletions

View File

@@ -1,5 +1,5 @@
import type { BackendType } from "@ironmount/schemas";
import { Folder, Server, Share2 } from "lucide-react";
import { Cloud, Folder, Server, Share2 } from "lucide-react";
type VolumeIconProps = {
backend: BackendType;
@@ -26,6 +26,12 @@ const getIconAndColor = (backend: BackendType) => {
color: "text-purple-600 dark:text-purple-400",
label: "SMB",
};
case "webdav":
return {
icon: Cloud,
color: "text-green-600 dark:text-green-400",
label: "WebDAV",
};
default:
return {
icon: Folder,