fries-website/src/pages/projects.astro
Fries f3b23b14f0 finally update the website after a year.
i updated astro to the latest version. i also finally added more friends
and changed up how the friend data is stored in the repo. it is now json
backed by a schema. it can also display website buttons with alt text!
2024-06-29 01:51:49 -07:00

19 lines
458 B
Text

---
import Layout from "../layouts/Layout.astro";
import { getCollection } from "astro:content";
const projects = await getCollection("projects");
---
<Layout title="fries gay projects">
<main>
<h1>Projects</h1>
<p>a page where i show off my projects!</p>
{projects.map(project => (
<section>
<h2><a href={`/projects/${project.slug}`}>{project.data.title}</a></h2>
<p>{project.data.description}</p>
</section>
))}
</main>
</Layout>