{"componentChunkName":"component---src-templates-simple-markdown-js","path":"/developer-portal/logo/","matchPath":"","result":{"data":{"markdownRemark":{"html":"<h1 style=\"position:relative;\"><a href=\"#change-your-logo\" aria-label=\"change your logo permalink\" class=\"anchor before\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a><div class=\"hidden-anchor\" id=\"change-your-logo\"></div>Change your logo</h1>\n<h2 style=\"position:relative;\"><a href=\"#add-your-logo\" aria-label=\"add your logo permalink\" class=\"anchor before\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a><div class=\"hidden-anchor\" id=\"add-your-logo\"></div>Add your logo</h2>\n<p>To display your logo in the navbar, overwrite the existing image at <code class=\"language-text\">./images/logo.png</code>.</p>\n<h2 style=\"position:relative;\"><a href=\"#adjust-siteconfig\" aria-label=\"adjust siteconfig permalink\" class=\"anchor before\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a><div class=\"hidden-anchor\" id=\"adjust-siteconfig\"></div>Adjust siteConfig</h2>\n<p>The <code class=\"language-text\">siteConfig.yaml</code> file defines the path to the logo.</p>\n<div class=\"code-wrapper\">\n        <div class=\"gatsby-code-button-container\"\n             data-toaster-id=\"11700815259476683000\"\n             data-toaster-duration=\"1500\"\n             onClick=\"copyCodeToClipboard(`logo: ./images/logo.png`, `11700815259476683000`)\"\n        >\n          <div class=\"gatsby-code-button\" title=\"Copy the code snippet\">Copy</div>\n          <div class=\"done-indicator done-indicator-11700815259476683000\">Copied</div>\n        </div>\n        <div class=\"gatsby-highlight\" data-language=\"yaml\"><pre class=\"language-yaml\"><code class=\"language-yaml\"><span class=\"token key atrule\">logo</span><span class=\"token punctuation\">:</span> ./images/logo.png</code></pre></div>\n      </div>\n<p>You must adjust this setting if your custom logo has a different file name or path.</p>\n<h2 style=\"position:relative;\"><a href=\"#adjust-logo-size\" aria-label=\"adjust logo size permalink\" class=\"anchor before\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a><div class=\"hidden-anchor\" id=\"adjust-logo-size\"></div>Adjust logo size</h2>\n<p>To change the logo image size, you must add the <code class=\"language-text\">logo</code> object to <code class=\"language-text\">./theme.ts</code>:</p>\n<div class=\"code-wrapper\">\n        <div class=\"gatsby-code-button-container\"\n             data-toaster-id=\"98391892938513940000\"\n             data-toaster-duration=\"1500\"\n             onClick=\"copyCodeToClipboard(`logo: {\n  height: \\\\`50px\\\\`,\n  margin: \\\\`10px 0\\\\`,\n  maxHeight: \\\\`100%\\\\`,\n  maxWidth: \\\\`120%\\\\`,\n},`, `98391892938513940000`)\"\n        >\n          <div class=\"gatsby-code-button\" title=\"Copy the code snippet\">Copy</div>\n          <div class=\"done-indicator done-indicator-98391892938513940000\">Copied</div>\n        </div>\n        <div class=\"gatsby-highlight\" data-language=\"ts\"><pre class=\"language-ts\"><code class=\"language-ts\">logo<span class=\"token operator\">:</span> <span class=\"token punctuation\">{</span>\n  height<span class=\"token operator\">:</span> <span class=\"token template-string\"><span class=\"token template-punctuation string\">`</span><span class=\"token string\">50px</span><span class=\"token template-punctuation string\">`</span></span><span class=\"token punctuation\">,</span>\n  margin<span class=\"token operator\">:</span> <span class=\"token template-string\"><span class=\"token template-punctuation string\">`</span><span class=\"token string\">10px 0</span><span class=\"token template-punctuation string\">`</span></span><span class=\"token punctuation\">,</span>\n  maxHeight<span class=\"token operator\">:</span> <span class=\"token template-string\"><span class=\"token template-punctuation string\">`</span><span class=\"token string\">100%</span><span class=\"token template-punctuation string\">`</span></span><span class=\"token punctuation\">,</span>\n  maxWidth<span class=\"token operator\">:</span> <span class=\"token template-string\"><span class=\"token template-punctuation string\">`</span><span class=\"token string\">120%</span><span class=\"token template-punctuation string\">`</span></span><span class=\"token punctuation\">,</span>\n<span class=\"token punctuation\">}</span><span class=\"token punctuation\">,</span></code></pre></div>\n      </div>\n<p>The <code class=\"language-text\">logo</code> object controls how the logo image scales within the navbar.\nNote that modifying these options may result in distortion of the logo image.\nChanging the logo image height also affects the total height of the navbar.\nYou can read more about <a href=\"https://redoc.ly/docs/developer-portal/theme/\">theme customization</a> in the documentation.</p>\n<h2 style=\"position:relative;\"><a href=\"#adjust-favicon\" aria-label=\"adjust favicon permalink\" class=\"anchor before\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a><div class=\"hidden-anchor\" id=\"adjust-favicon\"></div>Adjust favicon</h2>\n<p>You can also overwrite the <code class=\"language-text\">./favicon.png</code> file.</p>","headings":[{"value":"Change your logo","depth":1},{"value":"Add your logo","depth":2},{"value":"Adjust siteConfig","depth":2},{"value":"Adjust logo size","depth":2},{"value":"Adjust favicon","depth":2}]},"contentItem":{"data":{"lastModified":"2023-03-21T02:46:22.000Z","enableToc":null,"disableLastModified":null,"tocMaxDepth":null,"requestLogin":false}},"siteConfig":{"enableToc":false,"disableLastModified":false,"tocMaxDepth":4}},"pageContext":{"matchPath":"","id":"696671b5-5869-5a77-8112-9912a1af0bdb__redocly content/developer-portal/logo/","seo":{"title":"Change your logo","description":null,"image":"","keywords":null,"jsonLd":null,"lang":null,"siteUrl":null},"pageId":"developer-portal/logo.md","pageBaseUrl":"/developer-portal/logo","type":"markdown","toc":{"enable":true,"maxDepth":4,"headings":[{"depth":1,"value":"Change your logo","id":"change-your-logo"},{"depth":2,"value":"Add your logo","id":"add-your-logo"},{"depth":2,"value":"Adjust siteConfig","id":"adjust-siteconfig"},{"depth":2,"value":"Adjust logo size","id":"adjust-logo-size"},{"depth":2,"value":"Adjust favicon","id":"adjust-favicon"}]},"data":{"title":""},"catalogInfo":null,"link":"/developer-portal/logo/","sidebarName":"","isLanding":false,"showPrevButton":null,"showNextButton":null,"apiVersions":null,"apiVersionId":null,"isDefaultApiVersion":null}},"staticQueryHashes":["1123603147","1302185487","1344209882","1398840060","1520077861","1975142765","2667623876","2950305614","3240152602","3743992808","561138138"]}