From 70a9a25b46e4588c197a1b585198561872145b02 Mon Sep 17 00:00:00 2001 From: Onat <53895969+onattech@users.noreply.github.com> Date: Wed, 14 Feb 2024 15:10:47 +0400 Subject: [PATCH 1/6] Corrected logo size --- docusaurus.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docusaurus.config.js b/docusaurus.config.js index bfc20e4b64..5cfcf84af9 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -15,7 +15,7 @@ const katex = require("rehype-katex"); const config = { title: "Bittensor", tagline: "Developer Documentation", - favicon: "img/logo.svg", + favicon: "img/favicon.ico", // Set the production url of your site here url: "https://docs.bittensor.com", // Set the // pathname under which your site is served From 469e8408334c4c31d3f7ab5dcd497a9beec4ee8a Mon Sep 17 00:00:00 2001 From: Onat <53895969+onattech@users.noreply.github.com> Date: Wed, 14 Feb 2024 15:22:43 +0400 Subject: [PATCH 2/6] Navbar clean up --- docusaurus.config.js | 2 +- src/css/style.css | 2 +- src/theme/Navbar/Logo/index.js | 3 ++- src/theme/Navbar/Logo/styles.module.css | 3 +++ 4 files changed, 7 insertions(+), 3 deletions(-) create mode 100644 src/theme/Navbar/Logo/styles.module.css diff --git a/docusaurus.config.js b/docusaurus.config.js index 5cfcf84af9..8674b943a4 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -130,7 +130,7 @@ const config = { }, navbar: { - title: "Developer Documentation", + // title: "Developer Documentation", logo: { alt: "Bittensor", src: "img/logo.svg", diff --git a/src/css/style.css b/src/css/style.css index e9963aeb44..2cafffbb07 100644 --- a/src/css/style.css +++ b/src/css/style.css @@ -1050,7 +1050,7 @@ ul { } .navbar__logo { - margin-right: 1rem; + margin-right: 13rem; } /* Components design */ diff --git a/src/theme/Navbar/Logo/index.js b/src/theme/Navbar/Logo/index.js index f0fa51ffad..d33671bf17 100644 --- a/src/theme/Navbar/Logo/index.js +++ b/src/theme/Navbar/Logo/index.js @@ -1,9 +1,10 @@ import React from 'react'; import Logo from '@theme/Logo'; +import styles from './styles.module.css'; export default function NavbarLogo() { return ( diff --git a/src/theme/Navbar/Logo/styles.module.css b/src/theme/Navbar/Logo/styles.module.css new file mode 100644 index 0000000000..719057f440 --- /dev/null +++ b/src/theme/Navbar/Logo/styles.module.css @@ -0,0 +1,3 @@ +.navbar__logo img{ + width: 21px !important; +} \ No newline at end of file From 0f835e65acf0a323578a2c49af2b737f877606c1 Mon Sep 17 00:00:00 2001 From: Onat <53895969+onattech@users.noreply.github.com> Date: Wed, 14 Feb 2024 15:49:18 +0300 Subject: [PATCH 3/6] Update docusaurus.config.js MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: michaτ <96201196+hey-michal@users.noreply.github.com> --- docusaurus.config.js | 1 - 1 file changed, 1 deletion(-) diff --git a/docusaurus.config.js b/docusaurus.config.js index 8674b943a4..eb498f5acf 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -130,7 +130,6 @@ const config = { }, navbar: { - // title: "Developer Documentation", logo: { alt: "Bittensor", src: "img/logo.svg", From b5248777d44e62c6b8cf194650226ea987f0f18f Mon Sep 17 00:00:00 2001 From: Onat <53895969+onattech@users.noreply.github.com> Date: Wed, 14 Feb 2024 15:49:49 +0300 Subject: [PATCH 4/6] Update src/theme/Navbar/Logo/index.js MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: michaτ <96201196+hey-michal@users.noreply.github.com> --- src/theme/Navbar/Logo/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/theme/Navbar/Logo/index.js b/src/theme/Navbar/Logo/index.js index d33671bf17..489d765bbb 100644 --- a/src/theme/Navbar/Logo/index.js +++ b/src/theme/Navbar/Logo/index.js @@ -4,7 +4,7 @@ import styles from './styles.module.css'; export default function NavbarLogo() { return ( From 25d191e04eeaeb1153b268362df4b8e09cae7fd4 Mon Sep 17 00:00:00 2001 From: Onat <53895969+onattech@users.noreply.github.com> Date: Wed, 14 Feb 2024 15:50:17 +0300 Subject: [PATCH 5/6] Update src/theme/Navbar/Logo/styles.module.css MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: michaτ <96201196+hey-michal@users.noreply.github.com> --- src/theme/Navbar/Logo/styles.module.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/theme/Navbar/Logo/styles.module.css b/src/theme/Navbar/Logo/styles.module.css index 719057f440..919d970cd3 100644 --- a/src/theme/Navbar/Logo/styles.module.css +++ b/src/theme/Navbar/Logo/styles.module.css @@ -1,3 +1,3 @@ .navbar__logo img{ width: 21px !important; -} \ No newline at end of file +} From 842b6500e8e82ed10bb01dc71247c752820d456b Mon Sep 17 00:00:00 2001 From: Onat <53895969+onattech@users.noreply.github.com> Date: Wed, 14 Feb 2024 16:56:21 +0400 Subject: [PATCH 6/6] Removed unnecessary class for the logo --- docusaurus.config.js | 2 +- src/theme/Navbar/Logo/index.js | 3 +-- src/theme/Navbar/Logo/styles.module.css | 3 --- 3 files changed, 2 insertions(+), 6 deletions(-) delete mode 100644 src/theme/Navbar/Logo/styles.module.css diff --git a/docusaurus.config.js b/docusaurus.config.js index eb498f5acf..da615dec0c 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -136,7 +136,7 @@ const config = { srcDark: "img/logo-dark-mode.svg", style: { objectFit: "contain", - width: 24, + width: 21, }, }, diff --git a/src/theme/Navbar/Logo/index.js b/src/theme/Navbar/Logo/index.js index 489d765bbb..f0fa51ffad 100644 --- a/src/theme/Navbar/Logo/index.js +++ b/src/theme/Navbar/Logo/index.js @@ -1,10 +1,9 @@ import React from 'react'; import Logo from '@theme/Logo'; -import styles from './styles.module.css'; export default function NavbarLogo() { return ( diff --git a/src/theme/Navbar/Logo/styles.module.css b/src/theme/Navbar/Logo/styles.module.css deleted file mode 100644 index 919d970cd3..0000000000 --- a/src/theme/Navbar/Logo/styles.module.css +++ /dev/null @@ -1,3 +0,0 @@ -.navbar__logo img{ - width: 21px !important; -}