Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion partner/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ <h1 id="hero-title">Building the bridge from frontier discovery to <span class="
<div class="grid-3">
<article class="card work-card"><div class="num">Materials</div><h3>Materials Platform</h3><p>Source-to-system pathways for quantum-enabling and critical materials.</p><a href="../materials/index.html">Explore Materials →</a></article>
<article class="card work-card"><div class="num">Readiness</div><h3>Readiness Infrastructure</h3><p>Evidence-centered methods for qualification, continuity, and trusted deployment.</p><a href="../readiness/index.html">Explore Readiness →</a></article>
<article class="card work-card"><div class="num">Decision Infrastructure</div><h3>Frontier Decision Engine</h3><p>Human-governed decision infrastructure for consequential choices under deep uncertainty.</p><a href="https://github.com/Bridge-Node-7/frontier-decision-engine" rel="noopener" target="_blank">Explore the Engine </a></article>
<article class="card work-card"><div class="num">Decision Infrastructure</div><h3>Frontier Decision Engine</h3><p>Human-governed decision infrastructure for consequential choices under deep uncertainty.</p><a href="https://bridgenode7.com/frontier-decision-engine/">Explore the Engine </a></article>
</div>
</div></section>
<section class="inquiry" id="inquiry" aria-labelledby="inquiry-title"><div class="shell"><div class="inquiry-box">
Expand Down
7 changes: 7 additions & 0 deletions scripts/validate_site.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@
"https://bridgenode7.com/",
"https://bridgenode7.com/materials/",
"https://bridgenode7.com/readiness/",
"https://bridgenode7.com/frontier-decision-engine/",
"https://bridgenode7.com/partner/",
"https://bridgenode7.com/golden-age/",
"https://bridgenode7.com/privacy/",
Expand Down Expand Up @@ -178,6 +179,8 @@
HOME_PARTNER_CARD = '<a aria-label="Explore Bridge Node 7 Partner" class="card" href="partner/index.html">'
PARTNER_GOLDEN_AGE_LINK = '<a class="btn secondary" href="../golden-age/index.html">Explore A New Golden Age</a>'
GOLDEN_AGE_PARTNER_LINK = '<a class="btn" href="../partner/index.html">Partner with Bridge Node 7</a>'
PARTNER_FDE_LINK = '<a href="https://bridgenode7.com/frontier-decision-engine/">Explore the Engine →</a>'
PARTNER_FDE_REPOSITORY_URL = "https://github.com/Bridge-Node-7/frontier-decision-engine"

class PageParser(HTMLParser):
def __init__(self) -> None:
Expand Down Expand Up @@ -397,6 +400,10 @@ def main() -> int:
if home.count(HOME_PARTNER_CARD) != 1:
fail(errors, f"index.html: expected exactly one Strategic Partners card link to Partner, found {home.count(HOME_PARTNER_CARD)}")
partner_text = (ROOT / "partner/index.html").read_text(encoding="utf-8")
if partner_text.count(PARTNER_FDE_LINK) != 1:
fail(errors, "partner/index.html: exact live Frontier Decision Engine pathway missing")
if PARTNER_FDE_REPOSITORY_URL in partner_text:
fail(errors, "partner/index.html: FDE card must target the live application, not GitHub")
if partner_text.count(PARTNER_GOLDEN_AGE_LINK) != 1:
fail(errors, "partner/index.html: exact Golden Age pathway missing")
golden_age_text = (ROOT / "golden-age/index.html").read_text(encoding="utf-8")
Expand Down
1 change: 1 addition & 0 deletions sitemap.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
<url><loc>https://bridgenode7.com/</loc></url>
<url><loc>https://bridgenode7.com/materials/</loc></url>
<url><loc>https://bridgenode7.com/readiness/</loc></url>
<url><loc>https://bridgenode7.com/frontier-decision-engine/</loc></url>
<url><loc>https://bridgenode7.com/partner/</loc></url>
<url><loc>https://bridgenode7.com/golden-age/</loc></url>
<url><loc>https://bridgenode7.com/privacy/</loc></url>
Expand Down