From 4cfc0eee2b32398cf66d18b803d1f9d59aaa4173 Mon Sep 17 00:00:00 2001 From: Nemo <me@captnemo.in> Date: Sat, 27 Apr 2024 18:50:57 +0530 Subject: [PATCH] Elections are done, so ask people to register --- index.html | 35 ++++++++++++++++++----------------- _layouts/default.html | 4 ++-- 2 files changed, 17 insertions(+), 22 deletions(-) diff --git a/index.html b/index.html index 2089c10..7febc70 100644 --- a/index.html +++ a/index.html @@ -1,14 +1,11 @@ --- layout: default title: Home --- -<div id="section0" class="section active margin-top-bottom"> +<!-- <div id="section0" class="section active margin-top-bottom"> <div class="card"> <div class="card-body"> - <!-- <div class="row flex-spaces"> - - </div> --> <p class="card-text"> Ready to vote? Remember to check Citizen Matters' coverage of the candidates before you vote. Click on your constituency to find more: @@ -24,32 +21,30 @@ </div> </p> - <!-- Still don't have a Voter ID from Bangalore? You can still - <button style="padding:0px" onclick="navigate('next', 0)">Register to Vote</button> for the next election --> + <button style="padding:0px" onclick="navigate('next', 0)">Register to Vote</button> for the next election. </div> </div> -</div> +</div> --> -<div id="section1" class="section margin-top-bottom"> +<div id="section1" class="section active margin-top-bottom"> <div class="card"> <div class="card-body"> <div class="row flex-spaces"> - <div class="alert alert-warning"> + <!-- <div class="alert alert-warning"> Already registered to vote?<br> <button style="padding:0px" onclick="navigate('previous', 1)">Go Back</button> for candidate information. - </div> + </div> --> </div> <p class="card-text"> - <p> - You live in Bangalore and want to vote from current address in Bangalore. - </p> - - <p> + <p> + Missed voting in this General Election? You live in Bangalore and want to vote from current address in Bangalore. + </p> + <p> But your voter id address is still set to your hometown or to an older address? - </p> - <p> - This guide is for you. This whole process should take 10 minutes. + </p> + <p> + This guide is for you. This whole process should take 10 minutes. </p> </p> @@ -212,13 +207,13 @@ // Wrap around the steps if necessary if (newStep > steps) { - newStep = 0; + newStep = 1; } else if (newStep < 0) { newStep = 5; } // Hide all sections - for (let i = 0; i <= steps; i++) { + for (let i = 1; i <= steps; i++) { document.getElementById('section' + i).classList.remove('active'); } diff --git a/_layouts/default.html b/_layouts/default.html index c70c8a4..cebb420 100644 --- a/_layouts/default.html +++ a/_layouts/default.html @@ -1,9 +1,9 @@ <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> - <title>BLR.Vote | Vote for Bangalore</title> + <title>BLR.Vote | Vote From Bangalore</title> <!-- TODO: Add Open Graph Images --> <link rel="stylesheet" href="/assets/paper.min.css"> <link rel="stylesheet" type="text/css" href="/assets/style.css"> @@ -16,7 +16,7 @@ <div class="navbar-container"> <nav class="border split-nav"> <div class="nav-brand"> - <h4 class='bold'><a href="/" style="text-decoration: none;border-bottom:none;padding-bottom:0px">🇮🇳 Vote For BLR</a></h4> + <h4 class='bold'><a href="/" style="text-decoration: none;border-bottom:none;padding-bottom:0px">🇮🇳 Vote From BLR</a></h4> </div> </nav> </div> -- rgit 0.1.5