feat: add some icon
Some checks failed
Deploy to SFTP Server / build (push) Failing after 1h16m9s

This commit is contained in:
2024-04-07 03:23:50 +02:00
parent ff1188b4b2
commit 5b11664a3f
5 changed files with 14 additions and 63 deletions

View File

@ -2,6 +2,8 @@
import Layout from "@layouts/Layout.astro";
import { getCollection } from "astro:content";
import { useTranslatedPath } from "@i18n/utils";
import SmallCard from "@components/SmallCard.astro";
import SmallGrid from "@components/SmallGrid.astro";
const collections = ["blog", "photos", "projects"] as const;
@ -48,18 +50,15 @@ const posts = allPosts.filter((post) => {
<Layout title="Max Richter">
<article>
<h1>Tags</h1>
{posts.length}
<div class="flex flex-col gap-2">
<h1>Tag: {tag}</h1>
<SmallGrid>
{
posts.map((post) => {
return (
<a href={tp("/" + post.collection + "/" + post.slug)}>
{post.slug}
</a>
<SmallCard post={post} />
);
})
}
</div>
</SmallGrid>
</article>
</Layout>