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

View File

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