import { useTranslation } from "react-i18next"; import { useHistory } from "react-router-dom"; import { Icon, Icons } from "@/components/Icon"; import { BrandPill } from "@/components/layout/BrandPill"; import { WideContainer } from "@/components/layout/WideContainer"; import { conf } from "@/setup/config"; function FooterLink(props: { href?: string; onClick?: () => void; children: React.ReactNode; icon: Icons; }) { return ( {props.children} ); } function Dmca() { const { t } = useTranslation(); const history = useHistory(); return ( history.push("/dmca")}> {t("footer.links.dmca")} ); } export function Footer() { const { t } = useTranslation(); return ( ); } export function FooterView(props: { children: React.ReactNode; className?: string; }) { return (
{props.children}
); }