"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 = "Rectangular CoCalc Logo";
function RectangularLogo({ style, }) {
    const { logoRectangularURL } = (0, use_customize_1.default)();
    if (!logoRectangularURL) {
        return ((0, jsx_runtime_1.jsx)(image_1.default, { alt: alt, src: cocalc_icon_svg_1.default, style: { ...style, maxWidth: "100%" } }));
    }
    return ((0, jsx_runtime_1.jsx)("img", { alt: alt, src: logoRectangularURL, style: { ...style, maxWidth: "100%" } }));
}
exports.default = RectangularLogo;
//# sourceMappingURL=logo-rectangular.js.map