fix props and build image

This commit is contained in:
Juan Carlos Manzanero Domínguez
2024-06-25 10:20:13 -06:00
parent 667038d811
commit c43d2e5420
8 changed files with 6367 additions and 8 deletions

View File

@@ -4,7 +4,7 @@ import LinkButton from "@/components/link-button";
import { getCollection } from "astro:content";
import PostItem from "@/components/post-item";
import { Image } from "astro:assets";
import logo from "@/assets/logo.png";
import logo from "@/assets/logo.svg";
const allPosts = await getCollection("blog", ({ data }) => data.draft !== true);
allPosts.sort(