mirror of
https://github.com/lingble/chatwoot.git
synced 2025-11-02 03:57:52 +00:00
31 lines
570 B
Vue
31 lines
570 B
Vue
<template>
|
|
<div>
|
|
<h2 class="text-base font-bold leading-6 text-slate-800 mb-0">
|
|
{{ $t('PORTAL.POPULAR_ARTICLES') }}
|
|
</h2>
|
|
<category-card
|
|
:articles="articles.slice(0, 4)"
|
|
@view-all-articles="$emit('view-all-articles')"
|
|
/>
|
|
</div>
|
|
</template>
|
|
|
|
<script>
|
|
import CategoryCard from './ArticleCategoryCard.vue';
|
|
export default {
|
|
components: { CategoryCard },
|
|
props: {
|
|
articles: {
|
|
type: Array,
|
|
default: () => [],
|
|
},
|
|
categoryPath: {
|
|
type: String,
|
|
default: '',
|
|
},
|
|
},
|
|
};
|
|
</script>
|
|
|
|
<style></style>
|