import { Anchor, AppShellMain, Center, Flex, Group, Image, Text, Title } from "@mantine/core"; import type { TablerIcon } from "@homarr/ui"; import { fullHeightWithoutHeaderAndFooter } from "~/constants"; import { MainHeader } from "../layout/header"; import { HomarrLogoWithTitle } from "../layout/logo/homarr-logo"; import { ClientShell } from "../layout/shell"; export interface BoardNotFoundProps { icon: TablerIcon | { src: string; alt: string }; title: string; description: string; link: { label: string; href: string; }; notice: string; } export const BoardNotFound = ({ icon: Icon, title, description, link, notice }: BoardNotFoundProps) => { return ( } hasNavigation={false} />
{"src" in Icon ? {Icon.alt} : } {title} {description} {link.label} {notice}
); };