"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
const jsx_runtime_1 = require("react/jsx-runtime");
const use_customize_1 = __importDefault(require("lib/use-customize"));
const cocalc_icon_svg_1 = __importDefault(require("public/cocalc-icon.svg"));
const image_1 = __importDefault(require("components/landing/image"));
const alt = "Square CoCalc Logo";
function SquareLogo({ style, priority, }) {
    const { logoSquareURL } = (0, use_customize_1.default)();
    if (!logoSquareURL) {
        return ((0, jsx_runtime_1.jsx)(image_1.default, { alt: alt, src: cocalc_icon_svg_1.default, style: { ...style, maxWidth: "100%" }, priority: priority }));
    }
    return ((0, jsx_runtime_1.jsx)("img", { alt: alt, src: logoSquareURL, style: { ...style, maxWidth: "100%" } }));
}
exports.default = SquareLogo;
//# sourceMappingURL=logo-square.js.map