redesign draft 1

This commit is contained in:
2024-01-24 12:31:31 -05:00
parent 767396c137
commit 02c52c9ea6
27 changed files with 123 additions and 148 deletions
+6 -8
View File
@@ -1,11 +1,11 @@
---
export const prerender = true
import { getCollection } from 'astro:content'
export const prerender = true;
import { getCollection } from 'astro:content';
import Layout from '@layouts/Layout.astro'
import PostPreview from '@components/PostPreview.astro'
import Layout from '@layouts/Layout.astro';
import PostPreview from '@components/PostPreview.astro';
const posts = await getCollection('blog')
const posts = await getCollection('blog');
---
<Layout title="Home">
@@ -18,9 +18,7 @@ const posts = await getCollection('blog')
{
posts.length < 5 ? null : (
<div class="more-posts">
<a class="link-button blue-btn" href="/archive/all?page=1">
All Posts
</a>
<a href="/archive/all?page=1">All Posts</a>
</div>
)
}