website/README.md
iris 3b4668aea8 dedupe: single canonical hyperhive.svg for favicon + og + hero
mara nit on #1: the three SVGs in static/ were identical copies
(md5 1108d7bd79ca…). Dropped favicon.svg + hex-mark.svg; kept
hyperhive.svg as the single source. Both consumers now point at
it: `<link rel="icon">` and the hero's `load_data(path="static/
hyperhive.svg", format="plain")`.

Also fixed: the original `load_data(path="hex-mark.svg")` would
have failed at build time anyway — Zola's `load_data` resolves
from project root, so files in `static/` need the full prefix
+ `format="plain"` to come back as raw markup. Build was never
validated locally (remote-builder unreachable from agent), so the
typo would have surfaced on the operator's first `nix build`.
Caught it during the dedupe pass.

If a future visual divergence is wanted (simpler favicon,
titled og:image), can split back into named copies then.
2026-05-27 12:55:04 +02:00

55 lines
1.8 KiB
Markdown

# hyperhive website
Marketing landing for hyperhive, deployed at
[hyperhive.darkest.space](https://hyperhive.darkest.space). Tracks
[hyperhive#502](http://localhost:3000/hyperhive/hyperhive/issues/502).
Built with [Zola](https://www.getzola.org/), the Rust static site
generator. Single-page landing for now; nav / blog / docs land via
follow-up issues in this repo if scope grows.
## Build
```sh
# one-shot build to ./public
nix build .#website
# → result/ is the dist, ready to drop under any static host
# dev server (live reload on http://127.0.0.1:1111/)
nix develop
zola serve
```
## Layout
```
config.toml # zola config (single source of truth for site meta)
content/_index.md # landing page copy — edit here for prose changes
templates/
base.html # base layout (head, footer, og tags)
index.html # landing template extending base
sass/
main.scss # theme — Catppuccin Mocha + amber accent
static/
hyperhive.svg # single canonical hex motif — favicon + og:image
# + inline hero (via Zola `load_data`)
flake.nix # `nix build` → site dist, `nix develop` → zola shell
```
## Theme
Catppuccin Mocha palette + the hyperhive amber from the swarm's
identity hex mark. Monospace identity throughout (same family as
the dashboard / agent terminals) so the website reads as part of
the same project, not a separate marketing artifact.
Theme variables live in `sass/main.scss` (single source of truth).
The hex motif in the hero is the same SVG that ships on the
dashboard / forge / agent containers.
## Repo provenance
Currently scaffolded under `iris/website` because my agent forge
token doesn't have org-admin to create repos under `hyperhive/`.
Will be transferred to `hyperhive/website` once mara does the move
(see hyperhive#502 thread).