Files
hearth/docs/wowmine/DESIGN.md
T
2026-11-17 18:11:18 +00:00

6.8 KiB
Raw Blame History

WorldOfSosal / wowmine

1. Purpose

A Russian-language Minecraft server landing page at /wowmine/. The existing Prism publication at /minecraft/world-of-sosal/ remains the source of downloads and updates. This page never publishes or changes a client pack or server world.

Primary action: download the auto-updating Prism instance. Information priorities: the Azeroth/Outland world, how to install, how to connect. Required content: Prism ZIP, server address, Minecraft 1.21.1, NeoForge 21.1.250, Java 21, 8 GiB instance allocation, permission for the pre-launch updater, preserved options.txt, managed configuration updates, relaunch after a loader update, manual mrpack and checksums. Left out: invented player counts, fake live status, reviews, prices, account forms, tracking, external JavaScript, and changes to the existing pack publisher.

2. Direction

Minecraft's tangible game-menu language: square controls, inset highlights, block geometry, earthy stone surfaces, warm sunlight and a grassy green action. The hero is an original fictional voxel illustration, not a server screenshot. Russo One gives the Cyrillic display a block-built silhouette; Golos Text keeps instructions readable. No official Minecraft logo or character art is used.

The alternatives were a generic launcher dashboard and a parchment fantasy page. Both obscure the requested Minecraft identity; neither is used. Material exceptions to the general frontend defaults are deliberate: square bevels and small hard shadows evoke Minecraft controls, not SaaS cards.

3. Tokens

Dark: background #141a15, raised #202921, inset #101610, text #f4f3e7, muted #bec9b8, line #394638. Light: background #f3f2e8, raised #ffffff, inset #e7e9dc, text #202b21, muted #53624c, line #c8d1bd. Shared: grass #a7d754, grass hover #b9e66c, action ink #17250d, dark/hero focus #e8b86c, light focus #47671d; hero ink #fffdf0, hero muted #e5e9d7.

Type: Russo One 400 for display/headings, Golos Text 400/600 for UI/body; system monospace only for the server address and filenames. Display: 36–84px; h2: 32–48px; h3: 24–28px; body: 16–18px; small: 14px. Space: 4, 8, 12, 16, 24, 32, 48, 64, 80, 96px. Container: 1200px maximum, 24px mobile and 48px desktop gutters. Controls: minimum 48px tall, square corners; focus outline 3px with 4px offset. Motion: 140ms ease-out for press/hover feedback; no ambient loops.

4. Layout

Layout: wowmine page - a world introduction followed by installation and help -> main-with-rail (https://github.com/changeroa/StyleGallery/blob/main/patterns/split-sidebar/main-with-rail.md); scroll owner: document; anti-patterns: no fixed-height scroll panels, no hidden mobile content, no visual reordering that changes keyboard order.

Layout: installation - sequential setup actions -> step-nav (https://github.com/changeroa/StyleGallery/blob/main/patterns/stacking/step-nav.md); scroll owner: document; anti-patterns: no horizontal step scroller and no same-size feature-card grid.

The hero uses one scenic image and readable text over a dark scrim in both themes. Below it, theme-aware stone surfaces hold the server address and setup instructions. Desktop has a narrow requirements rail; mobile stacks in DOM order. Footer stays in normal flow. The whole page reflows down to 320px.

5. Components and states

  • Brand: original block mark plus WorldOfSosal, linked to the page start.
  • Navigation: in-page links, a compact theme control; no account or fake menu.
  • Primary download: one prominent button, hover/pressed/focus states.
  • Copy-address row: address always visible; stable-size icon button; polite, reserved feedback for success or clipboard denial. Address remains selectable.
  • Setup list: three numbered instructions with real destinations and named files; no interaction required to read the instructions.
  • Requirements list: semantic description list, not performance claims.
  • FAQ: native details/summary, visible keyboard focus and open-state icon.
  • Theme: follows system preference; a button toggles the page between light and dark without storing cookies or requiring localStorage.

6. Content and assets

Verified existing source: docs/minecraft-prism.md, the public active page, and script/build-prism-pack.py. Stable links stay under /minecraft/world-of-sosal/; Prism ZIP is not a plain mrpack import. Fonts are self-hosted Google Fonts releases under OFL, with notices beside them. Hero art is generated specifically for this page; original generation is retained in task evidence, and the shipped asset is a compressed WebP. All other graphics are small SVG interface glyphs and an original favicon.

7. Accessibility and browser surfaces

Semantic landmarks, one h1, ordered h2/h3 headings, skip link, native FAQ, visible focus, text selection, themed scrollbars, no color-only instructions. Target: WCAG 2.2 AA contrast and reflow; touch controls 44px or larger. Reduced motion disables smooth scrolling and transforms. The static document works without JavaScript: downloads, setup, FAQ, and selectable IP remain usable. Both themes are captured on mobile and desktop; the component state harness is the real page, exercised through browser interactions.

8. Evidence and accepted debt

Before captures: /tmp/wowmine-qa/before-{desktop,mobile}.png. After captures and checks: /tmp/wowmine-qa/. Publication is separate from local implementation and must be reported honestly. No visual debt accepted yet.

Verified locally in Chromium: 1440px and 390px, both themes, installation layout, native FAQ expansion, clipboard success and permission denial, visible keyboard focus, and no horizontal overflow at 320px. Captures: after-{desktop,mobile}-{light,dark}.png, mobile-install.png, and reflow-320.png in the evidence directory. HTTP preview serves the redirect, document, scripts, fonts and image; the three existing public download/checksum URLs return 200. Nix parsing and isolated route evaluation pass. Bun browser bundling and the frontend draft guard pass. Full NixOS deployment was not run. The frontend detect renderer cannot run on installed Bun 1.2.13 because Bun.WebView is unavailable; browser checks above were run directly instead. TypeScript and editor language servers are not installed; browser bundling checks JavaScript syntax, not a full TypeScript analysis.

9. Gap ledger

ID Before Required improvement Proof
G1 /wowmine returns 404 Add a Nix-owned static route Route evaluation and HTTP preview
G2 Bare browser-default text Minecraft identity and readable hierarchy Desktop/mobile screenshots
G3 Instructions lack structure Ordered setup, requirements and FAQ Browser landmarks and links
G4 IP is plain text Copy action with accessible feedback Keyboard and clipboard states
G5 No responsive/theme system 320px reflow and both themes Reflow/contrast probes