@@ -14,7 +14,12 @@ import { useBaseStore, useBlockchain } from '@/stores';
1414
1515import NavBarI18n from ' ./NavBarI18n.vue' ;
1616import NavBarWallet from ' ./NavBarWallet.vue' ;
17- import type { NavGroup , NavLink , NavSectionTitle , VerticalNavItems } from ' ../types' ;
17+ import type {
18+ NavGroup ,
19+ NavLink ,
20+ NavSectionTitle ,
21+ VerticalNavItems ,
22+ } from ' ../types' ;
1823import dayjs from ' dayjs' ;
1924import AdBanner from ' @/components/ad/AdBanner.vue' ;
2025
@@ -89,7 +94,10 @@ const show_ad = computed(() => {
8994 <img class =" w-10 h-10" src =" ../../assets/logo.svg" />
9095 <h1 class =" flex-1 ml-3 text-2xl font-semibold dark:text-white" >Ping.pub</h1 >
9196 </RouterLink >
92- <div class =" pr-4 cursor-pointer xl:!hidden" @click =" sidebarShow = false" >
97+ <div
98+ class =" pr-4 cursor-pointer xl:!hidden"
99+ @click =" sidebarShow = false"
100+ >
93101 <Icon icon =" mdi-close" class =" text-2xl" />
94102 </div >
95103 </div >
@@ -121,7 +129,11 @@ const show_ad = computed(() => {
121129 <div class =" text-base capitalize flex-1 text-gray-700 dark:text-gray-200 whitespace-nowrap" >
122130 {{ item?.title }}
123131 </div >
124- <div v-if =" item?.badgeContent" class =" mr-6 badge badge-sm text-white border-none" :class =" item?.badgeClass" >
132+ <div
133+ v-if =" item?.badgeContent"
134+ class =" mr-6 badge badge-sm text-white border-none"
135+ :class =" item?.badgeClass"
136+ >
125137 {{ item?.badgeContent }}
126138 </div >
127139 </div >
@@ -201,11 +213,18 @@ const show_ad = computed(() => {
201213 <div class =" text-base capitalize flex-1 text-gray-700 dark:text-gray-200 whitespace-nowrap" >
202214 {{ item?.title }}
203215 </div >
204- <div v-if =" item?.badgeContent" class =" badge badge-sm text-white border-none" :class =" item?.badgeClass" >
216+ <div
217+ v-if =" item?.badgeContent"
218+ class =" badge badge-sm text-white border-none"
219+ :class =" item?.badgeClass"
220+ >
205221 {{ item?.badgeContent }}
206222 </div >
207223 </RouterLink >
208- <div v-if =" isNavTitle(item)" class =" px-4 text-sm text-gray-400 pb-2 uppercase" >
224+ <div
225+ v-if =" isNavTitle(item)"
226+ class =" px-4 text-sm text-gray-400 pb-2 uppercase"
227+ >
209228 {{ item?.heading }}
210229 </div >
211230 </div >
@@ -218,7 +237,10 @@ const show_ad = computed(() => {
218237 <Icon icon =" mdi:frequently-asked-questions" class =" text-xl mr-2" />
219238 <div class =" text-base capitalize flex-1 text-gray-600 dark:text-gray-200" >Wallet Helper</div >
220239 </RouterLink >
221- <div v-if =" showDiscord" class =" px-4 text-sm pt-2 text-gray-400 pb-2 uppercase" >
240+ <div
241+ v-if =" showDiscord"
242+ class =" px-4 text-sm pt-2 text-gray-400 pb-2 uppercase"
243+ >
222244 {{ $t('module.sponsors') }}
223245 </div >
224246 <Sponsors v-if =" showDiscord" />
@@ -252,8 +274,13 @@ const show_ad = computed(() => {
252274 </div >
253275 <div class =" xl:!ml-64 px-3 pt-4" >
254276 <!-- header -->
255- <div class =" flex items-center py-3 bg-base-100 mb-4 rounded px-4 sticky top-0 z-10" >
256- <div class =" text-2xl pr-3 cursor-pointer xl:!hidden" @click =" sidebarShow = true" >
277+ <div
278+ class =" flex items-center py-3 bg-base-100 mb-4 rounded px-4 sticky top-0 z-10"
279+ >
280+ <div
281+ class =" text-2xl pr-3 cursor-pointer xl:!hidden"
282+ @click =" sidebarShow = true"
283+ >
257284 <Icon icon =" mdi-menu" />
258285 </div >
259286
@@ -285,7 +312,11 @@ const show_ad = computed(() => {
285312 d =" M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"
286313 ></path >
287314 </svg >
288- <span >{{ $t('pages.out_of_sync') }} {{ blocktime.format() }} ({{ blocktime.fromNow() }})</span >
315+ <span
316+ >{{ $t('pages.out_of_sync') }} {{ blocktime.format() }} ({{
317+ blocktime.fromNow()
318+ }})</span
319+ >
289320 </div >
290321 </div >
291322 <RouterView v-slot =" { Component }" >
0 commit comments