File tree Expand file tree Collapse file tree 1 file changed +4
-11
lines changed Expand file tree Collapse file tree 1 file changed +4
-11
lines changed Original file line number Diff line number Diff line change 1
1
<template >
2
2
<div v-if =" links.length > 3" class =" flex flex-wrap -mb-1" >
3
3
<template v-for =" (link , key ) in links " :key =" key " >
4
- <span
5
- v-if =" link.url === null"
6
- class =" mr-1 mb-1 px-4 py-3 text-sm leading-4 text-gray-400 border rounded"
7
- v-html =" link.label"
8
- >
4
+ <span v-if =" link.url === null" class =" mr-1 mb-1 px-4 py-3 text-sm leading-4 text-gray-400 border rounded"
5
+ v-html =" link.label" >
9
6
</span >
10
- <Link
11
- v-else
12
- :href =" link.url"
13
- class =" mr-1 mb-1 px-4 py-3 text-sm leading-4 border rounded hover:bg-gray-700 focus:border-indigo-500 focus:text-indigo-500"
7
+ <Link v-else :href =" link.url" class =" mr-1 mb-1 px-4 py-3 text-sm leading-4 border rounded hover:bg-gray-700 focus:border-indigo-500 focus:text-indigo-500"
14
8
:class =" {
15
9
'bg-gray-800 text-white': link.active,
16
10
'text-gray-400': !link.active,
17
11
}"
18
- v-html =" link.label"
19
- >
12
+ v-html =" link.label" >
20
13
</Link >
21
14
</template >
22
15
</div >
You can’t perform that action at this time.
0 commit comments