import SadWumpusPic from "@/public/sad-wumpus.gif"; import { cn } from "@/utils/cn"; import Image from "next/image"; import Link from "next/link"; import { BsDiscord } from "react-icons/bs"; import { HiHome } from "react-icons/hi"; import { Button } from "./ui/button"; interface Props { title?: string; description?: string; top?: string; icon?: React.ReactNode; button?: string; href?: string; buttons?: React.ReactNode; children?: React.ReactNode; } export function ScreenMessage({ title, description, top = "30vh", icon, button, href, buttons = (<> ), children = }: Props) { return (
{children && (
{children}
)}

{title || "Something strange happened..."}

{description || "Some error has occurred, but no worries, we're fixing it!"}

{button && href &&
} {buttons && (
{buttons}
)}
); } export function HomeButton() { return ( ); } export function AddButton() { return ( ); } export function SupportButton() { return ( ); }