https://crh2507.github.io/2Contains this index file content
<!DOCTYPE html>
<html lang=”en”>
<head>
<meta charset=”UTF-8″ />
<meta name=”viewport” content=”width=device-width, initial-scale=1.0″ />
<title>Phase 14 Wallet Governance</title>
<link rel=”manifest” href=”manifest.json” />
<meta name=”theme-color” content=”#0f0f0f” />
<link rel=”icon” href=”favicon.png” type=”image/png” />
<style>
body {
margin: 0;
font-family: system-ui, sans-serif;
background: #0f0f0f;
color: #f0f0f0;
display: flex;
flex-direction: column;
align-items: center;
padding: 2rem;
}
h1 { font-size: 1.8rem; margin-bottom: 0.5rem; }
.module { margin: 1rem 0; padding: 1rem; border: 1px solid #444; border-radius: 8px; width: 100%; max-width: 600px; background: #1a1a1a; }
.module h2 { margin-top: 0; font-size: 1.2rem; }
.credit { color: #00ff99; font-weight: bold; }
.trust { color: #66ccff; font-weight: bold; }
.fork { color: #ffcc00; font-weight: bold; }
button {
background: #222;
color: #fff;
border: 1px solid #555;
padding: 0.5rem 1rem;
border-radius: 4px;
cursor: pointer;
}
button:hover { background: #333; }
</style>
</head>
<body>
<h1>🧬 Phase 14 Governance Dashboard</h1>
<div class=”module”>
<h2>Credit Score Module</h2>
<p>Your dynamic credit score: <span class=”credit” id=”creditScore”>Loading…</span></p>
<button onclick=”updateCredit()”>Refresh Score</button>
</div>
<div class=”module”>
<h2>Trust Graph Node</h2>
<p>Trust weight: <span class=”trust” id=”trustWeight”>Calculating…</span></p>
<button onclick=”simulateTrust()”>Simulate Trust Flow</button>
</div>
<div class=”module”>
<h2>Forkable Constitution</h2>
<p>Current version: <span class=”fork” id=”constitutionVersion”>v1.0</span></p>
<button onclick=”forkConstitution()”>Fork Governance</button>
</div>
<script>
if (“serviceWorker” in navigator) {
navigator.serviceWorker.register(“sw.js”);
}
function updateCredit() {
const score = Math.floor(Math.random() * 1000);
document.getElementById(“creditScore”).textContent = score;
}
function simulateTrust() {
const weight = (Math.random() * 10).toFixed(2);
document.getElementById(“trustWeight”).textContent = weight;
}
function forkConstitution() {
const version = “v” + (Math.random() * 10).toFixed(1);
document.getElementById(“constitutionVersion”).textContent = version;
alert(“Forked to ” + version);
}
</script>
</body>
</html>