chore: update

This commit is contained in:
enscribe 2024-09-10 17:51:46 -07:00
parent 8fe228e243
commit 43e35a3f8b
No known key found for this signature in database
GPG key ID: 9BBD5C4114E25322
54 changed files with 1013 additions and 496 deletions

View file

@ -2,7 +2,7 @@
import Layout from '@layouts/Layout.astro'
import Container from '@components/Container.astro'
import { SITE } from '@consts'
import ArrowCard from '@components/ArrowCard.astro'
import BlogCard from '@components/BlogCard.astro'
import Link from '@components/Link.astro'
import { getCollection } from 'astro:content'
@ -14,7 +14,7 @@ const blog = (await getCollection('blog'))
<Layout title="Home" description="Home">
<Container>
<section class="space-y-6">
<section class="space-y-4">
<div class="flex flex-wrap items-center justify-between gap-y-2">
<h2 class="font-semibold">Latest posts</h2>
<Link href="/blog"> See all posts </Link>
@ -23,7 +23,7 @@ const blog = (await getCollection('blog'))
{
blog.map((post) => (
<li>
<ArrowCard entry={post} />
<BlogCard entry={post} />
</li>
))
}