--- import * as config from "../config.yaml"; import core from "../core.json"; import contributors from "../contributors.json"; import { getPersonByGH } from "../lib/core.js"; import PeopleCarousel from "../components/PeopleCarousel.astro"; function findPerson(src) { const p = core.people.find((p) => src.refs?.twitter ? p.refs?.twitter === src.refs.twitter : src.refs?.bsky ? p.refs.bsky === src.refs.bsky : {} ); if (p) { p.ct = src; } return p; } function personLink(person) { return person.refs?.twitter ? `https://twitter.com/${person.refs.twitter}` : person.refs?.bsky ? `https://bsky.app/profile/${person.refs.bsky}` : "#"; } ---