first commit
This commit is contained in:
commit
ff7c974867
227 changed files with 12908 additions and 0 deletions
11
src/pages/projects/index.astro
Normal file
11
src/pages/projects/index.astro
Normal file
|
@ -0,0 +1,11 @@
|
|||
---
|
||||
import { getCollection } from "astro:content";
|
||||
import { PROJECTS } from "@consts";
|
||||
import ShowcasePage from "@components/ShowcasePage.astro";
|
||||
|
||||
const projects = (await getCollection("projects"))
|
||||
.filter((project) => !project.data.draft)
|
||||
.sort((a, b) => b.data.date.valueOf() - a.data.date.valueOf());
|
||||
---
|
||||
|
||||
<ShowcasePage content={projects} CONSTS={PROJECTS} />
|
Loading…
Add table
Add a link
Reference in a new issue