mirror of
https://github.com/AtHeartEngineering/zk-kit.git
synced 2026-01-14 04:48:02 -05:00
Former-commit-id: bca796e21537a54520345be5df23187230526952 [formerly d822e266261170e14a65b246bc344eda18e532d4] [formerly 0e92e1675c83c24cf72f41194fbad1d3ebbc3344 [formerly 234c6e6a65a2b05160310f3652444b9762cae6a3]] [formerly 94b27708b5f4b77cd0abe8686eb94735f72e69bd [formerly 737d6449ad67619c77fa1095685dce051dda9c60] [formerly 3fbc32a4fad5588bb65619b037c5b96273db9a29 [formerly 147c8cc74dd81a50c212d3b5895864a7d7540b54]]] Former-commit-id: 393573e30f5e97f22500c4cb56a25cebea8153b5 [formerly 630b921ea3ef0da1f4968894c7229ec99a6a1b21] [formerly 7911d66aca96b73347fbe789c59beac786d0d76f [formerly 86abe30e2244e2378f57590b7d6dbb273a1af169]] Former-commit-id: a0062cc791939ccbde16719697100964ceeb62b0 [formerly 8f173bac7761d2843af24c6f56d31b5354b21fee] Former-commit-id: 7de06b25788f5f6a4e4fc43081219ee2569b2a13
104 lines
3.9 KiB
HTML
104 lines
3.9 KiB
HTML
<!DOCTYPE html>
|
|
|
|
<html style="height: 100%">
|
|
<head>
|
|
<meta charSet="utf-8" />
|
|
<meta http-equiv="x-ua-compatible" content="IE=edge" />
|
|
<title>ZK-kit</title>
|
|
<meta name="description" content="A monorepo of reusable JS libraries for zero-knowledge technologies." />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css" />
|
|
</head>
|
|
<body
|
|
style="
|
|
margin: 0;
|
|
background-color: #3e2626;
|
|
color: white;
|
|
height: 100%;
|
|
font-family: 'Courier New', monospace;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: space-between;
|
|
"
|
|
>
|
|
<div
|
|
style="
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
flex: 1;
|
|
padding: 0 20px;
|
|
text-align: center;
|
|
"
|
|
>
|
|
<div style="display: flex; align-items: center">
|
|
<a style="margin-right: 15px; margin-bottom: 5px" target="_blank" href="https://github.com/privacy-scaling-explorations/zk-kit">
|
|
<i class="fa fa-github" style="font-size: 40px; color: white"></i>
|
|
</a>
|
|
<h1 style="margin: 0; font-size: 40px">ZK-kit</h1>
|
|
</div>
|
|
<p style="max-width: 400px">A monorepo of reusable JS libraries for zero-knowledge technologies.</p>
|
|
<ul style="list-style-type: none; padding: 0; margin: 0"></ul>
|
|
</div>
|
|
<footer style="display: flex; justify-content: center; padding: 15px 20px; background-color: #2e1c1c">
|
|
<div style="display: flex; justify-content: space-between; align-items: center; width: 900px">
|
|
<p style="margin: 0; font-size: 16px">Copyright © 2022 Ethereum Foundation</p>
|
|
<div>
|
|
<a style="margin-right: 15px; text-decoration: none" target="_blank" href="https://github.com/privacy-scaling-explorations">
|
|
<i class="fa fa-github" style="font-size: 24px; color: white"></i>
|
|
</a>
|
|
<a
|
|
style="margin-right: 15px; text-decoration: none"
|
|
target="_blank"
|
|
href="https://medium.com/privacy-scaling-explorations"
|
|
>
|
|
<i class="fa fa-medium" style="font-size: 24px; color: white"></i>
|
|
</a>
|
|
<a
|
|
style="margin-right: 15px; text-decoration: none"
|
|
target="_blank"
|
|
href="https://twitter.com/PrivacyScaling"
|
|
>
|
|
<i class="fa fa-twitter" style="font-size: 24px; color: white"></i>
|
|
</a>
|
|
</div>
|
|
</div>
|
|
</footer>
|
|
</body>
|
|
<script>
|
|
const url = "https://api.github.com/repos/privacy-scaling-explorations/zk-kit/contents?ref=gh-pages"
|
|
|
|
function insertLinks(packages) {
|
|
const [element] = window.document.getElementsByTagName("ul")
|
|
let html = ""
|
|
|
|
for (const package of packages) {
|
|
html += `<li style="display: flex; align-items: center; margin-bottom: 8px">
|
|
<a style="margin-right: 15px" target="_blank" href="https://github.com/privacy-scaling-explorations/zk-kit/tree/main/packages/${package}">
|
|
<i class="fa fa-github" style="font-size: 24px; color: white"></i>
|
|
</a>
|
|
<a style="color: white; text-decoration: none; font-size: 16px"
|
|
onmouseover="this.style.color='orange';"
|
|
onmouseout="this.style.color='white';"
|
|
target="_blank" href="http://zkkit.appliedzkp.org/${package}">
|
|
@zk-kit/${package} >
|
|
</a></li>`
|
|
}
|
|
|
|
element.innerHTML = html
|
|
}
|
|
|
|
fetch(url)
|
|
.then((response) => response.json())
|
|
.then((data) => {
|
|
const ignore = [".nojekyll", "index.html", "CNAME"]
|
|
const packages = data.map((c) => c.name).filter((name) => !ignore.includes(name))
|
|
|
|
localStorage.setItem("packages", JSON.stringify(packages))
|
|
|
|
insertLinks(packages)
|
|
})
|
|
</script>
|
|
</html>
|