56 lines
3.9 KiB
Markdown
56 lines
3.9 KiB
Markdown
# Plan: Global Site Footer (`"Made with ♥ by Lemurs."`) Across All `hyperstitionstud.io` Web Surfaces (`v2.0.0`)
|
||
|
||
- **Document ID:** `PLAN-GLOBAL-SITE-FOOTER-LEMURS` (`v2.0.0`)
|
||
- **Visible Footer Copy:** `Made with ♥ by Lemurs.`
|
||
- **Unicode Heart Specification:** `U+2665` (`♥`, BLACK HEART SUIT, UTF-8 `0xE2 0x99 0xA5` / HTML entity `♥`) wrapped in an accessible `<span class="hs-heart" role="img" aria-label="love">♥</span>` styled in `#fb7185` / `#ff4d4d`.
|
||
- **Target Scope:** All HTML web entry points across `hyperstitionstudio-core`, `encyclopedia-knowledge-graph`, and `haiperdohp-jemaytreeah` (both on `https://hyperstitionstud.io` and in offline `file://` mode).
|
||
|
||
---
|
||
|
||
## 1. Typography, Unicode & Accessibility Specification
|
||
|
||
1. **Why Unicode `U+2665` (`♥`) Over Multi-Codepoint Emoji (`U+2764 U+FE0F`):**
|
||
- `U+2665` (`♥`) is natively embedded in `DejaVu Sans Mono`, `DejaVu Sans`, `JetBrains Mono`, `SF Mono`, `Menlo`, and `Consolas`. Unlike color emoji fonts (which are often absent on minimal Linux desktop setups and render inconsistently across operating systems), `U+2665` renders deterministically offline across 100% of browsers and OSes without external font files.
|
||
2. **Accessible HTML & CSS Pattern:**
|
||
```html
|
||
<span class="hs-lemur-credit">Made with <span class="hs-heart" role="img" aria-label="love">♥</span> by Lemurs.</span>
|
||
```
|
||
```css
|
||
.hs-lemur-credit {
|
||
color: #94a3b8;
|
||
font-size: 0.74rem;
|
||
letter-spacing: 0.02em;
|
||
}
|
||
.hs-heart {
|
||
color: #fb7185;
|
||
display: inline-block;
|
||
padding: 0 2px;
|
||
}
|
||
```
|
||
- Screen readers announce `role="img" aria-label="love"` as `"Made with love by Lemurs."` instead of reading `"Black Heart Suit"`.
|
||
|
||
---
|
||
|
||
## 2. Target HTML Surfaces Across the 6-Repository Workspace
|
||
|
||
| # | Web Route on `https://hyperstitionstud.io` | Repository & File Path | Placement & Layout Integration |
|
||
| :- | :--- | :--- | :--- |
|
||
| **1** | `/` (Root Portal Homepage) | `/workspace/hyperstitionstudio-core/site/index.html` | Appended inside the existing `<footer>` element at the bottom of `.container`. |
|
||
| **2** | `/learn/` (Self-Paced Learning Sub-Page) | `/workspace/hyperstitionstudio-core/site/learn/index.html` | Included in the shared `<footer>` element at the bottom of `.container`. |
|
||
| **3** | `/graph/` (Interactive Knowledge Graph Workbench) | `/workspace/encyclopedia-knowledge-graph/index.html` | Added as a compact `24px` bottom bar (`<footer class="hs-global-footer">`) directly below `.workspace` inside the `100vh` flex column so the graph canvas remains `100%` viewport-fitted without scrollbars. |
|
||
| **4** | `/graph/docs/cross-repo-dependency-and-audit-flow-diagram.html` | `/workspace/encyclopedia-knowledge-graph/docs/cross-repo-dependency-and-audit-flow-diagram.html` | Appended inside `<p class="footer">` at the bottom of `.container`. |
|
||
| **5** | `/calc/` (Integrated Gematria Calculator) | `/workspace/haiperdohp-jemaytreeah/index.html` | Added as `<footer id="hsGlobalFooter">` below `<div id="calcMain">`, styled in monospace to match the calculator's dark interface. |
|
||
|
||
---
|
||
|
||
## 3. Implementation & Automated Regression Gate (`Phases 1–2`)
|
||
|
||
### Phase 1: Patch All HTML Entry Points
|
||
1. Update `/workspace/hyperstitionstudio-core/site/index.html` (and `/workspace/hyperstitionstudio-core/site/learn/index.html` when built).
|
||
2. Update `/workspace/encyclopedia-knowledge-graph/index.html` and `/workspace/encyclopedia-knowledge-graph/docs/cross-repo-dependency-and-audit-flow-diagram.html`.
|
||
3. Update `/workspace/haiperdohp-jemaytreeah/index.html`.
|
||
|
||
### Phase 2: Add Automated Footer Presence Check in `tests/test_core_suite.py` & Verify
|
||
1. In `/workspace/hyperstitionstudio-core/tests/test_core_suite.py`, assert that every HTML surface contains `"by Lemurs."` and the Unicode heart (`"♥"` or `"♥"`).
|
||
2. Run `test_core_suite.py` and `deploy/test-first-deployment.sh`, commit cleanly across the modified repositories, and push via `/home/m00t/hermes/workspace/push-all-to-git-libre-audio.sh`.
|