Add section navigation and dual-mode branding
This commit is contained in:
parent
b1c04d507a
commit
43370718f2
11 changed files with 283 additions and 54 deletions
|
|
@ -3,8 +3,6 @@ title: Authority map
|
|||
description: The owners and projections of the first persistent-world slice.
|
||||
---
|
||||
|
||||
# Authority map
|
||||
|
||||
## World authority
|
||||
|
||||
A world organ owns persistent workshops, graph edges, dungeon lifecycle pressure, contracts, expeditions, resources, and consequences. It accepts typed intents and emits typed receipts plus updated documents through CultMesh.
|
||||
8
Delvehold/Documentation/index.md
Normal file
8
Delvehold/Documentation/index.md
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
---
|
||||
title: Documentation
|
||||
description: Technical contracts, authority boundaries, and implementation maps.
|
||||
---
|
||||
|
||||
The machinery beneath DELVE/HOLD: typed world state, ownership boundaries, client projections, and the contracts joining them.
|
||||
|
||||
- [[Authority Map|Authority map]]
|
||||
|
|
@ -3,8 +3,6 @@ title: Core loop
|
|||
description: The smallest exchange that proves DELVE and HOLD inhabit one world.
|
||||
---
|
||||
|
||||
# Core loop
|
||||
|
||||
The first playable world contains one workshop, one dungeon core, one contract type, one expedition party, one extracted material, and one persistent expedition history.
|
||||
|
||||
## HOLD
|
||||
|
|
@ -3,8 +3,6 @@ title: World graph
|
|||
description: Private workshop shards joined by scarce, social infrastructure.
|
||||
---
|
||||
|
||||
# World graph
|
||||
|
||||
Every factory player owns a private workshop shard. Shards are arranged as nodes in a persistent neighborhood graph rather than literal adjacent rooms in one Euclidean factory.
|
||||
|
||||
The graph contains three initial node kinds:
|
||||
9
Delvehold/Game Design/index.md
Normal file
9
Delvehold/Game Design/index.md
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
---
|
||||
title: Game Design
|
||||
description: The joined DELVE and HOLD loops and their shared social world.
|
||||
---
|
||||
|
||||
DELVE/HOLD is one persistent game presented through two modes. This section owns the player loops, progression, shared economy, and neighborhood structure.
|
||||
|
||||
- [[Core Loop|Core loop]]
|
||||
- [[World Graph|World graph]]
|
||||
14
Delvehold/Lore/index.md
Normal file
14
Delvehold/Lore/index.md
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
---
|
||||
title: Lore
|
||||
description: The Deep World and the industrial civilization learning how alive it is.
|
||||
---
|
||||
|
||||
The world is not built upon dungeons. The world is made of them.
|
||||
|
||||
Dungeon cores gather mana, reshape their environments, cultivate organisms, defend themselves, and develop memory as they mature. Delving is part of that lifecycle: intrusion gives a core the bounded contest through which it spends energy, circulates matter, learns, and renews itself.
|
||||
|
||||
Dwarven industry depends on materials produced by this ecology. Its machinery must therefore remain legible to dungeon instinct as delving rather than direct injury. Adventurers are not an obsolete extraction technology. They are the living interface through which the old bargain continues.
|
||||
|
||||
The governing ontological rule is simple:
|
||||
|
||||
> Sufficiently persistent magical organization becomes alive.
|
||||
|
|
@ -3,25 +3,24 @@ title: DELVE/HOLD
|
|||
description: One persistent world, experienced from opposite sides of the contract.
|
||||
---
|
||||
|
||||
**DELVE/HOLD** is a small persistent-world experiment about the relationship between living dungeons, the people who enter them, and the workshops that turn their spoils into an industrial civilization.
|
||||
<div class="delvehold-landing">
|
||||
<section class="delvehold-mode-panel delvehold-mode-panel-delve">
|
||||
<p class="delvehold-mode-label">DELVE</p>
|
||||
<h1>Enter a world that needs you to trespass.</h1>
|
||||
<p>Delve with friends into procedurally generated living dungeons. Accept contracts, survive ecologies that learn from intrusion, and decide how much of the promised extraction is worth attempting.</p>
|
||||
<p>Dungeons need to be delved. The danger is not an obstacle around the resource; it is part of the old metabolic bargain that lets a core spend, learn, shed, and renew itself.</p>
|
||||
</section>
|
||||
|
||||
The title changes emphasis with the player's perspective:
|
||||
<section class="delvehold-mode-panel delvehold-mode-panel-hold">
|
||||
<p class="delvehold-mode-label">HOLD</p>
|
||||
<h2>Build the warm machine waiting above.</h2>
|
||||
<p>Begin with one mage doing every useful task by hand. Encode those gestures into runes, compose them into spell engines, and grow a cozy workshop into a shared magical factory.</p>
|
||||
<p>Your workshop is one shard in a neighborhood graph. Trade with the players packed around you, share scarce infrastructure, and issue the contracts that become somebody else's night underground.</p>
|
||||
</section>
|
||||
|
||||
- **DELVE** is a cooperative dungeon RPG. Delvers accept contracts, enter procedurally generated cores, survive their ecologies, and bring home materials and knowledge.
|
||||
- **HOLD** is a cozy social incremental. A single mage performs useful work by hand, encodes those actions into runes, and gradually grows a workshop into a magical factory shared with a graph of neighboring players.
|
||||
|
||||
They are not separate worlds. CultMesh carries one typed world into two deliberately incomplete projections.
|
||||
|
||||
## The old bargain
|
||||
|
||||
Dungeon cores need to be delved. Intrusion is part of their lifecycle: it exercises defenses, circulates mana and matter, exposes mature growths, and gives the core the contest through which it learns and renews itself.
|
||||
|
||||
Industrial extraction must therefore remain legible to dungeon instinct as traditional delving. A drill driven directly into a crystal chamber reads as injury. Delvers entering through recognized boundaries, accepting danger, overcoming resistance, taking bounded rewards, and leaving again satisfy the older metabolic grammar.
|
||||
|
||||
The factory cannot replace adventurers. It can equip, schedule, measure, abstract, and increasingly misunderstand them.
|
||||
|
||||
## Start here
|
||||
|
||||
- [[Design/Core Loop|Core loop]]
|
||||
- [[Design/World Graph|World graph]]
|
||||
- [[Design/Authority Map|Authority map]]
|
||||
<nav class="delvehold-landing-links" aria-label="Explore DELVE/HOLD">
|
||||
<a href="./Documentation/">Documentation</a>
|
||||
<a href="./Game-Design/">Game Design</a>
|
||||
<a href="./Lore/">Lore</a>
|
||||
</nav>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -16,33 +16,33 @@ const config: QuartzConfig = {
|
|||
fontOrigin: "googleFonts",
|
||||
cdnCaching: true,
|
||||
typography: {
|
||||
header: { name: "Montserrat", weights: [300, 400, 600, 700] },
|
||||
title: { name: "Montserrat", weights: [300, 400, 600, 700] },
|
||||
header: { name: "Montserrat", weights: [100, 200, 300, 400, 600] },
|
||||
title: { name: "Montserrat", weights: [100, 200, 300, 400, 600] },
|
||||
body: { name: "Ubuntu", weights: [300, 400, 500, 700], includeItalic: true },
|
||||
code: "IBM Plex Mono",
|
||||
},
|
||||
colors: {
|
||||
lightMode: {
|
||||
light: "#f4eedf",
|
||||
lightgray: "#ded3ba",
|
||||
gray: "#857963",
|
||||
darkgray: "#42392d",
|
||||
dark: "#211b16",
|
||||
secondary: "#9b4f2f",
|
||||
tertiary: "#52705a",
|
||||
highlight: "rgba(155, 79, 47, 0.14)",
|
||||
textHighlight: "#d8a04b66",
|
||||
light: "#050505",
|
||||
lightgray: "#202020",
|
||||
gray: "#8f8f8f",
|
||||
darkgray: "#f4f4f4",
|
||||
dark: "#ffffff",
|
||||
secondary: "#2f9663",
|
||||
tertiary: "#2f9663",
|
||||
highlight: "rgba(47, 150, 99, 0.15)",
|
||||
textHighlight: "#2f966355",
|
||||
},
|
||||
darkMode: {
|
||||
light: "#17130f",
|
||||
lightgray: "#282117",
|
||||
gray: "#877b65",
|
||||
darkgray: "#d0c3a7",
|
||||
dark: "#f3ead8",
|
||||
secondary: "#e09555",
|
||||
tertiary: "#8fbd91",
|
||||
highlight: "rgba(224, 149, 85, 0.14)",
|
||||
textHighlight: "#d8a04b55",
|
||||
light: "#050505",
|
||||
lightgray: "#202020",
|
||||
gray: "#8f8f8f",
|
||||
darkgray: "#f4f4f4",
|
||||
dark: "#ffffff",
|
||||
secondary: "#2f9663",
|
||||
tertiary: "#2f9663",
|
||||
highlight: "rgba(47, 150, 99, 0.15)",
|
||||
textHighlight: "#2f966355",
|
||||
},
|
||||
},
|
||||
},
|
||||
|
|
|
|||
|
|
@ -1,9 +1,10 @@
|
|||
import { PageLayout, SharedLayout } from "./quartz/cfg"
|
||||
import * as Component from "./quartz/components"
|
||||
import DelveholdMasthead from "./quartz/components/DelveholdMasthead"
|
||||
|
||||
export const sharedPageComponents: SharedLayout = {
|
||||
head: Component.Head(),
|
||||
header: [Component.PageTitle(), Component.Spacer(), Component.Search(), Component.Darkmode()],
|
||||
header: [DelveholdMasthead(), Component.Spacer(), Component.Search()],
|
||||
afterBody: [],
|
||||
footer: Component.Footer({
|
||||
links: {
|
||||
|
|
|
|||
42
site/quartz/components/DelveholdMasthead.tsx
Normal file
42
site/quartz/components/DelveholdMasthead.tsx
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
import { QuartzComponent, QuartzComponentConstructor, QuartzComponentProps } from "./types"
|
||||
import { FullSlug, resolveRelative } from "../util/path"
|
||||
|
||||
const routes = [
|
||||
{ label: "Documentation", slug: "Documentation/index" as FullSlug, prefix: "Documentation" },
|
||||
{ label: "Game Design", slug: "Game-Design/index" as FullSlug, prefix: "Game-Design" },
|
||||
{ label: "Lore", slug: "Lore/index" as FullSlug, prefix: "Lore" },
|
||||
]
|
||||
|
||||
function isActive(currentSlug: string, prefix: string) {
|
||||
return currentSlug === prefix || currentSlug.startsWith(`${prefix}/`)
|
||||
}
|
||||
|
||||
export default (() => {
|
||||
const DelveholdMasthead: QuartzComponent = ({ fileData }: QuartzComponentProps) => {
|
||||
const currentSlug = fileData.slug ?? ("index" as FullSlug)
|
||||
|
||||
return (
|
||||
<section class="delvehold-masthead">
|
||||
<a class="delvehold-wordmark" href={resolveRelative(currentSlug, "index" as FullSlug)}>
|
||||
DELVE/HOLD
|
||||
</a>
|
||||
<nav class="delvehold-nav" aria-label="DELVE/HOLD sections">
|
||||
{routes.map((route) => {
|
||||
const active = isActive(currentSlug, route.prefix)
|
||||
return (
|
||||
<a
|
||||
href={resolveRelative(currentSlug, route.slug)}
|
||||
class={active ? "active" : undefined}
|
||||
aria-current={active ? "page" : undefined}
|
||||
>
|
||||
{route.label}
|
||||
</a>
|
||||
)
|
||||
})}
|
||||
</nav>
|
||||
</section>
|
||||
)
|
||||
}
|
||||
|
||||
return DelveholdMasthead
|
||||
}) satisfies QuartzComponentConstructor
|
||||
|
|
@ -1,17 +1,102 @@
|
|||
@use "./base.scss";
|
||||
@use "./variables.scss" as *;
|
||||
|
||||
body {
|
||||
background-image:
|
||||
radial-gradient(circle at 18% 8%, rgba(143, 189, 145, 0.08), transparent 30rem),
|
||||
radial-gradient(circle at 82% 18%, rgba(224, 149, 85, 0.08), transparent 34rem);
|
||||
@property --mode-accent {
|
||||
syntax: "<color>";
|
||||
inherits: true;
|
||||
initial-value: #2f9663;
|
||||
}
|
||||
|
||||
.page-title a {
|
||||
letter-spacing: 0.04em;
|
||||
:root {
|
||||
--delve-green: #2f9663;
|
||||
--hold-purple: #996de3;
|
||||
--mode-accent: var(--delve-green);
|
||||
}
|
||||
|
||||
body {
|
||||
background: #050505;
|
||||
}
|
||||
|
||||
.delvehold-masthead {
|
||||
display: flex;
|
||||
flex: 1 1 auto;
|
||||
align-items: baseline;
|
||||
gap: 2rem;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.delvehold-wordmark {
|
||||
color: var(--mode-accent);
|
||||
font-family: var(--titleFont);
|
||||
font-size: 1.75rem;
|
||||
font-weight: 100;
|
||||
letter-spacing: 0.055em;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.article-title,
|
||||
article > h1,
|
||||
article > h2,
|
||||
article > h3 {
|
||||
font-family: var(--titleFont);
|
||||
font-weight: 100;
|
||||
letter-spacing: 0.025em;
|
||||
}
|
||||
|
||||
.delvehold-nav {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 0.4rem 1.2rem;
|
||||
|
||||
a {
|
||||
color: var(--darkgray);
|
||||
font-family: var(--headerFont);
|
||||
font-size: 0.92rem;
|
||||
font-weight: 500;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
a:hover,
|
||||
a.active {
|
||||
color: var(--mode-accent);
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 800px) {
|
||||
.delvehold-masthead {
|
||||
flex-direction: column;
|
||||
align-items: flex-start;
|
||||
gap: 0.75rem;
|
||||
}
|
||||
}
|
||||
|
||||
body[data-slug="index"] {
|
||||
--secondary: var(--mode-accent);
|
||||
--tertiary: var(--mode-accent);
|
||||
--highlight: color-mix(in srgb, var(--mode-accent) 15%, transparent);
|
||||
--textHighlight: color-mix(in srgb, var(--mode-accent) 34%, transparent);
|
||||
animation: delvehold-mode-color linear both;
|
||||
animation-timeline: scroll(root block);
|
||||
animation-range: 10% 90%;
|
||||
|
||||
&::before {
|
||||
content: "";
|
||||
position: fixed;
|
||||
z-index: 0;
|
||||
inset: -35vmax;
|
||||
pointer-events: none;
|
||||
background: color-mix(in srgb, var(--hold-purple) 9%, transparent);
|
||||
clip-path: polygon(100% 0, 100% 0, 100% 0);
|
||||
animation: delvehold-diagonal-wipe linear both;
|
||||
animation-timeline: scroll(root block);
|
||||
animation-range: 20% 80%;
|
||||
}
|
||||
|
||||
#quartz-root {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.page > #quartz-body {
|
||||
grid-template:
|
||||
"grid-header"
|
||||
|
|
@ -25,3 +110,80 @@ body[data-slug="index"] {
|
|||
display: none !important;
|
||||
}
|
||||
}
|
||||
|
||||
.delvehold-landing {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.delvehold-mode-panel {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
min-height: 72vh;
|
||||
padding: 5rem 0;
|
||||
|
||||
h1,
|
||||
h2 {
|
||||
max-width: 13ch;
|
||||
margin: 0 0 2rem;
|
||||
color: #fff;
|
||||
font-size: clamp(2.8rem, 7vw, 6rem);
|
||||
font-weight: 100;
|
||||
line-height: 0.96;
|
||||
}
|
||||
|
||||
p:not(.delvehold-mode-label) {
|
||||
max-width: 42rem;
|
||||
color: #fff;
|
||||
font-size: clamp(1rem, 1.5vw, 1.2rem);
|
||||
}
|
||||
}
|
||||
|
||||
.delvehold-mode-label {
|
||||
margin: 0 0 1.2rem;
|
||||
color: var(--mode-accent);
|
||||
font-family: var(--titleFont);
|
||||
font-size: 0.82rem;
|
||||
font-weight: 400;
|
||||
letter-spacing: 0.22em;
|
||||
}
|
||||
|
||||
.delvehold-landing-links {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 1.5rem;
|
||||
padding: 3rem 0 8rem;
|
||||
|
||||
a {
|
||||
color: var(--mode-accent);
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes delvehold-mode-color {
|
||||
0%,
|
||||
38% {
|
||||
--mode-accent: var(--delve-green);
|
||||
}
|
||||
|
||||
62%,
|
||||
100% {
|
||||
--mode-accent: var(--hold-purple);
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes delvehold-diagonal-wipe {
|
||||
from {
|
||||
clip-path: polygon(100% 0, 100% 0, 100% 0);
|
||||
}
|
||||
|
||||
to {
|
||||
clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
|
||||
}
|
||||
}
|
||||
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
body[data-slug="index"],
|
||||
body[data-slug="index"]::before {
|
||||
animation: none;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue