"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
var jsx_runtime_1 = require("react/jsx-runtime");
var head_1 = __importDefault(require("next/head"));
var customize_1 = require("lib/customize");
var base_path_1 = __importDefault(require("lib/base-path"));
var FAVICON = "/webapp/favicon-32x32.png";
var path_1 = require("path");
function Head(_a) {
    var title = _a.title;
    var siteName = (0, customize_1.useCustomize)().siteName;
    return ((0, jsx_runtime_1.jsxs)(head_1.default, { children: [(0, jsx_runtime_1.jsxs)("title", { children: [siteName, " ", siteName ? "–" : "", " ", title] }), (0, jsx_runtime_1.jsx)("meta", { name: "description", content: "CoCalc landing pages and documentation" }), (0, jsx_runtime_1.jsx)("link", { rel: "icon", href: (0, path_1.join)(base_path_1.default !== null && base_path_1.default !== void 0 ? base_path_1.default : "", FAVICON) })] }));
}
exports.default = Head;
//# sourceMappingURL=head.js.map