Add experiences demo
All checks were successful
Build and Test / determine_version (push) Successful in 7s
Build and Test / build_and_push (push) Successful in 1m15s
Build and Test / test (push) Successful in 2s
Build and Test / deploy_production (push) Successful in 3s

This commit is contained in:
2025-03-31 15:38:39 -07:00
parent 46bcd35375
commit 4aa7a85f6b

View File

@@ -2,10 +2,17 @@
import {getCollection} from 'astro:content';
import BaseLayout from "../layouts/BaseLayout.astro";
const experiences = await getCollection('experiences');
const projects = await getCollection('projects');
const hobbies = await getCollection('hobbies');
---
<BaseLayout>
<h1>My Experiences</h1>
<ul>
{experiences.map(experience => (
<li><a href={`/experience/${experience.id}`}>{experience.id}</a></li>
))}
</ul>
<h1>My Projects</h1>
<ul>
{projects.map(project => (