Skip to content

Commit

Permalink
refactor(skeleton): change screen to single
Browse files Browse the repository at this point in the history
  • Loading branch information
hywax committed Dec 28, 2023
1 parent c8c3ef9 commit 7da6ad2
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 20 deletions.
20 changes: 0 additions & 20 deletions pages/[...screen].vue

This file was deleted.

27 changes: 27 additions & 0 deletions pages/index.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
<template>
<template v-if="siteConfig.services.length">
<Group
v-for="(group, key) in siteConfig.services"
:key="key"
v-bind="group"
/>
</template>
<Message v-else title="Services not found">
<template #text>
<p>
Oops! You did not specify a list of services in <span class="border-b border-dashed">config.yaml</span>
</p>
<p class="mt-1">
<a href="#" class="text-sky-500 hover:text-sky-800">Go to documentation</a>
</p>
</template>
</Message>
</template>

<script setup lang="ts">
const siteConfig = useSiteConfig()
useHead({
title: siteConfig.title,
})
</script>

0 comments on commit 7da6ad2

Please sign in to comment.