aboutsummaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorYigit Sever2021-04-19 18:23:22 +0300
committerYigit Sever2021-04-19 18:23:22 +0300
commit59ea3bd25b1f113168333eccdc9ffc4acd98cfe6 (patch)
tree4d76d4423f7d47755890aa98cbf0751978ef9180 /templates
downloadgradecoin-site-59ea3bd25b1f113168333eccdc9ffc4acd98cfe6.tar.gz
gradecoin-site-59ea3bd25b1f113168333eccdc9ffc4acd98cfe6.tar.bz2
gradecoin-site-59ea3bd25b1f113168333eccdc9ffc4acd98cfe6.zip
Initial commit
Diffstat (limited to 'templates')
-rw-r--r--templates/_variables.html15
-rw-r--r--templates/index.html68
-rw-r--r--templates/shortcodes/exp.html1
-rw-r--r--templates/shortcodes/tidbit.html5
4 files changed, 89 insertions, 0 deletions
diff --git a/templates/_variables.html b/templates/_variables.html
new file mode 100644
index 0000000..3fd05b4
--- /dev/null
+++ b/templates/_variables.html
@@ -0,0 +1,15 @@
1<style>
2 :root {
3 /* Primary theme color */
4 --primary-color: #F8D12F;
5 /* Primary theme text color */
6 --primary-text-color: #1E2329;
7 /* Primary theme link color */
8 --primary-link-color: #2F57F7;
9 /* Secondary color: the background body color */
10 --secondary-color: #FAFAFA;
11 --secondary-text-color: #303030;
12 /* Highlight text color of table of content */
13 --toc-highlight-text-color: #d46e13;
14 }
15</style>
diff --git a/templates/index.html b/templates/index.html
new file mode 100644
index 0000000..08e3c8a
--- /dev/null
+++ b/templates/index.html
@@ -0,0 +1,68 @@
1{% extends "juice/templates/index.html" %}
2
3{% block head %}
4<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css" />
5<link rel="stylesheet" href="/site.css" />
6{% endblock head %}
7
8{% block hero %}
9
10<section class="text-center">
11 <h1 class="heading-text animate__animated animate__jackInTheBox" style="font-size: 50px">
12 Mine your own grades
13 </h1>
14 <h3 class="title-text">
15 <b>Gradecoin</b> is the latest cutting edge blockchain technology agile grading framework that drives organic engagement and other buzzwords, with big data mining search engine optimization
16 </h3>
17 <div>
18 </div>
19</section>
20<img class="hero-image" style="width: 40%" src="{{ get_url(path="gradecoin.png") }}">
21
22<div class="explore-more text"
23 onclick="document.getElementById('features').scrollIntoView({behavior: 'smooth'})">
24 ⇩ Learn How ⇩
25</div>
26
27<style>
28
29.hero section {
30 padding: 0 5rem;
31}
32
33@media screen and (max-width: 768px) {
34 .hero section {
35 padding: 0 2rem;
36 }
37
38 .hero-image {
39 display: none
40 }
41
42}
43footer {
44 color: #8b8b8b;
45}
46</style>
47{% endblock hero %}
48
49{% block content %}
50<div class="tcontainer" id="features">
51 <div class="ticker-wrap">
52 <div class="ticker-move">
53 <div class="ticker-item"><b>News:</b></div>
54 <div class="ticker-item">Gradecoin is in testnet mode, API is not stable, everything might reset at any time.</div>
55 <div class="ticker-item">Transactions are now unique according to their "by" field, sorry for the trouble</div>
56 <div class="ticker-item">Blocks now require 5 transactions in them, during testnet phase</div>
57 <div class="ticker-item">It was possible (and hilarious) to mine a new block with just 1 transaction, it is now fixed</div>
58 </div>
59 </div>
60</div>
61{{ section.content | safe }}
62{% endblock content %}
63
64{% block footer %}
65<footer>
66Built For ⁂ CENG489 ⁂ Introduction to Computer Security
67</footer>
68{% endblock footer %}
diff --git a/templates/shortcodes/exp.html b/templates/shortcodes/exp.html
new file mode 100644
index 0000000..5a37a39
--- /dev/null
+++ b/templates/shortcodes/exp.html
@@ -0,0 +1 @@
{{ num }}<sup>{{ exponent }}</sup>
diff --git a/templates/shortcodes/tidbit.html b/templates/shortcodes/tidbit.html
new file mode 100644
index 0000000..7023578
--- /dev/null
+++ b/templates/shortcodes/tidbit.html
@@ -0,0 +1,5 @@
1<blockquote class="tidbit">
2 <p>
3 {{ body }}
4 </p>
5</blockquote>