From 170b7384bfdcd049e3887830700d3188284b58ba Mon Sep 17 00:00:00 2001 From: Meng Zhang Date: Fri, 27 Oct 2023 12:07:58 -0700 Subject: [PATCH] docs: update website logo --- website/docusaurus.config.js | 13 +++++++++++-- website/src/css/custom.css | 8 ++++++++ website/static/img/logo.png | 4 ++-- 3 files changed, 21 insertions(+), 4 deletions(-) diff --git a/website/docusaurus.config.js b/website/docusaurus.config.js index d369bdcda617..be7f23298617 100644 --- a/website/docusaurus.config.js +++ b/website/docusaurus.config.js @@ -32,6 +32,16 @@ const config = { locales: ['en'], }, + headTags: [ + { + tagName: 'link', + attributes: { + href: 'https://fonts.googleapis.com/css?family=Azeret Mono', + rel: 'stylesheet' + } + } + ], + presets: [ [ 'docusaurus-preset-openapi', @@ -65,8 +75,7 @@ const config = { ({ image: 'img/tabby-social-card.png', navbar: { - title: 'Tabby', - logo: { + logo: { alt: 'Tabby', src: 'img/logo.png', }, diff --git a/website/src/css/custom.css b/website/src/css/custom.css index 7aa526de3241..c81c69723ae5 100644 --- a/website/src/css/custom.css +++ b/website/src/css/custom.css @@ -83,3 +83,11 @@ .Playground .monaco-editor { padding-top: 15px; } + +.navbar__logo { + height: 28px; +} + +.hero__title { + font-family: 'Azeret Mono'; +} \ No newline at end of file diff --git a/website/static/img/logo.png b/website/static/img/logo.png index 47fec2dc6527..c01187fc7ba5 100644 --- a/website/static/img/logo.png +++ b/website/static/img/logo.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:e1b1a7f384900adf856c42551b6792f161afcdddac6f27c56c7b393e6ccc93b5 -size 237482 +oid sha256:39353dcf87494d749240d826fb90a87278231f9636da674ce0e7407c5196b713 +size 46528