mirror of
https://github.com/parsnetwork/pars-vote.git
synced 2026-10-30 19:43:22 +00:00
index.html carried a bare "Vote" with no icon or description, so crawlers and link previews that do not run the bundle saw no brand. The fork serves one site, so the head now says Pars Vote with its description, canonical, Open Graph tags and icons. The tab icon is content-addressed (src/khatam.svg, hashed by the build), so no cache can keep an earlier mark under a fixed /favicon.svg. The built page carries a Content-Security-Policy written by the build: its own scripts, the two head boot scripts by sha256, and Cloudflare's beacon; connections only to itself, the Pars chain, pars.id and the beacon's collector; no frames, objects, foreign base or form targets. The page keeps IAM tokens in storage, so an injected script can neither run nor send them. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
31 lines
1.6 KiB
HTML
31 lines
1.6 KiB
HTML
<!doctype html>
|
|
<!-- The engine theme and the CSS token layer are separate switches: the
|
|
provider picks the engine's dark row, this class is what makes the custom
|
|
properties resolve to their dark values. Setting one without the other
|
|
gives a dark page with light hairlines. -->
|
|
<html lang="en" class="dark">
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
<!-- This bundle is pars.vote and nothing else: Pars is the only tenant its
|
|
entry registers, so the name is written here for the readers that never
|
|
run the script — a crawler, a link preview, a bookmark. -->
|
|
<title>Pars Vote</title>
|
|
<meta name="description" content="Pars governance: proposals, voting power, treasury, bonds and the network of committees, read from the Pars chain." />
|
|
<link rel="canonical" href="https://pars.vote/" />
|
|
<link rel="icon" type="image/svg+xml" href="/src/khatam.svg" />
|
|
<link rel="apple-touch-icon" href="/icon-180.png" />
|
|
<meta property="og:type" content="website" />
|
|
<meta property="og:site_name" content="Pars Vote" />
|
|
<meta property="og:title" content="Pars Vote" />
|
|
<meta property="og:description" content="Pars governance: proposals, voting power, treasury, bonds and the network of committees, read from the Pars chain." />
|
|
<meta property="og:url" content="https://pars.vote/" />
|
|
<meta property="og:image" content="https://pars.vote/icon-180.png" />
|
|
<meta name="twitter:card" content="summary" />
|
|
</head>
|
|
<body>
|
|
<div id="root"></div>
|
|
<script type="module" src="/src/main.tsx"></script>
|
|
</body>
|
|
</html>
|