import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
import { openUrl, useCookieBanner } from "@powerhousedao/connect";
import { Footer as DesignSystemFooter, FooterLink, Icon, } from "@powerhousedao/design-system";
import { showPHModal } from "@powerhousedao/reactor-browser";
import { Trans } from "react-i18next";
export const Footer = () => {
    const [, setShowCookieBanner] = useCookieBanner();
    return (_jsxs(DesignSystemFooter, { children: [_jsx(FooterLink, { onClick: () => {
                    setShowCookieBanner(true);
                }, children: _jsx(Trans, { i18nKey: "footer.cookiePolicy" }) }), _jsx(FooterLink, { onClick: () => showPHModal({ type: "disclaimer" }), children: _jsx(Trans, { i18nKey: "footer.disclaimer" }) }), _jsx(FooterLink, { id: "ph-logo-link", onClick: () => openUrl("https://www.powerhouse.inc/"), children: _jsx(Trans, { i18nKey: "footer.builtWith", components: {
                        icon: (_jsx(Icon, { name: "PowerhouseLogoSmall", size: 16, className: "mx-1" })),
                    } }) })] }));
};
//# sourceMappingURL=footer.js.map