Skip to content

Commit

Permalink
add more skeleton
Browse files Browse the repository at this point in the history
  • Loading branch information
zernonia committed May 26, 2022
1 parent 12ff111 commit 9240c38
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
7 changes: 6 additions & 1 deletion components/Card.vue
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,12 @@ const status = ref()
</div>
<h4 class="text-sm text-gray-400">{{ meta_data.url }}</h4>
</div>
<p class="ml-3 md:text-xl text-gray-400">{{ formatUptime(status?.overallUptime) }}</p>
<div>
<p v-if="status?.overallUptime" class="ml-3 md:text-xl text-gray-400">
{{ formatUptime(status?.overallUptime) }}
</p>
<div v-else class="bg-gray-100 rounded-lg w-24 h-7 animate-pulse"></div>
</div>
</div>
<StatusGrid ref="status" :data="report_data?.body" />
</div>
Expand Down
4 changes: 2 additions & 2 deletions pages/urls/[slug].vue
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ useCustomHead(`${url.value.title} Status Page | StatusBase`)
<div class="">
<OverallStatus :report_data="log"></OverallStatus>

<div class="mt-12 md:mt-20 font-semibold inline-flex items-end">
<div class="mt-12 md:mt-20 font-semibold inline-flex flex-col md:flex-row md:items-end">
<h2 class="text-xl md:text-3xl">{{ url.title }}'s Uptime</h2>
<h3 class="text-gray-300 md:text-xl ml-3 md:ml-6">Last {{ gridCount }} days</h3>
<h3 class="text-gray-300 md:text-xl md:ml-6">Last {{ gridCount }} days</h3>
</div>

<div class="flex flex-col items-center">
Expand Down

0 comments on commit 9240c38

Please sign in to comment.