๐Ÿ“ฆ vuetifyjs / flairo-theme

๐Ÿ“„ RelatedBlogPosts.vue ยท 39 lines
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39<script setup lang="ts">
  import JamisonMcandieImg from '@/assets/projects/jamison-mcandie-waZEHLRP98s-unsplash.jpg'
  import { useAppData } from '@/stores/mockup'

  const appData = useAppData()
</script>

<template>
  <Section
    id="related-posts"
    class="px-2"
    space="1"
  >
    <Subheading
      title="Related Posts"
    />
    <Divider align="left" />
    <v-row no-gutters>
      <template v-for="post in appData.relatedPosts" :key="post.id">
        <v-col
          class="px-1"
          cols="12"
          md="4"
          sm="6"
        >
          <Card
            :post="post"
            :src="JamisonMcandieImg"
          />
        </v-col>
      </template>
    </v-row>
  </Section>
</template>

<style lang="scss" scoped>

</style>