HelpCenterLandingArticlesOverview.vue
1.02 KB
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
<script setup>
const props = defineProps({
articles: {
type: Array,
required: true,
},
})
</script>
<template>
<VRow v-if="props.articles.length">
<VCol
v-for="article in props.articles"
:key="article.title"
cols="12"
md="4"
>
<VCard
flat
border
>
<VCardText class="text-center">
<img
:src="article.img"
alt="svg"
height="58"
width="58"
>
<h5 class="text-h5 my-3">
{{ article.title }}
</h5>
<p class="clamp-text text-body-1 mb-3 mx-auto">
{{ article.subtitle }}
</p>
<VBtn
variant="outlined"
:to="{
name: 'front-pages-help-center-article-title',
params: {
title: 'how-to-add-product-in-cart',
},
}"
>
Read More
</VBtn>
</VCardText>
</VCard>
</VCol>
</VRow>
</template>