import { useApp } from "../../../hooks"; import Link from "next/link"; import { ReactNode } from "react"; interface Props { title: ReactNode; text?: ReactNode | string; redirect?: string; children?: ReactNode; } export default function InfoBanner({ title = "Note", text = "", redirect, children }: Props) { const { t } = useApp(); return (