"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const jsx_runtime_1 = require("react/jsx-runtime");
const uikit_1 = require("@gravity-ui/uikit");
const theme_1 = require("../../gravity-blocks/context/theme/index.js");
const BrandIconDark_1 = require("../../gravity-blocks/icons/BrandIconDark.js");
const BrandIconLight_1 = require("../../gravity-blocks/icons/BrandIconLight.js");
const BrandName_1 = require("../../gravity-blocks/icons/BrandName.js");
const models_1 = require("../../models/index.js");
const utils_1 = require("../../utils/index.js");
const i18n_1 = require("./i18n/index.js");
const b = (0, utils_1.block)('brand-footer');
const BrandFooter = ({ className }) => {
    const theme = (0, theme_1.useTheme)();
    return ((0, jsx_runtime_1.jsx)(uikit_1.Link, { className: b({ theme }, className), href: "https://gravity-ui.com", children: (0, jsx_runtime_1.jsxs)("div", { className: b('content'), children: [(0, jsx_runtime_1.jsx)("span", { children: (0, i18n_1.i18n)('created-on') }), (0, jsx_runtime_1.jsx)("div", { className: b('brand-icon'), children: theme === models_1.Theme.Light ? (0, jsx_runtime_1.jsx)(BrandIconLight_1.BrandIconLight, {}) : (0, jsx_runtime_1.jsx)(BrandIconDark_1.BrandIconDark, {}) }), (0, jsx_runtime_1.jsx)("div", { className: b('brand-name'), children: (0, jsx_runtime_1.jsx)(BrandName_1.BrandName, {}) })] }) }));
};
exports.default = BrandFooter;
//# sourceMappingURL=BrandFooter.js.map
