File tree Expand file tree Collapse file tree 1 file changed +36
-0
lines changed
Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Original file line number Diff line number Diff line change 1+ <template >
2+ <div class =" p-4 flex gap-4" >
3+ <div class =" flex-shrink-0 flex" >
4+ <a :href =" link" :title =" title" class =" self-center" >
5+ <slot name =" icon" >
6+ <ServiceIcon v-bind =" icon" />
7+ </slot >
8+ </a >
9+ </div >
10+
11+ <div >
12+ <h3 class =" text-lg mt-1 font-semibold line-clamp-1" >
13+ <a :href =" link" :title =" title" >{{ title }}</a >
14+ </h3 >
15+ <p class =" text-sm text-black/50 line-clamp-1" >
16+ <slot name =" description" :description =" description" >
17+ {{ description }}
18+ </slot >
19+ </p >
20+ </div >
21+ </div >
22+ </template >
23+
24+ <script setup lang="ts">
25+ export interface Props {
26+ title: string
27+ description: string
28+ link: string
29+ icon: {
30+ type: ' solid' | ' gradient'
31+ value: string
32+ }
33+ }
34+
35+ defineProps <Props >()
36+ </script >
You can’t perform that action at this time.
0 commit comments