Nuxt Content 3 migration #12

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

View File

@ -58,7 +58,6 @@ html.dark::before {
main { main {
width: 80%; width: 80%;
max-width: 60rem; max-width: 60rem;
min-height: 100%;
margin: auto; margin: auto;
padding-top: 2rem; padding-top: 2rem;
} }
@ -67,6 +66,7 @@ footer {
--footer-drop-color: lightgray; --footer-drop-color: lightgray;
transition: background 0.2s ease; transition: background 0.2s ease;
box-shadow: 0 -0.05rem 0.75rem 0 var(--footer-drop-color); box-shadow: 0 -0.05rem 0.75rem 0 var(--footer-drop-color);
margin-top: 2rem;
} }
html.dark footer { html.dark footer {

View File

@ -1,9 +1,12 @@
<script setup lang="ts"> <script setup lang="ts">
import Services from "@/components/index/services.vue";
import About from "@/components/index/about.vue";
useTitle("Home"); useTitle("Home");
</script> </script>
<template> <template>
<main class="flex flex-col items-center justify-evenly"> <main class="flex flex-col items-center justify-around gap-8">
<h1>Welcome!</h1> <h1>Welcome!</h1>
<p>What are you here to see?</p> <p>What are you here to see?</p>
<div class="flex justify-around items-center w-full flex-wrap gap-y-10"> <div class="flex justify-around items-center w-full flex-wrap gap-y-10">
@ -11,8 +14,11 @@ useTitle("Home");
<HomeStatBox>Latest story</HomeStatBox> <HomeStatBox>Latest story</HomeStatBox>
<HomeStatBox>Latest commit w/details</HomeStatBox> <HomeStatBox>Latest commit w/details</HomeStatBox>
</div> </div>
<p>SERVICES</p> <Services />
<p>ABOUT</p> <br />
<br />
<br />
<About />
</main> </main>
</template> </template>