mirror of
https://github.com/prdlk/website.git
synced 2026-08-04 10:21:42 +00:00
feat(about): add personal bio and details to about page
This commit is contained in:
@@ -1,11 +1,27 @@
|
||||
---
|
||||
import { getAllExperience } from "@/data/experience";
|
||||
import PageLayout from "@/layouts/Base.astro";
|
||||
import { breadcrumbList, collectionPageSchema } from "@/utils/seo";
|
||||
|
||||
const experiences = await getAllExperience();
|
||||
|
||||
const meta = {
|
||||
description: "Roles and organizations I've worked with",
|
||||
schema: [
|
||||
breadcrumbList([
|
||||
{ name: "Home", path: "/" },
|
||||
{ name: "Experience", path: "/experience/" },
|
||||
]),
|
||||
collectionPageSchema({
|
||||
name: "Experience",
|
||||
description: "Roles and organizations I've worked with",
|
||||
path: "/experience/",
|
||||
items: experiences.map((e) => ({
|
||||
name: e.data.role ? `${e.data.role}, ${e.data.organization}` : e.data.organization,
|
||||
path: `/experience/${e.id}/`,
|
||||
})),
|
||||
}),
|
||||
],
|
||||
title: "Experience",
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user