move troubleshooting to help screen (#518)

* move troubleshooting to help screen

* change application to FAQ

* update faq icon and description
This commit is contained in:
Seishirou101 2021-01-27 09:28:41 +00:00 committed by GitHub
parent 7a88de167e
commit 89d0520fb5
2 changed files with 16 additions and 16 deletions

View File

@ -15,12 +15,12 @@
<div v-for="(helpItem, index) in data.help" :key="index" class="column helpItem">
<a v-if="helpItem.link" :href="helpItem.link" tabindex="1">
<div class="card" :class="'card__' + helpItem.title">
<header v-if="helpItem.faqApp">
<CellphoneAndroidIcon />
<header v-if="helpItem.faq">
<FaqIcon />
<h3>{{ helpItem.title }}</h3>
</header>
<header v-else-if="helpItem.faqExt">
<PuzzleIcon />
<header v-else-if="helpItem.fixProblems">
<ClipboardSearchIcon />
<h3>{{ helpItem.title }}</h3>
</header>
<header v-else-if="helpItem.guides">
@ -91,27 +91,27 @@
import Navbar from "@theme/components/Navbar.vue";
import AlgoliaSearchBox from "@theme/components/AlgoliaSearchBox.vue";
import CellphoneAndroidIcon from "vue-material-design-icons/CellphoneAndroid.vue";
import ClipboardListIcon from "vue-material-design-icons/ClipboardList.vue";
import SourceForkIcon from "vue-material-design-icons/SourceFork.vue";
import PuzzleIcon from "vue-material-design-icons/Puzzle.vue";
import DiscordIcon from "vue-material-design-icons/Discord.vue";
import RedditIcon from "vue-material-design-icons/Reddit.vue";
import GithubIcon from "vue-material-design-icons/Github.vue";
import LifebuoyIcon from "vue-material-design-icons/Lifebuoy.vue";
import ClipboardSearchIcon from 'vue-material-design-icons/ClipboardSearch.vue';
import FaqIcon from 'vue-material-design-icons/FrequentlyAskedQuestions.vue';
export default {
components: {
Navbar,
AlgoliaSearchBox,
CellphoneAndroidIcon,
ClipboardListIcon,
SourceForkIcon,
PuzzleIcon,
DiscordIcon,
RedditIcon,
GithubIcon,
LifebuoyIcon,
ClipboardSearchIcon,
FaqIcon,
},
computed: {

View File

@ -5,14 +5,14 @@ description: From common questions to guides, find help for everything Tachiyomi
lang: en-US
hideSearch: true
help:
- title: Application
description: Frequently asked questions
link: /help/faq/#application
faqApp: true
- title: Extensions
description: Frequently asked questions
link: /help/faq/#extensions
faqExt: true
- title: FAQ
description: About app-related things
link: /help/faq/
faq: true
- title: Troubleshooting
description: Fix common issues
link: /help/guides/troubleshooting-problems/
fixProblems: true
- title: Guides
description: Extensive guides written for you
link: /help/guides/getting-started/