add about me section and page boilerplate

This commit is contained in:
2026-11-05 17:32:17 -05:00
parent 30b0f17464
commit b146d45192
5 changed files with 54 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
---
import Button from './Button.astro';
import Label from './Label.astro';
import { about } from '../data/about';
import { site } from '../data/site';
interface Props { more?: boolean; }
const { more } = Astro.props;
---
<div class="">
<div class="border border-line bg-panel px-6 py-6 max-sm:px-4">
<p class="text-[24px] leading-snug font-semibold tracking-[-0.01em] max-sm:text-[20px]">{about.lead}</p>
<div class="mt-4 flex flex-col gap-3 text-body">
{about.paragraphs.map((p) => <p>{p}</p>)}
</div>
<div class="mt-6 flex flex-wrap gap-3">
{more && <Button primary href="/about">More about me</Button>}
<Button href={site.github}>GitHub</Button>
<Button href={site.linkedin}>LinkedIn</Button>
</div>
</div>
</div>