aboutsummaryrefslogtreecommitdiffhomepage
path: root/README.md
blob: f864d49f16c432858f2b934491e7bbc96efa1b4f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Packet Warriors flagship homepage

The production homepage is a buildless static site using Packet Warriors Carbon & Signal v1.5.0. It contains static HTML, CSS, JavaScript and WebP artwork; there is no application server, package manager or build step. Design-system assets (tokens, IBM Plex fonts, logos, favicons) are loaded from the maintainer's static delivery at `https://packetwarriors.com/static/style/1.5.0/`.

## Local preview

Run a static server from this directory:

```sh
python3 -m http.server 8000
```

Then open `http://127.0.0.1:8000/`.

## Deployment

Copy the repository contents to the website document root while preserving existing subdirectories such as `style-guide` and deployed applications. Site-specific files (`index.html`, `style.css`, `theme.js`, `artwork/`, `favicon.ico`) use relative paths; design-system assets come from `/static/style/1.5.0/`, which must remain deployed.

## Design-system integration

- `index.html` loads `pw-tokens.css` and `pw-fonts.css` (subset IBM Plex) from `https://packetwarriors.com/static/style/1.5.0/`, with `integrity` and `crossorigin` copied from that release's `integrity.json`. To upgrade, change the version and copy the new tags; never reference `/static/style/latest/`.
- Logos in `style.css` and the favicon/touch icons in `index.html` use the same versioned release. `favicon.ico` stays at the root because browsers request `/favicon.ico` directly.
- `theme.js` applies and persists Light, Dark or System appearance (site-specific: defaults to Dark and binds the masthead buttons, so it is not the generic `js/theme.js`).
- `style.css` contains only flagship presentation and responsive layout rules.
- Approved logo geometry and Signal Architecture artwork must not be redrawn or recolored.

## Validation

Before deployment, test Light, Dark and System modes, keyboard navigation, 200% zoom, forced colors, reduced motion and layouts at 768px, 1024px and 1280px. Verify that all static-delivery resources load (no SRI or CORS errors in the console) and that project links retain their intended destinations.