Commit 20bbbdd Gibson Tang
committed
1 parent 3875ed9 commit 20bbbdd Copy full SHA for 20bbbdd
File tree 2 files changed +21
-11
lines changed
2 files changed +21
-11
lines changed Original file line number Diff line number Diff line change 104
104
105
105
# Vim swap files
106
106
* .swp
107
+
108
+ report *
Original file line number Diff line number Diff line change 38
38
</svg >
39
39
</button >
40
40
</div >
41
-
42
- <nuxt-link
43
- v-if =" showMobileLinks"
44
- v-for =" link in links"
45
- :key =" `mob-${link.name}`"
46
- class =" py-2 block hover:text-red-600 text-center lg:hidden"
47
- :to =" localePath(link.name)"
48
- @click.native =" showMobileLinks = false"
49
- >
50
- {{ $t(link.display) }}
51
- </nuxt-link >
41
+ <template v-for =" link in links " v-if =" showMobileLinks " >
42
+ <a
43
+ v-if =" link.url"
44
+ :key =" link.name"
45
+ class =" py-2 block hover:text-red-600 text-center lg:hidden"
46
+ :href =" link.url"
47
+ >
48
+ {{ $t(link.display) }}
49
+ </a >
50
+ <nuxt-link
51
+ v-else
52
+ :key =" `mob-${link.name}`"
53
+ class =" py-2 block hover:text-red-600 text-center lg:hidden"
54
+ :to =" localePath(link.name)"
55
+ >
56
+ {{ $t(link.display) }}
57
+ </nuxt-link >
58
+ </template >
59
+ <!---->
52
60
</div >
53
61
</nav >
54
62
</template >
You can’t perform that action at this time.
0 commit comments