Add Aetheria articles index
This commit is contained in:
parent
39ce91b6b9
commit
87959765ba
6 changed files with 142 additions and 2 deletions
14
Aetheria/Articles/index.md
Normal file
14
Aetheria/Articles/index.md
Normal file
|
|
@ -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.
|
||||
|
|
@ -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()),
|
||||
|
|
|
|||
|
|
@ -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) {
|
||||
|
|
|
|||
|
|
@ -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",
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue