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,53 @@
|
||||
---
|
||||
/**
|
||||
* Greg's portrait in a gold frame. No portrait file exists yet, so the
|
||||
* star-chart art stands in; pass `src` once there is one.
|
||||
*/
|
||||
import GiltCorners from "@gk/ui/components/GiltCorners.astro";
|
||||
import StarChartArt from "@gk/ui/components/StarChartArt.astro";
|
||||
import type { SealName } from "@gk/ui/components/seals.ts";
|
||||
|
||||
interface Props {
|
||||
/** "hero": the thick gold frame on the landing; "panel": the framed panel on About. */
|
||||
variant?: "hero" | "panel";
|
||||
src?: string;
|
||||
alt?: string;
|
||||
seal?: SealName;
|
||||
class?: string;
|
||||
}
|
||||
const { variant = "hero", src, alt = "Greg Kilmer", seal = "transmutation", class: className } = Astro.props;
|
||||
---
|
||||
<figure class:list={["portrait", variant, className]}>
|
||||
<StarChartArt seal={seal} ratio={variant === "hero" ? "188 / 228" : "auto"} src={src} alt={alt} class="art" />
|
||||
{variant === "panel" && <GiltCorners inset={4} size={30} />}
|
||||
{!src && <figcaption class="gk-visually-hidden">Portrait coming soon</figcaption>}
|
||||
</figure>
|
||||
|
||||
<style>
|
||||
.portrait {
|
||||
position: relative;
|
||||
margin: 0;
|
||||
}
|
||||
.hero {
|
||||
width: 200px;
|
||||
border: 3px solid var(--gk-gold);
|
||||
border-radius: var(--gk-radius-lg);
|
||||
padding: 6px;
|
||||
background: rgba(106, 47, 224, 0.12);
|
||||
}
|
||||
.hero :global(.art) {
|
||||
border-radius: var(--gk-radius);
|
||||
}
|
||||
.panel {
|
||||
width: 100%;
|
||||
padding: 10px;
|
||||
border-radius: 12px;
|
||||
border: 1px solid rgba(201, 162, 74, 0.55);
|
||||
background: var(--gk-midnight);
|
||||
}
|
||||
.panel :global(.art) {
|
||||
border-radius: 6px;
|
||||
width: 100%;
|
||||
height: 320px;
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user