Fix broken links for SSR

This commit is contained in:
Alicia Sykes 2021-08-29 19:31:35 +01:00
parent 363edb3704
commit 0c0a5828fe
5 changed files with 12 additions and 12 deletions

View File

@ -20,7 +20,7 @@ Dashy now has a [Showcase](https://github.com/Lissy93/dashy/blob/master/docs/sho
## Improve the Docs ## Improve the Docs
Found a typo, or something that isn't as clear as it could be? Maybe I've missed something off altogether, or you hit a roadblock that took you a while to figure out. Submitting a pull request to add to or improve the documentation will help future users get Dashy up and running more easily. Found a typo, or something that isn't as clear as it could be? Maybe I've missed something off altogether, or you hit a roadblock that took you a while to figure out. Submitting a pull request to add to or improve the documentation will help future users get Dashy up and running more easily.
All content is located either in the [`./README.md`](/README) or [`/docs/`](/docs) directory, and synced to the Wiki and website using a GH [action](/actions/workflows/wiki-sync.yml). All content is located either in the README or [`/docs/`](/docs) directory, and synced to the Wiki and website using a GH action (workflows/wiki-sync.yml).
## Raise a bug ## Raise a bug
If you've found a bug, then please do raise it as an issue. This will help me know if there's something that needs fixing. Try and include as much detail as possible, such as your environment, steps to reproduce, any console output and maybe an example screenshot or recording if necessary. If you've found a bug, then please do raise it as an issue. This will help me know if there's something that needs fixing. Try and include as much detail as possible, such as your environment, steps to reproduce, any console output and maybe an example screenshot or recording if necessary.

View File

@ -123,6 +123,6 @@ Then edit `./public/conf.yml` and rebuild the app with `yarn build`
Don't have a server? No problem! You can run Dashy for free on Netlify (as well as many [other cloud providers](/docs/deployment#deploy-to-cloud-service)). All you need it a GitHub account. Don't have a server? No problem! You can run Dashy for free on Netlify (as well as many [other cloud providers](/docs/deployment#deploy-to-cloud-service)). All you need it a GitHub account.
1. Fork Dashy's repository on GitHub 1. Fork Dashy's repository on GitHub
2. [Log in](app.netlify.com/login/) to Netlify with GitHub 2. [Log in](https://app.netlify.com/login/) to Netlify with GitHub
3. Click "New site from Git" and select your forked repo, then click **Deploy**! 3. Click "New site from Git" and select your forked repo, then click **Deploy**!
4. You can then edit the config in `./public/conf.yml` in your repo, and Netlify will rebuild the app 4. You can then edit the config in `./public/conf.yml` in your repo, and Netlify will rebuild the app

View File

@ -26,7 +26,7 @@
### Misc ### Misc
- [Privacy & Security](/docs/privacy) - List of requests, potential issues, and security resources - [Privacy & Security](/docs/privacy) - List of requests, potential issues, and security resources
- [License](/LICENSE) - Copy of the MIT License - [License](/docs/license) - Copy of the MIT License
- [Legal](/.github/LEGAL) - Licenses of direct dependencies - [Legal](https://github.com/Lissy93/dashy/blob/master/.github/LEGAL.md) - Licenses of direct dependencies
- [Code of Conduct](/.github/CODE_OF_CONDUCT) - Contributor Covenant Code of Conduct - [Code of Conduct](/docs/code-of-conduct) - Contributor Covenant Code of Conduct
- [Changelog](/.github/CHANGELOG) - Details of recent changes, and historical versions - [Changelog](/docs/changelog) - Details of recent changes, and historical versions

View File

@ -39,7 +39,7 @@ export default function HomepageHeader() {
{!showMore ? 'Keep Reading...' : 'Show Less'} {!showMore ? 'Keep Reading...' : 'Show Less'}
</span> </span>
</div> </div>
{(!showMore && document.body.scrollTop === 0) && {(!showMore) &&
<a href="#go-down" className={styles.scrollDown} id="go-down"> <a href="#go-down" className={styles.scrollDown} id="go-down">
<IconDownArrow className={styles.scrollDownIcon} /> <IconDownArrow className={styles.scrollDownIcon} />
<span className={styles.scrollDownText}>Feature List</span> <span className={styles.scrollDownText}>Feature List</span>

View File

@ -28,7 +28,7 @@ const FeatureList = [
), ),
link: '/docs/theming', link: '/docs/theming',
icon: (<IconThemes />), icon: (<IconThemes />),
demo: '../../static/img/homepage-assets/theme-slideshow.gif', demo: '/img/homepage-assets/theme-slideshow.gif',
}, },
{ {
title: 'Icons', title: 'Icons',
@ -53,7 +53,7 @@ const FeatureList = [
), ),
link: '/docs/status-indicators', link: '/docs/status-indicators',
icon: (<IconStatusIndicators />), icon: (<IconStatusIndicators />),
demo: '../../static/img/homepage-assets/status-check-demo.gif', demo: '/img/homepage-assets/status-check-demo.gif',
}, },
{ {
title: 'Authentication', title: 'Authentication',
@ -78,7 +78,7 @@ const FeatureList = [
), ),
link: '/docs/alternate-views', link: '/docs/alternate-views',
icon: (<IconOpeningMethods />), icon: (<IconOpeningMethods />),
demo: '../../static/img/homepage-assets/workspace-demo.gif', demo: '/img/homepage-assets/workspace-demo.gif',
}, },
{ {
title: 'Launching Methods', title: 'Launching Methods',
@ -105,7 +105,7 @@ const FeatureList = [
), ),
link: '/docs/searching', link: '/docs/searching',
icon: (<IconShortcuts />), icon: (<IconShortcuts />),
demo: '../../static/img/homepage-assets/searching-demo.gif', demo: '/img/homepage-assets/searching-demo.gif',
}, },
{ {
title: 'Cloud Backup & Sync', title: 'Cloud Backup & Sync',
@ -130,7 +130,7 @@ const FeatureList = [
), ),
link: '/docs/configuring', link: '/docs/configuring',
icon: (<IconUiConfig />), icon: (<IconUiConfig />),
demo: '../../static/img/homepage-assets/config-editor-demo.gif', demo: '/img/homepage-assets/config-editor-demo.gif',
}, },
{ {
title: 'Multi-Language Support', title: 'Multi-Language Support',