We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 69aa75a commit 4dc6321Copy full SHA for 4dc6321
components/service/Group.vue
@@ -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
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