From 3c3a27e6e0fc76b414ff28d774584b1764219836 Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Sat, 17 Apr 2021 20:28:25 +0300 Subject: Add news ticker --- site/templates/index.html | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'site/templates/index.html') diff --git a/site/templates/index.html b/site/templates/index.html index 4bd9867..a374d60 100644 --- a/site/templates/index.html +++ b/site/templates/index.html @@ -6,6 +6,7 @@ {% endblock head %} {% block hero %} + <section class="text-center"> <h1 class="heading-text animate__animated animate__jackInTheBox" style="font-size: 50px"> Mine your own grades @@ -22,6 +23,7 @@ onclick="document.getElementById('features').scrollIntoView({behavior: 'smooth'})"> ⇩ Learn How ⇩ </div> + <style> .hero section { @@ -44,6 +46,21 @@ footer { </style> {% endblock hero %} +{% block content %} +<div class="tcontainer"> + <div class="ticker-wrap"> + <div class="ticker-move"> + <div class="ticker-item"><b>News:</b></div> + <div class="ticker-item">Gradecoin is in testnet mode, API is not stable, everything might reset at any time.</div> + <div class="ticker-item">Someone managed to authenticate themselves in less than 24 hours!</div> + <div class="ticker-item">Transactions now have saner amount limits.</div> + <div class="ticker-item">Blocks now properly require 10 transactions in them.</div> + </div> + </div> +</div> +{{ section.content | safe }} +{% endblock content %} + {% block footer %} <footer> Built For ⁂ CENG489 ⁂ Introduction to Computer Security -- cgit v1.2.3-70-g09d2