Skip to content

Commit 4dc6321

Browse files
committed
chore(skeleton): base group component
1 parent 69aa75a commit 4dc6321

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

Diff for: components/service/Group.vue

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
<template>
2+
<div class="py-10">
3+
<h2 class="text-2xl font-light py-2 px-4">
4+
{{ title }}
5+
</h2>
6+
<div class="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-1 lg:gap-2 lg:gap-y-4">
7+
<template v-for="(item, key) in items" :key="key">
8+
<ServiceItem v-bind="item" />
9+
</template>
10+
</div>
11+
</div>
12+
</template>
13+
14+
<script setup lang="ts">
15+
export interface Props {
16+
title: string
17+
items: any[]
18+
}
19+
20+
defineProps<Props>()
21+
</script>

0 commit comments

Comments
 (0)