mirror of
https://github.com/Patiun/com.gregkilmer.www.git
synced 2026-11-08 04:08:24 +00:00
Phase 5: every page of the site, the resume PDF and RSS
Landing, About, Now, Resume (with a generated PDF), Work and case studies, Inquiries and the sent page, Library and the Shelf, Workshop and craft pages, Tabletop, Blog with topics and posts, RSS, the Store, product lines, the order form and the 404, all rendered from the content service's notes. Schema: experience previousRoles, skills stack core items, page stats, make tags and deck favorite. Icon names from notes map to brand icons in one place, and HTML comments are dropped when Markdown renders. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012aSbo2D1qP8cMFQCykf7kx
This commit is contained in:
@@ -0,0 +1,57 @@
|
||||
---
|
||||
/** The closing band on a world page: a line, a note and one or two buttons. */
|
||||
interface Props {
|
||||
title: string;
|
||||
note?: string;
|
||||
}
|
||||
const { title, note } = Astro.props;
|
||||
---
|
||||
<aside class="cta" aria-label={title}>
|
||||
<div class="words">
|
||||
<p class="t">{title}</p>
|
||||
{note && <p class="n">{note}</p>}
|
||||
</div>
|
||||
<div class="btns"><slot /></div>
|
||||
</aside>
|
||||
|
||||
<style>
|
||||
.cta {
|
||||
margin-top: 48px;
|
||||
padding: 32px 36px;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 20px;
|
||||
background: var(--gk-midnight);
|
||||
border: 1px solid var(--gk-lines);
|
||||
border-radius: var(--gk-radius);
|
||||
}
|
||||
.words {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 6px;
|
||||
}
|
||||
.t {
|
||||
margin: 0;
|
||||
font-family: var(--gk-font-display);
|
||||
font-weight: 700;
|
||||
font-size: 24px;
|
||||
letter-spacing: 0.05em;
|
||||
}
|
||||
.n {
|
||||
margin: 0;
|
||||
font-size: 15px;
|
||||
color: var(--gk-muted);
|
||||
}
|
||||
.btns {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 12px;
|
||||
}
|
||||
@media (max-width: 640px) {
|
||||
.cta {
|
||||
padding: 24px 20px;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user