😵 Things and stuff

This commit is contained in:
Alicia Sykes 2021-08-23 23:09:54 +01:00
parent 926c71d630
commit 81dda59849
1 changed files with 15 additions and 14 deletions
src/pages

View File

@ -33,25 +33,25 @@ const DocsLinks = [
{ {
title: 'Deployment', title: 'Deployment',
description: 'Getting Dashy up and running', description: 'Getting Dashy up and running',
link: '', link: '/docs/deployment',
icon: (<IconDeploy />), icon: (<IconDeploy />),
}, },
{ {
title: 'Configuring', title: 'Configuring',
description: 'All Config Options', description: 'All Config Options',
link: '', link: '/docs/configuring',
icon: (<IconUiConfig />), icon: (<IconUiConfig />),
}, },
{ {
title: 'Management', title: 'Management',
description: 'Updating, security, web server configuration, etc', description: 'Updating, security, web server configuration, etc',
link: '', link: '/docs/management',
icon: (<IconManagement />), icon: (<IconManagement />),
}, },
{ {
title: 'Troubleshooting', title: 'Troubleshooting',
description: 'Solutions to Common Issues', description: 'Solutions to Common Issues',
link: '', link: '/docs/troubleshooting',
icon: (<IconTroubleshooting />), icon: (<IconTroubleshooting />),
}, },
]; ];
@ -63,25 +63,25 @@ const DocsSections = [
{ {
title: 'Deployment', title: 'Deployment',
description: 'Getting Dashy up and running', description: 'Getting Dashy up and running',
link: '', link: '/docs/deployment',
icon: (<IconDeploy />), icon: (<IconDeploy />),
}, },
{ {
title: 'Configuring', title: 'Configuring',
description: 'All Config Options', description: 'All Config Options',
link: '', link: '/docs/configuring',
icon: (<IconUiConfig />), icon: (<IconUiConfig />),
}, },
{ {
title: 'Management', title: 'Management',
description: 'Updating, security, web server configuration, etc', description: 'Updating, security, web server configuration, etc',
link: '', link: '/docs/management',
icon: (<IconManagement />), icon: (<IconManagement />),
}, },
{ {
title: 'Troubleshooting', title: 'Troubleshooting',
description: 'Solutions to Common Issues', description: 'Solutions to Common Issues',
link: '', link: '/docs/troubleshooting',
icon: (<IconTroubleshooting />), icon: (<IconTroubleshooting />),
}, },
] ]
@ -92,7 +92,7 @@ const DocsSections = [
{ {
title: 'Developing', title: 'Developing',
description: 'Dashy workflow, and running locally', description: 'Dashy workflow, and running locally',
link: '', link: '/docs/developing',
icon: (<IconDeveloping />), icon: (<IconDeveloping />),
}, },
{ {
@ -104,19 +104,19 @@ const DocsSections = [
{ {
title: 'Contributing', title: 'Contributing',
description: 'How you can help support Dashy\'s development', description: 'How you can help support Dashy\'s development',
link: '', link: '/docs/contributing',
icon: (<IconContributing />), icon: (<IconContributing />),
}, },
{ {
title: 'Showcase', title: 'Showcase',
description: 'See how others are using Dashy, and share your dashboard', description: 'See how others are using Dashy, and share your dashboard',
link: '', link: '/docs/showcase',
icon: (<IconShowcase />), icon: (<IconShowcase />),
}, },
{ {
title: 'Credits', title: 'Credits',
description: 'List of people and projects that have made Dashy possible', description: 'List of people and projects that have made Dashy possible',
link: '', link: '/docs/credits',
icon: (<IconCredits />), icon: (<IconCredits />),
}, },
] ]
@ -127,13 +127,13 @@ const DocsSections = [
{ {
title: 'Authentication', title: 'Authentication',
description: 'Configure login and user control', description: 'Configure login and user control',
link: '', link: '/docs/authentication',
icon: (<IconAuth />), icon: (<IconAuth />),
}, },
{ {
title: 'Backup & Restore', title: 'Backup & Restore',
description: 'Cloud Sync, usage and background', description: 'Cloud Sync, usage and background',
link: '', link: '/docs/deployment',
icon: (<IconCloudSync />), icon: (<IconCloudSync />),
}, },
{ {
@ -166,6 +166,7 @@ const DocsSections = [
function DocsLink({ title, description, icon, link, index }) { function DocsLink({ title, description, icon, link, index }) {
const color = getColor(index); const color = getColor(index);
console.log(link);
return ( return (
<Button to={link} className="docs-link" color={color}> <Button to={link} className="docs-link" color={color}>
<div className="row1"> <div className="row1">