You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

68 lines
1.5 KiB

  1. <template>
  2. <v-container>
  3. <v-layout
  4. column
  5. wrap
  6. class="my-5"
  7. align-center
  8. >
  9. <v-flex xs12 sm4 class="my-3">
  10. <div class="text-xs-center">
  11. <h2 class="headline">
  12. {{ $t('home.featuresTitle') }}
  13. </h2>
  14. </div>
  15. </v-flex>
  16. <v-flex xs12>
  17. <v-container grid-list-xl>
  18. <v-layout wrap align-center>
  19. <v-flex
  20. v-for="(item, index) in featureCards"
  21. :key="index"
  22. xs12
  23. md4
  24. >
  25. <feature-card
  26. :image-src="require(`~/assets/${item.imageSrc}`)"
  27. :title="item.title"
  28. :text="item.text"
  29. />
  30. </v-flex>
  31. </v-layout>
  32. </v-container>
  33. </v-flex>
  34. </v-layout>
  35. </v-container>
  36. </template>
  37. <script>
  38. import FeatureCard from '@/components/organisms/layout/FeatureCard'
  39. export default {
  40. components: {
  41. FeatureCard
  42. },
  43. data() {
  44. return {
  45. featureCards: [
  46. {
  47. imageSrc: 'feature3.png',
  48. title: this.$t('home.featuresTitle1'),
  49. text: this.$t('home.featuresText1')
  50. },
  51. {
  52. imageSrc: 'feature2.png',
  53. title: this.$t('home.featuresTitle2'),
  54. text: this.$t('home.featuresText2')
  55. },
  56. {
  57. imageSrc: 'feature1.png',
  58. title: this.$t('home.featuresTitle3'),
  59. text: this.$t('home.featuresText3')
  60. }
  61. ]
  62. }
  63. }
  64. }
  65. </script>