From ce8f79ca4d9a3c093c6e04d5f092adf92bd2ed60 Mon Sep 17 00:00:00 2001 From: Alicia Sykes Date: Sun, 23 Jan 2022 00:30:32 +0000 Subject: [PATCH] :rocket: Adds link to new widgets docs in contents page --- src/pages/docs.js | 77 +++++++++++++++++-------------- static/icons/features_widgets.svg | 1 + 2 files changed, 43 insertions(+), 35 deletions(-) create mode 100644 static/icons/features_widgets.svg diff --git a/src/pages/docs.js b/src/pages/docs.js index 27c1c5cc..cb6be0e2 100644 --- a/src/pages/docs.js +++ b/src/pages/docs.js @@ -23,6 +23,7 @@ import IconContributing from '../../static/icons/docs_contributing.svg'; import IconShowcase from '../../static/icons/docs_showcase.svg'; import IconCredits from '../../static/icons/docs_credits.svg'; import IconAuth from '../../static/icons/docs_authentication.svg'; +import IconWidgets from '../../static/icons/features_widgets.svg'; // import IconCloudSync from '../../static/icons/docs_cloud-sync.svg'; import IconIconography from '../../static/icons/docs_icons.svg'; import IconInternationalization from '../../static/icons/docs_internationalisation.svg'; @@ -99,41 +100,6 @@ const DocsSections = [ }, ] }, - { - section: 'Community', - items: [ - { - title: 'Developing', - description: 'Dashy workflow, and running locally', - link: '/docs/developing', - icon: (), - }, - { - title: 'Dev Guides', - description: 'Common development tasks', - link: '/docs/development-guides', - icon: (), - }, - { - title: 'Contributing', - description: 'How you can help support Dashy\'s development', - link: '/docs/contributing', - icon: (), - }, - { - title: 'Showcase', - description: 'See how others are using Dashy, and share your dashboard', - link: '/docs/showcase', - icon: (), - }, - { - title: 'Credits', - description: 'List of people and projects that have made Dashy possible', - link: '/docs/credits', - icon: (), - }, - ] - }, { section: 'Feature Docs', items: [ @@ -185,6 +151,47 @@ const DocsSections = [ link: '/docs/theming', icon: (), }, + { + title: 'Widgets', + description: 'List of all pre-built and custom widgets supported', + link: '/docs/widgets', + icon: (), + }, + ] + }, + { + section: 'Community', + items: [ + { + title: 'Developing', + description: 'Dashy workflow, and running locally', + link: '/docs/developing', + icon: (), + }, + { + title: 'Dev Guides', + description: 'Common development tasks', + link: '/docs/development-guides', + icon: (), + }, + { + title: 'Contributing', + description: 'How you can help support Dashy\'s development', + link: '/docs/contributing', + icon: (), + }, + { + title: 'Showcase', + description: 'See how others are using Dashy, and share your dashboard', + link: '/docs/showcase', + icon: (), + }, + { + title: 'Credits', + description: 'List of people and projects that have made Dashy possible', + link: '/docs/credits', + icon: (), + }, ] }, { diff --git a/static/icons/features_widgets.svg b/static/icons/features_widgets.svg new file mode 100644 index 00000000..9ada3711 --- /dev/null +++ b/static/icons/features_widgets.svg @@ -0,0 +1 @@ + \ No newline at end of file