formatting

This commit is contained in:
nin0 2025-03-14 23:27:04 -04:00
parent 60358d32d6
commit 74fd12d199
Signed by: nin0
SSH key fingerprint: SHA256:NOoDnFVvZNFvqfXCIhzr6oCTDImZAbTTuyAysZ8Ufk8
6 changed files with 60 additions and 65 deletions

View file

@ -1,7 +1,9 @@
---
import Social from "./Social.astro"
const contacts = await Astro.glob("../../info/contacts/*.md")
const contacts: any = Object.values(import.meta.glob("../../info/contacts/*.md", {
eager: true
}));
---
<ul>
{contacts.map(contact => <Social platform={contact.frontmatter.platform} url={contact.frontmatter.url} name={contact.frontmatter.name} note={contact.frontmatter.note}/>)}