feat: add ci

This commit is contained in:
2024-04-03 16:18:30 +02:00
parent 93baa3b6b0
commit e800314589
13 changed files with 280 additions and 29 deletions

View File

@ -7,7 +7,9 @@ import HeroCard from "@components/HeroCard.astro";
const locale = getLocale(Astro.url);
const pages = await getCollection("projects");
const posts = filterCollection(pages, locale);
const posts = filterCollection(pages, locale)
.sort((a, b) => b.data.date - a.data.date)
.sort((a) => (a.data.featured ? -1 : 1));
---
<Layout title="Dude">