import React from "react"; import Link from "next/link"; import { FolderX } from "lucide-react"; import { Button } from "@/components/ui/button"; import { Card, CardHeader, CardTitle, CardDescription, CardContent, CardFooter, } from "@/components/ui/card"; /** * ExplorerNotFound * * Used when the backend returns FS_NOT_FOUND for a syntactically valid route. * This can happen when the NAS structure changed after the user navigated. * * @param {{ * title?: string, * description?: string, * upHref?: string|null, * branchRootHref?: string|null * }} props */ export default function ExplorerNotFound({ title = "Nicht gefunden", description = "Dieser Pfad existiert nicht (mehr). Bitte wählen Sie eine andere Ebene.", upHref = null, branchRootHref = null, }) { return ( {description} Dies kann passieren, wenn Ordner auf dem NAS verschoben oder gelöscht wurden. {upHref ? ( ) : null} {branchRootHref ? ( ) : null} ); }