From 123ca9f74ea16b91f2122e55e6a644654fb4010a Mon Sep 17 00:00:00 2001 From: Alicia Sykes Date: Mon, 23 Aug 2021 23:08:50 +0100 Subject: [PATCH] :paperclip: Adds footer text --- docusaurus.config.js | 72 +++++++++++++++++++++++++++++++++++--------- 1 file changed, 57 insertions(+), 15 deletions(-) diff --git a/docusaurus.config.js b/docusaurus.config.js index 9ee33097..7a4d4ce9 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -1,6 +1,14 @@ const lightCodeTheme = require('prism-react-renderer/themes/github'); const darkCodeTheme = require('prism-react-renderer/themes/dracula'); +const licenseUrl = 'https://github.com/Lissy93/dashy/blob/master/LICENSE'; +const aliciaUrl = 'https://aliciasykes.com'; +const dashyUrl = 'https://dashy.to'; + +const footerText = `Dashy - The Self-Hosted Dashboard for your Homelab` + + `
License under MIT. ` + + `Copyright © ${new Date().getFullYear()} Alicia Sykes`; + /** @type {import('@docusaurus/types').DocusaurusConfig} */ module.exports = { title: 'Dashy', @@ -28,29 +36,63 @@ module.exports = { style: 'dark', links: [ { - title: 'Docs', + title: 'Intro', items: [ - { - label: 'Tutorial', - to: '/docs/intro', - }, + { label: 'GitHub', to: 'https://github.com/lissy93/dashy' }, + { label: 'Live Demo', to: 'https://demo.dashy.to' }, + { label: 'Quick Start', to: '/docs/quick-start' }, + { label: 'Documentation', to: '/docs' }, ], }, { - title: 'More', + title: 'Setup Guide', items: [ - { - label: 'Docs', - to: '/docs', - }, - { - label: 'GitHub', - href: 'https://github.com/lissy93/dashy', - }, + { label: 'Deploying', to: '/docs/deployment' }, + { label: 'Configuring', to: '/docs/configuring' }, + { label: 'Management', to: '/docs/management' }, + { label: 'Troubleshooting', to: '/docs/troubleshooting' }, + ], + }, + { + title: 'Feature Docs Pt 1', + items: [ + { label: 'Authentication', to: '/docs/deployment' }, + { label: 'Alternate Views', to: '/docs/configuring' }, + { label: 'Backup & Restore', to: '/docs/management' }, + { label: 'Icons', to: '/docs/troubleshooting' }, + ], + }, + { + title: 'Feature Docs Pt 2', + items: [ + { label: 'Language Switching', to: '/docs/troubleshooting' }, + { label: 'Status Indicators', to: '/docs/troubleshooting' }, + { label: 'Searching & Shortcuts', to: '/docs/troubleshooting' }, + { label: 'Theming', to: '/docs/troubleshooting' }, + ], + }, + { + title: 'Developing & Community', + items: [ + { label: 'Developing', to: '/docs/deployment' }, + { label: 'Development Guides', to: '/docs/configuring' }, + { label: 'Contributing', to: '/docs/management' }, + { label: 'Showcase', to: '/docs/troubleshooting' }, + { label: 'Credits', to: '/docs/troubleshooting' }, + ], + }, + { + title: 'Misc', + items: [ + { label: 'Privacy & Security', to: '/docs/deployment' }, + { label: 'License', to: '/docs/configuring' }, + { label: 'Legal', to: '/docs/management' }, + { label: 'Code of Conduct', to: '/docs/troubleshooting' }, + { label: 'Changelog', to: '/docs/troubleshooting' }, ], }, ], - copyright: `Copyright © ${new Date().getFullYear()} Alicia Sykes`, + copyright: footerText, }, prism: { theme: lightCodeTheme,