add idea overflow blog

This commit is contained in:
Zoe
2024-11-13 00:08:50 -06:00
parent 9b19daca33
commit 62de714bce
13 changed files with 62 additions and 18 deletions

View File

@@ -1,6 +1,4 @@
<script setup lang="ts">
import BlogSkeletonCard from '~/components/blog/BlogSkeletonCard.vue';
useHead({
title: 'Juls07',
})
@@ -13,10 +11,10 @@ useHead({
<div id="main" class="gap-4 justify-evenly py-2 grid grid-cols-[repeat(auto-fit,_minmax(50px,_450px))]">
<ContentQuery path="blog"
:only="['image', '_path', 'title', 'description', 'date', 'tags', 'excerpt', 'readTime']" :sort="{
date: 1
date: -1
}" :where="{
_draft: false
}" v-slot="{ data }">
_draft: false
}" v-slot="{ data }">
<div v-for="article in data" :key="article._path" class="mb-5 px-1.5">
<BlogCard :article="article" />
</div>