Skip to content

Commit

Permalink
FAQs Categories added
Browse files Browse the repository at this point in the history
  • Loading branch information
hsurf22 committed Aug 17, 2018
1 parent 7c3453a commit e7a033e
Show file tree
Hide file tree
Showing 7 changed files with 66 additions and 5 deletions.
17 changes: 12 additions & 5 deletions src/containers/FaqsContainer/FaqsContainer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<div class="qa-cards">
<ul class="qa__contents">
<li>
<div v-on:click="openCloseFAQ" class="qa__contents--title">
<div v-on:click="openFAQ('faq1')" class="qa__contents--title">
<h3>Balances not loading or showing on MyEtherWallet</h3>
<div class="show-more-buttons">
<span v-if="showFAQs.faq1 == false" class="show-more">+</span>
Expand All @@ -33,7 +33,7 @@
</div>
</li>
<li>
<div v-on:click="openCloseFAQ" class="qa__contents--title">
<div v-on:click="openFAQ('faq2')" class="qa__contents--title">
<h3>Does MyEtherWallet support Bitcoin or other coins (LTC STEEM ZEC)?</h3>
<div class="show-more-buttons">
<span v-if="showFAQs.faq2 == false" class="show-more">+</span>
Expand All @@ -45,7 +45,7 @@
</div>
</li>
<li>
<div v-on:click="openCloseFAQ" class="qa__contents--title">
<div v-on:click="openFAQ('faq3')" class="qa__contents--title">
<h3>ETH or Tokens sent to or from exchange haven't shown up</h3>
<div class="show-more-buttons">
<span v-if="showFAQs.faq3 == false" class="show-more">+</span>
Expand All @@ -57,7 +57,7 @@
</div>
</li>
<li>
<div v-on:click="openCloseFAQ" class="qa__contents--title">
<div v-on:click="openFAQ('faq4')" class="qa__contents--title">
<h3>Where Can I Buy / Sell / Trade / Exchange my ETH or Tokens?</h3>
<div class="show-more-buttons">
<span v-if="showFAQs.faq4 == false" class="show-more">+</span>
Expand All @@ -69,7 +69,7 @@
</div>
</li>
<li>
<div v-on:click="openCloseFAQ('faq5')" class="qa__contents--title">
<div v-on:click="openFAQ('faq5')" class="qa__contents--title">
<h3>What Is An ICO?</h3>
<div class="show-more-buttons">
<span v-if="showFAQs.faq5 == false" class="show-more">+</span>
Expand Down Expand Up @@ -110,6 +110,13 @@ export default {
methods: {
openFAQ: function (faqToOpen) {
var currentState = this.showFAQs[faqToOpen]
/*
this.showFAQs.faq1 = false
this.showFAQs.faq2 = false
this.showFAQs.faq3 = false
this.showFAQs.faq4 = false
this.showFAQs.faq5 = false
*/
this.showFAQs[faqToOpen] = !currentState
}
},
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
@import '~@/scss/GlobalVariables';

.wrap {

}

20 changes: 20 additions & 0 deletions src/layouts/HelpCenterLayout/components/Categories/Categories.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<template>
<div class="categories">
<div class="wrap">

</div>
</div>
</template>

<script>
export default {
data () {
return {
}
}
}
</script>

<style lang="scss" scoped>
@import "Categories.scss";
</style>
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export { default } from './Categories'
6 changes: 6 additions & 0 deletions src/layouts/HelpCenterLayout/components/FAQs/FAQs.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
@import '~@/scss/GlobalVariables';

.wrap {

}

20 changes: 20 additions & 0 deletions src/layouts/HelpCenterLayout/components/FAQs/FAQs.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<template>
<div class="faqs">
<div class="wrap">

</div>
</div>
</template>

<script>
export default {
data () {
return {
}
}
}
</script>

<style lang="scss" scoped>
@import "FAQs.scss";
</style>
1 change: 1 addition & 0 deletions src/layouts/HelpCenterLayout/components/FAQs/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export { default } from './FAQs'

1 comment on commit e7a033e

@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.