Skip to content

Commit

Permalink
FAQs Categories components added
Browse files Browse the repository at this point in the history
  • Loading branch information
hsurf22 committed Aug 17, 2018
1 parent e7a033e commit d0995b0
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
11 changes: 8 additions & 3 deletions src/layouts/HelpCenterLayout/HelpCenterLayout.vue
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@
<span v-on:click="openFAQs = false, openCategories = true" :class="openCategories ? 'active' : ''">Categories</span>
</div>
<div v-if="openFAQs">
FAQ
<faqs />
</div>
<div v-if="openCategories">
Categories
<categories />
</div>
</div>
</div>
Expand All @@ -24,9 +24,14 @@

<script>
import KeywordSearch from './components/KeywordSearch'
import FAQs from './components/FAQs'
import Categories from './components/Categories'
export default {
components: {
'keyword-search': KeywordSearch
'keyword-search': KeywordSearch,
'faqs': FAQs,
'categories': Categories
},
data () {
return {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<template>
<div class="categories">
<div class="wrap">

categories
</div>
</div>
</template>
Expand Down
2 changes: 1 addition & 1 deletion src/layouts/HelpCenterLayout/components/FAQs/FAQs.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<template>
<div class="faqs">
<div class="wrap">

faqs
</div>
</div>
</template>
Expand Down

1 comment on commit d0995b0

@mew-bot
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.