From c9fa3079abe2b79b39ca2c2a60d11fed477503a0 Mon Sep 17 00:00:00 2001
From: Jacob Zweifel
Date: Wed, 26 Aug 2026 22:20:59 -0400
Subject: [PATCH] Dress the admin pages in the site letterhead
The /admin routes were unstyled system-ui defaults next to a landing page
with a committed identity. A shared admin layout now carries the same
letterhead: the airmail stripe, the paper/ink/accent palette in both
color schemes, serif body with the mono uppercase system voice, a
masthead nav with the current section marked, and one skin for inputs,
buttons, links, notices, and code across every admin page.
The pages shed their ad-hoc styles and hardcoded colors, keeping only
their own structure. Redundant per-page back-links gave way to the
masthead nav; destructive actions (Delete, Remove, Release, Sign out)
wear a quiet outline instead of the primary accent; the hosting page's
paused notice trades its side-stripe for a sunk paper panel.
Co-Authored-By: Claude Fable 5
---
apps/web/src/lib/components/PageForm.svelte | 12 +-
apps/web/src/routes/admin/+layout.svelte | 315 ++++++++++++++++++
apps/web/src/routes/admin/+page.svelte | 42 +--
.../web/src/routes/admin/hosting/+page.svelte | 76 +++--
apps/web/src/routes/admin/pages/+page.svelte | 37 +-
.../routes/admin/pages/[rkey]/+page.svelte | 16 +-
.../src/routes/admin/pages/new/+page.svelte | 14 +-
7 files changed, 402 insertions(+), 110 deletions(-)
create mode 100644 apps/web/src/routes/admin/+layout.svelte
diff --git a/apps/web/src/lib/components/PageForm.svelte b/apps/web/src/lib/components/PageForm.svelte
index c95eafc..c6534cb 100644
--- a/apps/web/src/lib/components/PageForm.svelte
+++ b/apps/web/src/lib/components/PageForm.svelte
@@ -55,17 +55,11 @@
display: grid;
gap: 0.25rem;
}
- input,
- select,
- textarea {
- font: inherit;
- padding: 0.4rem;
- }
- textarea {
- font-family: ui-monospace, monospace;
+ select {
+ justify-self: start;
}
button {
justify-self: start;
- padding: 0.5rem 1rem;
+ margin-top: 0.5rem;
}
diff --git a/apps/web/src/routes/admin/+layout.svelte b/apps/web/src/routes/admin/+layout.svelte
new file mode 100644
index 0000000..58aab06
--- /dev/null
+++ b/apps/web/src/routes/admin/+layout.svelte
@@ -0,0 +1,315 @@
+
+
+