From 6455ea409e26f1950fd675adad7044e1810e655f Mon Sep 17 00:00:00 2001
From: Yigit Sever
Date: Fri, 16 Apr 2021 17:44:35 +0300
Subject: Add missing pages

---
 site/public/gradecoin.pub        |   9 +++
 site/public/misc-docs/index.html | 155 +++++++++++++++++++++++++++++++++++++++
 site/public/site.css             |  11 +++
 3 files changed, 175 insertions(+)
 create mode 100644 site/public/gradecoin.pub
 create mode 100644 site/public/misc-docs/index.html
 create mode 100644 site/public/site.css

(limited to 'site/public')

diff --git a/site/public/gradecoin.pub b/site/public/gradecoin.pub
new file mode 100644
index 0000000..ffe2f12
--- /dev/null
+++ b/site/public/gradecoin.pub
@@ -0,0 +1,9 @@
+-----BEGIN PUBLIC KEY-----
+MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAyGuqiCPGcguy+Y9TH7Bl
+7XlEsalyqb9bYlzpbV0dnqZ3lPkEPkuOhkN+GcuiV6iXtSwyh7nB+xTRXKJFRUBO
+/jbN8jfcxVwBu0JxjF3v1YRBxbOHhz2A295mbKD9xHQCKxkfYBNkUXxj8gd+GaDv
+QiSW5NdrX/lEkvqfGtdEX1m2+HdcG0+3YW24Xg0znhCwLr+sorLuJaDy9Xa0Uo+D
+PWGC5s001U/BxkCIWJ+eJQCb7Bv+9vXb8BGRK/ecMb/fb6h5O+8fgB64RCHMgcc2
+v+Q/dPt8kHX1OJdMuYUrUJGACppMQY3W6e1HdlRIBcZKL2LMZ2CrIB/2D5LiJhPT
+hQIDAQAB
+-----END PUBLIC KEY-----
diff --git a/site/public/misc-docs/index.html b/site/public/misc-docs/index.html
new file mode 100644
index 0000000..dfd38e2
--- /dev/null
+++ b/site/public/misc-docs/index.html
@@ -0,0 +1,155 @@
+<!DOCTYPE html>
+<html lang="en">
+
+<head>
+    <meta charset="UTF-8">
+    <title>Misc | Gradecoin </title>
+    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
+    <style>
+    :root {
+        /* Primary theme color */
+        --primary-color: #F8D12F;
+        /* Primary theme text color */
+        --primary-text-color: #1E2329;
+        /* Primary theme link color */
+        --primary-link-color: #2F57F7;
+        /* Secondary color: the background body color */
+        --secondary-color: #FAFAFA;
+        --secondary-text-color: #303030;
+        /* Highlight text color of table of content */
+        --toc-highlight-text-color: #d46e13;
+    }
+</style>
+
+    <link href="https://fonts.googleapis.com/css?family=Alfa+Slab+One&display=swap" rel="stylesheet">
+    <link href="https://fonts.googleapis.com/css?family=Fira+Sans:400,500,600&display=swap" rel="stylesheet">
+    <link rel="stylesheet" href="/normalize.css">
+    <link rel="stylesheet" href="https:&#x2F;&#x2F;gradecoin.xyz&#x2F;juice.css">
+    
+<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css" />
+<link rel="stylesheet" href="/site.css" />
+
+</head>
+
+<body>
+    
+<header class="box-shadow">
+    
+
+<a href="https:&#x2F;&#x2F;gradecoin.xyz&#x2F;">
+    <div class="logo">
+        <img src="https:&#x2F;&#x2F;gradecoin.xyz&#x2F;gradecoin.png" alt="logo">
+        Gradecoin
+    </div>
+</a>
+
+<nav>
+    
+    <a class="nav-item subtitle-text" href="https:&#x2F;&#x2F;gradecoin.xyz&#x2F;register-docs&#x2F;">Register</a>
+    
+    <a class="nav-item subtitle-text" href="https:&#x2F;&#x2F;gradecoin.xyz&#x2F;jwt&#x2F;">JWT</a>
+    
+    <a class="nav-item subtitle-text" href="https:&#x2F;&#x2F;gradecoin.xyz&#x2F;transaction-docs&#x2F;">Transactions</a>
+    
+    <a class="nav-item subtitle-text" href="https:&#x2F;&#x2F;gradecoin.xyz&#x2F;block-docs&#x2F;">Blocks</a>
+    
+    <a class="nav-item subtitle-text" href="https:&#x2F;&#x2F;gradecoin.xyz&#x2F;misc-docs&#x2F;">Misc</a>
+    
+    
+        
+        <a class="nav-item subtitle-text" href="https:&#x2F;&#x2F;github.com&#x2F;zhuowei&#x2F;nft_ptr#why">why?</a>
+        
+    
+</nav>
+
+</header>
+
+
+    <main>
+        
+        
+        
+        
+        
+        <div class="toc">
+            <div class="toc-sticky">
+                
+                <div class="toc-item">
+                    <a class="subtext" href="https://gradecoin.xyz/misc-docs/#fingerprint">Fingerprint</a>
+                </div>
+                
+                
+                <div class="toc-item-child">
+                    <a class="subtext" href="https://gradecoin.xyz/misc-docs/#definition"><small>- Definition</small></a>
+                </div>
+                
+                <div class="toc-item-child">
+                    <a class="subtext" href="https://gradecoin.xyz/misc-docs/#fingerprint-generation"><small>- Fingerprint Generation</small></a>
+                </div>
+                
+                
+                
+            </div>
+        </div>
+        
+        
+
+        <div class="content text">
+            
+<div class="heading-text">Documentation about everything else</div>
+<p>We thought it might be good to explain some concepts you might have questions about.</p>
+<h1 id="fingerprint">Fingerprint</h1>
+<h2 id="definition">Definition</h2>
+<p>A fingerprint is a 256 bit 64 character hexadecimal user identifier for users. Fingerprints are used in defining users in <a href="https://gradecoin.xyz/transaction-docs/">transactions</a> and <a href="https://gradecoin.xyz/block-docs/">blocks</a>.</p>
+<h2 id="fingerprint-generation">Fingerprint Generation</h2>
+<p>A user's finger print is generated via applying SHA256 sum of the user's public RSA key.</p>
+
+
+        </div>
+
+        
+        
+    </main>
+
+    
+<footer>
+Built For ⁂ CENG489 ⁂ Introduction to Computer Security
+</footer>
+
+</body>
+<script>
+    function highlightNav(heading) {
+        let pathname = location.pathname;
+        document.querySelectorAll(".toc a").forEach((item) => {
+            item.classList.remove("active");
+        });
+        document.querySelector(".toc a[href$='" + pathname + "#" + heading + "']").classList.add("active");
+    }
+
+    let currentHeading = "";
+    window.onscroll = function () {
+        let h = document.querySelectorAll("h1,h2,h3,h4,h5,h6");
+        let elementArr = [];
+
+        h.forEach(item => {
+            if (item.id !== "") {
+                elementArr[item.id] = item.getBoundingClientRect().top;
+            }
+        });
+        elementArr.sort();
+        for (let key in elementArr) {
+            if (!elementArr.hasOwnProperty(key)) {
+                continue;
+            }
+            if (elementArr[key] > 0 && elementArr[key] < 300) {
+                if (currentHeading !== key) {
+                    highlightNav(key);
+                    currentHeading = key;
+                }
+                break;
+            }
+        }
+    }
+</script>
+
+</html>
diff --git a/site/public/site.css b/site/public/site.css
new file mode 100644
index 0000000..f296cc4
--- /dev/null
+++ b/site/public/site.css
@@ -0,0 +1,11 @@
+
+.content blockquote {
+    border-left: #689d6a 8px solid;
+
+}
+.content blockquote.tidbit {
+    border-left: #928f74 8px solid;
+    font-size: 12px;
+    color: #282828;
+}
+
-- 
cgit v1.2.3-70-g09d2