File tree 1 file changed +16
-6
lines changed
packages/frontendmu-nuxt/components/cards 1 file changed +16
-6
lines changed Original file line number Diff line number Diff line change @@ -21,8 +21,11 @@ function getAssetPath(version: string) {
21
21
</script >
22
22
23
23
<template >
24
- <div class =" grid md:grid-cols-3 gap-8 border border-verse-900 dark:border-verse-400 rounded-lg p-8" >
25
- <div v-if =" asset" class =" flex flex-col col-span-1 gap-4 justify-center" >
24
+ <div class =" grid md:grid-cols-[auto_auto] gap-8 border border-verse-900 dark:border-verse-400 rounded-lg p-8" >
25
+ <div
26
+ v-if =" asset"
27
+ class =" flex flex-col gap-4 justify-center"
28
+ >
26
29
<h3 class =" font-bold text-xl md:text-3xl" >
27
30
{{ asset.name }}
28
31
</h3 >
@@ -32,8 +35,12 @@ function getAssetPath(version: string) {
32
35
33
36
<div class =" flex justify-start items-center text-sm uppercase gap-4" >
34
37
<span >Download</span >
35
- <a v-for =" version in asset.versions" :key =" version" :href =" getAssetPath(version)"
36
- class =" border px-4 py-1 cursor-pointer hover:bg-gray-100 rounded-md flex items-center gap-2" download
38
+ <a
39
+ v-for =" version in asset.versions"
40
+ :key =" version"
41
+ :href =" getAssetPath(version)"
42
+ class =" border px-4 py-1 cursor-pointer hover:bg-gray-100 rounded-md flex items-center gap-2"
43
+ download
37
44
>
38
45
<Icon name =" carbon:download" />
39
46
<span >
@@ -42,8 +49,11 @@ function getAssetPath(version: string) {
42
49
</a >
43
50
</div >
44
51
</div >
45
- <div class =" col-span-2 flex justify-center" >
46
- <img class =" max-h-64 w-full" :src =" defaultPath" >
52
+ <div class =" flex justify-center" >
53
+ <img
54
+ class =" max-h-64 w-full"
55
+ :src =" defaultPath"
56
+ >
47
57
</div >
48
58
</div >
49
59
</template >
You can’t perform that action at this time.
0 commit comments