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 12 additions and 5 deletions
Showing only changes of commit 20a92b96a8 - Show all commits

View File

@ -14,6 +14,7 @@ html {
background: white; background: white;
color: black; color: black;
transition: color 0.2s ease, background 0.2s ease; transition: color 0.2s ease, background 0.2s ease;
overflow: scroll;
} }
html.dark { html.dark {
@ -40,6 +41,7 @@ main {
width: 80%; width: 80%;
max-width: 60rem; max-width: 60rem;
height: 100%; height: 100%;
margin: auto;
padding-top: 2rem; padding-top: 2rem;
} }
</style> </style>

View File

@ -1,14 +1,18 @@
<script setup lang="ts"></script> <script setup lang="ts"></script>
<template> <template>
<main> <main class="flex flex-col items-center justify-evenly">
<h1>Hello!</h1> <h1>Welcome!</h1>
<HomeStatBox> Box 1 </HomeStatBox> <div class="flex justify-around items-center w-full flex-wrap gap-y-10">
<HomeStatBox> Latest blog post </HomeStatBox>
<HomeStatBox>Latest story</HomeStatBox>
<HomeStatBox>Latest commit w/details</HomeStatBox>
</div>
</main> </main>
</template> </template>
<style scoped> <style scoped>
main { h1 {
display: flex; font-size: 3rem;
} }
</style> </style>

View File

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