feat: styling

This commit is contained in:
Anthony Fu 2022-11-14 00:05:32 +08:00
parent 8424b7b98b
commit 4adab40932
17 changed files with 330 additions and 36 deletions

View file

@ -1,15 +0,0 @@
## Layouts
Vue components in this dir are used as layouts.
By default, `default.vue` will be used unless an alternative is specified in the route meta.
```html
<script setup lang="ts">
definePageMeta({
layout: 'home',
})
</script>
```
Learn more on https://v3.nuxtjs.org/guide/directory-structure/layouts

View file

@ -1,5 +1,5 @@
<template>
<main class="py-20 px-10">
<main class="py-10 px-10">
<slot />
</main>
</template>

View file

@ -1,9 +0,0 @@
<template>
<main class="py-20 px-10 text-center">
<slot />
<Footer />
<div class="mt-5 mx-auto text-center opacity-25 text-sm">
[Home Layout]
</div>
</main>
</template>