From 730bc91f8244031da9c14f0438a06571b207cba0 Mon Sep 17 00:00:00 2001 From: Nemo <me@captnemo.in> Date: Thu, 25 Apr 2024 14:35:59 +0530 Subject: [PATCH] Vote For Bangalore --- index.html | 40 +++++++++++++++++++++++++++++++++++----- _layouts/default.html | 4 ++-- 2 files changed, 36 insertions(+), 8 deletions(-) diff --git a/index.html b/index.html index 03e7157..2089c10 100644 --- a/index.html +++ a/index.html @@ -1,15 +1,43 @@ --- layout: default title: Home --- -<div id="section1" 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: + + <ol> + <li><a href="https://citizenmatters.in/lok-sabha-elections-2024-bangalore-north-constituency-issues-candidates/">Bangalore North</a></li> + <li><a href="https://citizenmatters.in/lok-sabha-elections-2024-bangalore-central-constituency-candidates/">Bangalore Central</a></li> + <li><a href="https://citizenmatters.in/bangalore-south-eight-legislative-assemblies/">Bangalore South</a></li> + <li><a href="https://citizenmatters.in/lok-sabha-elections-2024-bangalore-rural-constituency-candidates/">Bangalore Rural</a></li> + </ol> + + <div class="alert alert-warning">Don't know your constituency or polling booth address?<br> + Find it at <a target="_blank" title="ECI Electoral Search Website" href="https://electoralsearch.eci.gov.in/">electoralsearch.eci.gov.in</a>. + </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 --> + </div> + </div> +</div> + +<div id="section1" class="section margin-top-bottom"> + <div class="card"> + <div class="card-body"> <div class="row flex-spaces"> <div class="alert alert-warning"> - Looking for your polling station? <br> - Use <a target="_blank" title="ECI Electoral Search Website" href="https://electoralsearch.eci.gov.in/">electoralsearch.eci.gov.in</a>. + Already registered to vote?<br> + <button style="padding:0px" onclick="navigate('previous', 1)">Go Back</button> for candidate information. </div> </div> <p class="card-text"> @@ -184,13 +212,13 @@ // Wrap around the steps if necessary if (newStep > steps) { - newStep = 1; - } else if (newStep < 1) { + newStep = 0; + } else if (newStep < 0) { newStep = 5; } // Hide all sections - for (let i = 1; i <= steps; i++) { + for (let i = 0; i <= steps; i++) { document.getElementById('section' + i).classList.remove('active'); } diff --git a/_layouts/default.html b/_layouts/default.html index 8b81ae2..eca4f7d 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</title> + <title>BLR.Vote | Vote for 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 From BLR</a></h4> + <h4 class='bold'><a href="/" style="text-decoration: none;border-bottom:none;padding-bottom:0px">🇮🇳 Vote For BLR</a></h4> </div> </nav> </div> -- rgit 0.1.5