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,67 @@
|
||||
---
|
||||
/** A row link inside a landing or About door: a title, an optional line, and an arrow. */
|
||||
import Icon from "@gk/ui/components/Icon.astro";
|
||||
|
||||
interface Props {
|
||||
href: string;
|
||||
title: string;
|
||||
line?: string;
|
||||
size?: "large" | "small";
|
||||
}
|
||||
const { href, title, line, size = "large" } = Astro.props;
|
||||
---
|
||||
<li>
|
||||
<a href={href} class:list={["door-link", size]}>
|
||||
<span class="words">
|
||||
<span class="t">{title}</span>
|
||||
{line && <span class="l">{line}</span>}
|
||||
</span>
|
||||
<Icon name="arrow-right" size={size === "large" ? 22 : 16} />
|
||||
</a>
|
||||
</li>
|
||||
|
||||
<style>
|
||||
li {
|
||||
list-style: none;
|
||||
}
|
||||
.door-link {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 16px;
|
||||
color: var(--gk-starlight);
|
||||
text-decoration: none;
|
||||
transition: color var(--gk-ease);
|
||||
}
|
||||
.door-link:hover {
|
||||
color: var(--gk-gold-bright);
|
||||
}
|
||||
.large {
|
||||
min-height: 62px;
|
||||
padding: 8px 0;
|
||||
border-bottom: 1px solid rgba(244, 242, 237, 0.35);
|
||||
}
|
||||
.small {
|
||||
min-height: 48px;
|
||||
border-top: 1px solid var(--gk-lines);
|
||||
font-weight: 600;
|
||||
}
|
||||
.words {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
min-width: 0;
|
||||
}
|
||||
.large .t {
|
||||
font-family: var(--gk-font-display);
|
||||
font-weight: 700;
|
||||
font-size: 20px;
|
||||
letter-spacing: 0.05em;
|
||||
}
|
||||
.l {
|
||||
font-size: 14px;
|
||||
color: var(--gk-soft);
|
||||
}
|
||||
.door-link :global(svg) {
|
||||
flex: none;
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user