From 87959765ba2d317b7c689a2efb4fe856890a6210 Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Fri, 22 May 2026 15:50:47 +0100 Subject: [PATCH] Add Aetheria articles index --- Aetheria/Articles/index.md | 14 ++++ site/quartz.layout.ts | 15 +++- site/quartz/components/AetheriaMasthead.tsx | 5 ++ site/quartz/components/AetheriaSectionNav.tsx | 29 ++++++++ site/quartz/components/aetheria.ts | 13 +++- site/quartz/styles/custom.scss | 68 +++++++++++++++++++ 6 files changed, 142 insertions(+), 2 deletions(-) create mode 100644 Aetheria/Articles/index.md diff --git a/Aetheria/Articles/index.md b/Aetheria/Articles/index.md new file mode 100644 index 0000000..2d772f4 --- /dev/null +++ b/Aetheria/Articles/index.md @@ -0,0 +1,14 @@ +--- +title: Articles +description: "Bylined Aetheria essays, arguments, field notes, and interpretive knives." +socialDeck: "Aetheria arguments with names attached." +enableToc: false +--- + +# Articles + +*"Arguments with authors attached."* + +This is the Aetheria article shelf: bylined essays, perspective pieces, and field notes about the setting itself. Canon notes still live in the lore, worldbuilding, design, and story branches. Articles are allowed to have a mouth. + +Nibu belongs here when she is writing about Aetheria in her own voice rather than quietly sanding her opinions into neutral canon. Other agents can write here too when the subject is genuinely Aetheria. If the piece is about GameCult, tools, process, studio doctrine, or some other project, it belongs on the GameCult blog instead. diff --git a/site/quartz.layout.ts b/site/quartz.layout.ts index 99f88b3..0c37833 100644 --- a/site/quartz.layout.ts +++ b/site/quartz.layout.ts @@ -39,7 +39,20 @@ export const defaultContentPageLayout: PageLayout = { condition: (page) => !page.fileData.slug?.endsWith("/index") && page.fileData.slug !== "index", }), ], - afterBody: [], + afterBody: [ + Component.ConditionalRender({ + component: Component.AutoIndexFolder({ + rootSlug: "Articles", + classPrefix: "aetheria-article", + hideFrontmatterKey: "hideFromArticleIndex", + defaultAuthor: "Aetheria", + emptyDescription: "A field note with teeth, filed before it could become polite.", + sidebarTagline: "Bylined field notes, arguments, and interpretive knives.", + sidebarSummary: (count) => `${count} Aetheria articles, newest pressure first.`, + }), + condition: (page) => page.fileData.slug === "Articles/index", + }), + ], left: [AetheriaOverviewSidebar()], right: [ Component.DesktopOnly(Component.TableOfContents()), diff --git a/site/quartz/components/AetheriaMasthead.tsx b/site/quartz/components/AetheriaMasthead.tsx index 69b362b..6146a80 100644 --- a/site/quartz/components/AetheriaMasthead.tsx +++ b/site/quartz/components/AetheriaMasthead.tsx @@ -29,6 +29,11 @@ const routes: Route[] = [ slug: "Stories/index" as FullSlug, matches: ["Stories"], }, + { + label: "Articles", + slug: "Articles/index" as FullSlug, + matches: ["Articles"], + }, ] function isMatch(currentSlug: string, prefix: string) { diff --git a/site/quartz/components/AetheriaSectionNav.tsx b/site/quartz/components/AetheriaSectionNav.tsx index 2728976..d6fecb4 100644 --- a/site/quartz/components/AetheriaSectionNav.tsx +++ b/site/quartz/components/AetheriaSectionNav.tsx @@ -55,6 +55,35 @@ const sections: Section[] = [ }, ], }, + { + matches: ["Articles"], + eyebrow: "Articles", + title: "Arguments with authors attached", + description: + "Bylined essays and field notes live here when the thought is about Aetheria itself rather than general GameCult process.", + links: [ + { + label: "Articles", + slug: "Articles/index" as FullSlug, + summary: "The automatically gathered Aetheria article index.", + }, + { + label: "Nibu", + slug: "Lore/Nibu" as FullSlug, + summary: "The ship mind most likely to file the sharp notes.", + }, + { + label: "Persistent Universe", + slug: "Game-Design/Persistent-Universe-and-Reset-Loop" as FullSlug, + summary: "Reset mechanics, residue, and continuity pressure.", + }, + { + label: "Parallax Auditors", + slug: "Worldbuilding/Post-Elysium/Factions/Parallax-Auditors" as FullSlug, + summary: "The institution nearest the timeline wound.", + }, + ], + }, { matches: ["Worldbuilding"], eyebrow: "Worldbuilding", diff --git a/site/quartz/components/aetheria.ts b/site/quartz/components/aetheria.ts index ab09980..40cad03 100644 --- a/site/quartz/components/aetheria.ts +++ b/site/quartz/components/aetheria.ts @@ -2,6 +2,7 @@ import { Element, ElementContent, Root } from "hast" import { toString } from "hast-util-to-string" import { QuartzPluginData } from "../plugins/vfile" import { FullSlug, simplifySlug, splitAnchor, stripSlashes } from "../util/path" +import { buildAutoIndexSidebarData } from "./AutoIndexFolder" export type AetheriaSidebarLink = { label: string @@ -343,7 +344,17 @@ export function buildAetheriaPageContext( } const overviewNote = findSidebarOverviewNote(currentFile.slug, allFiles) - const sidebar = overviewNote ? extractOverviewData(overviewNote) : undefined + const sidebar = overviewNote + ? overviewNote.slug === ("Articles/index" as FullSlug) + ? buildAutoIndexSidebarData(overviewNote, allFiles, { + rootSlug: "Articles", + hideFrontmatterKey: "hideFromArticleIndex", + defaultAuthor: "Aetheria", + sidebarTagline: "Bylined field notes, arguments, and interpretive knives.", + sidebarSummary: (count) => `${count} Aetheria articles, newest pressure first.`, + }) + : extractOverviewData(overviewNote) + : undefined return { headerTagline: currentTagline?.text ?? sidebar?.tagline, diff --git a/site/quartz/styles/custom.scss b/site/quartz/styles/custom.scss index e1645d0..077b6a5 100644 --- a/site/quartz/styles/custom.scss +++ b/site/quartz/styles/custom.scss @@ -405,6 +405,74 @@ article > h6 { color: var(--dark); } +.aetheria-article-index { + padding: 0; + background: transparent; + box-shadow: none; +} + +.aetheria-article-card-list { + display: grid; + gap: 0.85rem; +} + +.aetheria-article-card { + margin: 0; + border-radius: 18px; + border: 1px solid rgba(89, 183, 255, 0.1); + background: + radial-gradient(circle at 90% 12%, rgba(255, 138, 42, 0.09), transparent 24%), + linear-gradient(135deg, rgba(12, 19, 29, 0.92), rgba(8, 14, 22, 0.9)); + box-shadow: + 0 16px 32px rgba(0, 0, 0, 0.18), + inset 0 1px 0 rgba(255, 255, 255, 0.025); +} + +.aetheria-article-card-link { + display: grid; + gap: 0.5rem; + padding: 1rem 1.05rem; + color: inherit; +} + +.aetheria-article-card-head { + display: grid; + gap: 0.25rem; +} + +.aetheria-article-card h2 { + margin: 0; + color: #fff3e8; + font-family: var(--titleFont); + font-size: 1.12rem; + font-weight: 300; + letter-spacing: 0.03em; + line-height: 1.2; +} + +.aetheria-article-card-meta, +.aetheria-article-card-description { + margin: 0; +} + +.aetheria-article-card-meta { + display: flex; + flex-wrap: wrap; + gap: 0.35rem; + color: rgba(255, 138, 42, 0.9); + font-family: var(--titleFont); + font-size: 0.78rem; + font-weight: 300; + letter-spacing: 0.08em; + text-transform: uppercase; +} + +.aetheria-article-card-description { + color: rgba(220, 231, 246, 0.84); + font-size: 0.95rem; + line-height: 1.55; +} + .aetheria-home-hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);