Browse Source

Re-export 2026-06-04 12:13 EDT

Source: wp-content/themes/srh/static-export/ in windhamdavid/srh-edit
Files: header.html footer.html subdomain-shell.css
Asset URLs absolute against https://www.selfregional.org/.
windhamdavid 1 day ago
commit
597dfca356
4 changed files with 346 additions and 0 deletions
  1. 82 0
      README.md
  2. 189 0
      footer.html
  3. 56 0
      header.html
  4. 19 0
      subdomain-shell.css

+ 82 - 0
README.md

@@ -0,0 +1,82 @@
+# SRH Static Shell Bundle
+
+A standalone HTML + CSS bundle that lets subdomains and partner integrations render the same header + footer chrome as **www.selfregional.org** without depending on the WordPress runtime.
+
+Primary consumer: the **Epic MyChart prelogin shell** for `mychart.selfregional.org` and `providers.selfregional.org`. Anyone else who needs the SRH brand chrome on a non-WordPress page can use these files the same way.
+
+## Files
+
+| File | What it is |
+|---|---|
+| `header.html` | Rendered `<header>` markup — logo, top nav, mobile drawer trigger. Drop into the `<body>` at the top of the page. |
+| `footer.html` | Rendered `<footer>` markup — 5-column nav, social links, legal, login link. Drop at the bottom of the `<body>`. |
+| `subdomain-shell.css` | All CSS needed to paint the header + footer. Single self-contained stylesheet — no external dependencies (fonts + logo + icons load from `https://www.selfregional.org/...` via absolute URLs already baked in). |
+
+All three files are **generated** from the live SRH WordPress site. They are not hand-edited — re-running the exporter against the WP source replaces them. If you need a change to the header or footer markup, request it on the WordPress side and the next export will pick it up.
+
+## Integration
+
+The CSS file must load **before** the HTML fragments render. Place a single `<link>` in your `<head>`:
+
+```html
+<link rel="stylesheet" href="path/to/subdomain-shell.css">
+```
+
+Then include the two HTML fragments anywhere in the body via whichever templating mechanism you already use — server-side include, fetch + innerHTML, build-time copy, etc.
+
+**Minimal page example:**
+
+```html
+<!DOCTYPE html>
+<html lang="en">
+<head>
+  <meta charset="utf-8">
+  <meta name="viewport" content="width=device-width, initial-scale=1">
+  <title>Self Regional Healthcare</title>
+  <link rel="stylesheet" href="subdomain-shell.css">
+</head>
+<body>
+  <!-- paste contents of header.html here -->
+
+  <main>
+    <!-- your application's content -->
+  </main>
+
+  <!-- paste contents of footer.html here -->
+</body>
+</html>
+```
+
+### Shadow DOM hosts
+
+If you embed the fragments inside a **shadow root** (the Epic prelogin shell does this — the `<footer id="CustomFooter">` element has an attached open shadow tree), the CSS bundle's variable definitions ship under a `:host, :root` selector so the theme's CSS custom properties (brand colors, spacing scale, font sizes) inherit correctly through the shadow boundary. No additional setup needed on your end — just `<link>` the stylesheet inside the shadow root as you would normally.
+
+## Versioning + updates
+
+Each file's header carries a generated banner with the export timestamp + source URL:
+
+```
+<!--
+  SRH static shell fragment — exported 2026-06-04 12:18 EDT
+  Source: https://srh.stu/  ·  Re-export: _claude/_static-export/export.py
+  Asset URLs rewritten to absolute https://www.selfregional.org
+-->
+```
+
+Updates land here whenever the WordPress source markup or CSS changes — typically: logo swap, nav restructure, footer column edit, theme color tweak. Cadence is low (weeks to months between exports under normal operation; multiple per day during active development sprints).
+
+Pull the latest before each deploy of your consuming application. The repo's commit history captures every bundle revision in case you need to pin to a specific snapshot.
+
+## Asset URLs
+
+All `href`, `src`, and `url(...)` references in the bundle resolve against `https://www.selfregional.org`. The SRH WordPress origin must remain reachable from end-user browsers for fonts, logos, and any external scripts to load. If `www.selfregional.org` is ever blocked from a consuming network, the chrome will still structurally render but assets (logo, fonts, FontAwesome icons) will fail.
+
+## Constraints + gotchas
+
+- **No JavaScript in the bundle** — the live SRH site uses `auto-hide-nav.js` to scroll-hide the header and to dynamically measure `--header-height`. The static bundle ships a fixed `--header-height: 80px` (60px on mobile) fallback instead. If your page content sits behind the fixed header, override `--header-height` on the host element to whatever works for your layout.
+- **Nav menu changes are baked in.** If WordPress's Appearance → Menus is edited, the change reaches this bundle only after the next export.
+- **Login link** in the footer points to wp-login on the main SRH site. If your consuming app has its own auth flow, hide that link with `display: none` in your own CSS rather than editing `footer.html` directly — keeps future exports clean.
+
+## Contact
+
+Maintained by David Windham. Open issues here or contact via the main SRH repo if you need a bundle update or have integration questions.

File diff suppressed because it is too large
+ 189 - 0
footer.html


+ 56 - 0
header.html

@@ -0,0 +1,56 @@
+<!--
+  SRH static shell fragment — exported 2026-06-04 12:13 EDT
+  Source: https://srh.stu/  ·  Re-export: _claude/_static-export/export.py
+  Asset URLs rewritten to absolute https://www.selfregional.org
+-->
+<header class="wp-block-template-part">
+<div class="wp-block-group srh-auto-hide-header is-layout-flow wp-block-group-is-layout-flow">
+  
+
+<div class="wp-block-group alignfull has-accent-4-background-color has-background has-global-padding is-layout-constrained wp-block-group-is-layout-constrained" style="margin-top:0;margin-bottom:0">
+
+<div style="height:5px" aria-hidden="true" class="wp-block-spacer"></div>
+
+</div>
+
+
+
+<div class="wp-block-group has-accent-3-background-color has-background has-global-padding is-layout-constrained wp-block-group-is-layout-constrained" style="margin-top:0;margin-bottom:0">
+    
+    <div style="height:10px" aria-hidden="true" class="wp-block-spacer"></div>
+    
+</div>
+
+
+
+<div class="wp-block-group has-off-base-color has-accent-2-background-color has-text-color has-background has-link-color wp-elements-db7ff49867c8c9c2f58bdfa613f3ff15 has-global-padding is-layout-constrained wp-block-group-is-layout-constrained" style="margin-top:0;margin-bottom:0">
+    
+    <div class="wp-block-group alignwide has-medium-font-size is-content-justification-space-between is-nowrap is-layout-flex wp-container-core-group-is-layout-4f962a6f wp-block-group-is-layout-flex" style="margin-top:0;margin-bottom:0;padding-top:var(--wp--preset--spacing--50);padding-bottom:var(--wp--preset--spacing--50)">
+        
+        <div class="wp-block-group is-content-justification-left is-nowrap is-layout-flex wp-container-core-group-is-layout-a1b15d37 wp-block-group-is-layout-flex">
+            
+            <figure class="wp-block-image size-full is-resized srh-logo"><a href="https://www.selfregional.org/"><img decoding="async" src="https://www.selfregional.org/wp-content/themes/srh/img/SRH_Logo.png" alt="SRH Logo" width="280"/></a></figure>
+            
+        </div>
+        
+
+        
+        <div class="wp-block-group has-medium-font-size is-content-justification-right is-nowrap is-layout-flex wp-container-core-group-is-layout-e4135b28 wp-block-group-is-layout-flex" style="padding-top:0;padding-right:var(--wp--preset--spacing--50);padding-bottom:0;padding-left:var(--wp--preset--spacing--50)">
+            <nav style="font-style:normal;font-weight:600" class="items-justified-right no-wrap wp-block-navigation is-content-justification-right is-nowrap is-layout-flex wp-container-core-navigation-is-layout-7e139665 wp-block-navigation-is-layout-flex" aria-label="Top Nav"><ul style="font-style:normal;font-weight:600" class="wp-block-navigation__container items-justified-right no-wrap wp-block-navigation"><li class="wp-block-navigation-item wp-block-navigation-link"><a class="wp-block-navigation-item__content"  href="https://www.selfregional.org/services/"><span class="wp-block-navigation-item__label">Services</span></a></li><li class="wp-block-navigation-item wp-block-navigation-link"><a class="wp-block-navigation-item__content"  href="https://www.selfregional.org/locations/"><span class="wp-block-navigation-item__label">Locations</span></a></li><li class="wp-block-navigation-item wp-block-navigation-link"><a class="wp-block-navigation-item__content"  href="https://www.selfregional.org/mychart/"><span class="wp-block-navigation-item__label">MyChart</span></a></li><li class="wp-block-navigation-item wp-block-navigation-link"><a class="wp-block-navigation-item__content"  href="https://www.selfregional.org/careers/"><span class="wp-block-navigation-item__label">Careers</span></a></li></ul></nav>
+
+            
+        </div>
+        
+    </div>
+    
+</div>
+
+
+
+  
+  <div class="wp-block-group srh-breadcrumbs-row has-global-padding is-layout-constrained wp-block-group-is-layout-constrained">
+    
+  </div>
+  
+</div>
+</header>

File diff suppressed because it is too large
+ 19 - 0
subdomain-shell.css


Some files were not shown because too many files changed in this diff