Nuxt Content 3 migration #12

Merged
eggy merged 81 commits from js into master 2022-08-10 18:38:39 -04:00
3 changed files with 13 additions and 5 deletions
Showing only changes of commit 9105010387 - Show all commits

View File

@ -1 +0,0 @@
<template></template>

View File

@ -1,14 +1,11 @@
<script setup lang="ts">
import Base from "./base.vue";
import Navbar from "../components/Navbar.vue";
</script>
<template>
<div class="flex flex-col items-center w-full h-full">
<Navbar />
<Base>
<slot />
</Base>
</div>
</template>
@ -38,4 +35,9 @@ html::before {
html.dark::before {
transform: translateX(0);
}
.dark-mode body {
background-color: #091a28;
color: #ebf4f1;
}
</style>

View File

@ -3,3 +3,10 @@
<template #not-found> Document not found </template>
</ContentDoc>
</template>
<style>
article {
width: 90%;
height: 100%;
}
</style>