File: src/blocks/about/About01.astro
About section with heading, optional highlights list, and author name/role/bio. Author fields default from identity (author.*) when omitted.
Config (blocks.ts + identity.ts → about)
Author defaults also come from identity.ts → author (name, role, bio).
about: {
heading: "About",
subheading: "A short intro.",
highlights: ["Astro", "Design systems", "Performance"],
},
// identity.ts
author: {
name: "Alex Rivera",
role: "Designer & developer",
bio: "I help teams ship…",
},
Add to a page
---
import About01 from "@/blocks/about/About01.astro";
---
<About01 />
Props override matching keys from config:
<About01
heading="Custom headline"
/>
Props
| Prop | Config key | Type / values | Default / notes |
|---|---|---|---|
heading |
about.heading |
string |
— |
subheading |
about.subheading |
string |
— |
highlights |
about.highlights |
string[] |
— |
authorName |
author.name |
string |
— |
authorRole |
author.role |
string |
— |
authorBio |
author.bio |
string |
— |
