From ae5ade2261bd2f5adac7f8a7d0892727018563cd Mon Sep 17 00:00:00 2001 From: nuxnik <17590223+nuxnik@users.noreply.github.com> Date: Thu, 3 Feb 2022 21:50:07 +0100 Subject: [PATCH 1/3] Added social links to the footer --- docusaurus.config.js | 23 +++++++++++++++++++++++ src/css/custom.css | 18 ++++++++++++++++++ 2 files changed, 41 insertions(+) diff --git a/docusaurus.config.js b/docusaurus.config.js index bea49df2..c8b771f4 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -93,6 +93,29 @@ const config = { }, footer: { copyright: `Powered by ▲ Vercel | Meshtastic® is a registered trademark of Geeksville Industries LLC`, + links: [ + { + //title: 'Social', + items: [ + { + label: 'YouTube', + to: 'https://www.youtube.com/meshtastic', + }, + { + label: 'Discord', + to: 'https://discord.com/invite/UQJ5QuM7vq', + }, + { + label: 'GitHub', + to: 'https://github.com/meshtastic', + }, + { + label: 'Forum', + to: 'https://meshtastic.discourse.group', + }, + ], + }, + ], }, algolia: { apiKey: "01ad7e13d3fe392d2ad26da3c69dbc21", diff --git a/src/css/custom.css b/src/css/custom.css index b42adbc1..5a97923c 100644 --- a/src/css/custom.css +++ b/src/css/custom.css @@ -50,3 +50,21 @@ html[data-theme="dark"] .header-github-link:before { box-shadow: 0 0 0 0 rgba(0, 0, 0, 0); } } + +.footer__items { + width: 1000px; + text-align: center; + font-weight: bold; +} + +.footer__item { + display: inline; + list-style-type: none; + line-height: 44px; +} + +.footer__item ~ .footer__item::before { + content: ' | '; + padding: 0 15px; +} + From a560aba4aa43869f0f5b15d8bf998b1798fb9e60 Mon Sep 17 00:00:00 2001 From: nuxnik <17590223+nuxnik@users.noreply.github.com> Date: Thu, 3 Feb 2022 22:44:09 +0100 Subject: [PATCH 2/3] trigger vercel --- README.md | 1 - 1 file changed, 1 deletion(-) diff --git a/README.md b/README.md index c1717a7c..338483e2 100644 --- a/README.md +++ b/README.md @@ -27,7 +27,6 @@

- ## What is Meshtastic? From e39a1e9e88ed21d2253fe2c84fca36ae4affb196 Mon Sep 17 00:00:00 2001 From: nuxnik <17590223+nuxnik@users.noreply.github.com> Date: Sat, 5 Feb 2022 15:23:56 +0100 Subject: [PATCH 3/3] Added extra links and removed modified CSS --- docusaurus.config.js | 53 +++++++++++++++++++++++++++++++++++++++----- src/css/custom.css | 18 --------------- 2 files changed, 48 insertions(+), 23 deletions(-) diff --git a/docusaurus.config.js b/docusaurus.config.js index c8b771f4..430fc61e 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -95,7 +95,28 @@ const config = { copyright: `Powered by ▲ Vercel | Meshtastic® is a registered trademark of Geeksville Industries LLC`, links: [ { - //title: 'Social', + title: 'Learn', + items: [ + { + label: 'Getting Started', + to: 'docs/getting-started', + }, + { + label: 'About', + to: 'docs/about-documentation', + }, + { + label: 'Hardware', + to: 'docs/hardware', + }, + { + label: 'Settings', + to: 'docs/settings', + }, + ], + }, + { + title: 'Community', items: [ { label: 'YouTube', @@ -105,16 +126,38 @@ const config = { label: 'Discord', to: 'https://discord.com/invite/UQJ5QuM7vq', }, - { - label: 'GitHub', - to: 'https://github.com/meshtastic', - }, { label: 'Forum', to: 'https://meshtastic.discourse.group', }, ], }, + { + title: 'Legal', + items: [ + { + label: 'Privacy', + to: 'docs/legal/privacy', + }, + { + label: 'Licensing', + to: 'docs/legal/licensing', + }, + { + label: 'Trademark', + to: 'docs/legal/trademark', + }, + ], + }, + { + title: 'Resources', + items: [ + { + label: 'GitHub', + to: 'https://github.com/meshtastic', + }, + ], + }, ], }, algolia: { diff --git a/src/css/custom.css b/src/css/custom.css index 5a97923c..b42adbc1 100644 --- a/src/css/custom.css +++ b/src/css/custom.css @@ -50,21 +50,3 @@ html[data-theme="dark"] .header-github-link:before { box-shadow: 0 0 0 0 rgba(0, 0, 0, 0); } } - -.footer__items { - width: 1000px; - text-align: center; - font-weight: bold; -} - -.footer__item { - display: inline; - list-style-type: none; - line-height: 44px; -} - -.footer__item ~ .footer__item::before { - content: ' | '; - padding: 0 15px; -} -