add notizie, rework homepage and fill with content

This commit is contained in:
2024-07-28 19:51:13 +02:00
parent 13b0c03e5f
commit 8f1d6cfff1
10 changed files with 293 additions and 107 deletions
+2 -2
View File
@@ -4,13 +4,13 @@ import { getCollection } from 'astro:content'
import PageLayout from '@layouts/PageLayout.astro'
import ArticleCard from '@components/ArticleCard.astro'
const blogposts = await getCollection('guides')
const posts = await getCollection('guides')
---
<PageLayout pageName="guide">
<div class="article-list">
{
blogposts.map(post => (
posts.map(post => (
<ArticleCard
title={post.data.title}
id={post.data.id}