diff options
author | Yigit Sever | 2021-04-15 03:39:36 +0300 |
---|---|---|
committer | Yigit Sever | 2021-04-15 03:39:36 +0300 |
commit | 69f25e23feb3960a6cc3fc5d410533877b53a0fb (patch) | |
tree | 5d88fa18831cdc24f91fd62ce0a91d1e8c5ba205 /site/templates | |
parent | d02129ff2f31bbb79486ad6c0234ae79e7088346 (diff) | |
download | gradecoin-69f25e23feb3960a6cc3fc5d410533877b53a0fb.tar.gz gradecoin-69f25e23feb3960a6cc3fc5d410533877b53a0fb.tar.bz2 gradecoin-69f25e23feb3960a6cc3fc5d410533877b53a0fb.zip |
Create the static site
DON'T FORGET TO CHANGE site/config.toml BEFORE DEPLOYMENT
Diffstat (limited to 'site/templates')
-rw-r--r-- | site/templates/_variables.html | 15 | ||||
-rw-r--r-- | site/templates/index.html | 44 |
2 files changed, 59 insertions, 0 deletions
diff --git a/site/templates/_variables.html b/site/templates/_variables.html new file mode 100644 index 0000000..3fd05b4 --- /dev/null +++ b/site/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/site/templates/index.html b/site/templates/index.html new file mode 100644 index 0000000..70223a5 --- /dev/null +++ b/site/templates/index.html | |||
@@ -0,0 +1,44 @@ | |||
1 | {% extends "juice/templates/index.html" %} | ||
2 | |||
3 | {% block hero %} | ||
4 | <section class="text-center"> | ||
5 | <h1 class="heading-text" style="font-size: 50px"> | ||
6 | Mine your own grades | ||
7 | </h1> | ||
8 | <h3 class="title-text"> | ||
9 | <b style="color: deepskyblue">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 | ||
10 | </h3> | ||
11 | <div> | ||
12 | <!-- <a class="github-button" href="https://github.com/huhu/juice" data-size="large" data-show-count="true" --> | ||
13 | <!-- aria-label="Star huhu/juice on GitHub">Star</a> --> | ||
14 | <!-- <a class="github-button" href="https://github.com/huhu/juice/fork" data-size="large" --> | ||
15 | <!-- data-show-count="true" aria-label="Fork huhu/juice on GitHub">Fork</a> --> | ||
16 | </div> | ||
17 | </section> | ||
18 | <img class="hero-image" style="width: 50%" src="{{ get_url(path="gradecoin.png") }}"> | ||
19 | |||
20 | <div class="explore-more text" | ||
21 | onclick="document.getElementById('features').scrollIntoView({behavior: 'smooth'})"> | ||
22 | ⇩ Learn How ⇩ | ||
23 | </div> | ||
24 | <style> | ||
25 | .hero section { | ||
26 | padding: 0 5rem; | ||
27 | } | ||
28 | @media screen and (max-width: 768px) { | ||
29 | .hero section { | ||
30 | padding: 0 2rem; | ||
31 | } | ||
32 | |||
33 | .hero-image { | ||
34 | display: none | ||
35 | } | ||
36 | } | ||
37 | </style> | ||
38 | {% endblock hero %} | ||
39 | |||
40 | {% block footer %} | ||
41 | <footer> | ||
42 | ⁂ | ||
43 | </footer> | ||
44 | {% endblock footer %} | ||