From b15a93d8335d7bfb62c2f86b8c9ce229ed05a5e2 Mon Sep 17 00:00:00 2001 From: Nemo <me@captnemo.in> Date: Sun, 21 Apr 2024 21:48:57 +0530 Subject: [PATCH] Switch to polling station reminder --- Gemfile | 8 +++++--- Gemfile.lock | 49 ++++++++++++++++++++++++++++++------------------- index.html | 9 ++++++--- 3 files changed, 34 insertions(+), 32 deletions(-) diff --git a/Gemfile b/Gemfile index 2494674..0671d55 100644 --- a/Gemfile +++ a/Gemfile @@ -9,10 +9,11 @@ # This will help ensure the proper Jekyll version is running. # Happy Jekylling! # gem "jekyll", "~> 3.7.4" -gem 'jekyll', '~> 4.3', '>= 4.3.2' +gem 'jekyll', '~> 4.3', '>= 4.3.3' # This is the default theme for new Jekyll sites. You may change this to anything you like. -gem "minima", "~> 2.0" +gem "minima", "~> 2.5.1" +gem "google-protobuf", "~> 4.26" # If you want to use GitHub Pages, remove the "gem "jekyll"" above and # uncomment the line below. To upgrade, run `bundle update github-pages`. @@ -29,5 +30,6 @@ # Performance-booster for watching directories on Windows gem "wdm", "~> 0.1.0" if Gem.win_platform? - gem "webrick", "~> 1.8" + +gem "json", "~> 2.7" diff --git a/Gemfile.lock b/Gemfile.lock index 6b5e87d..1b4534c 100644 --- a/Gemfile.lock +++ a/Gemfile.lock @@ -1,23 +1,22 @@ GEM remote: https://rubygems.org/ specs: - addressable (2.8.5) + addressable (2.8.6) public_suffix (>= 2.0.2, < 6.0) colorator (1.1.0) - concurrent-ruby (1.2.2) + concurrent-ruby (1.2.3) em-websocket (0.5.3) eventmachine (>= 0.12.9) http_parser.rb (~> 0) eventmachine (1.2.7) ffi (1.16.3) forwardable-extended (2.6.0) - google-protobuf (3.25.1-aarch64-linux) - google-protobuf (3.25.1-arm64-darwin) - google-protobuf (3.25.1-x86_64-linux) + google-protobuf (4.26.1) + rake (>= 13) http_parser.rb (0.8.0) - i18n (1.14.1) + i18n (1.14.4) concurrent-ruby (~> 1.0) - jekyll (4.3.2) + jekyll (4.3.3) addressable (~> 2.4) colorator (~> 1.0) em-websocket (~> 0.5) @@ -35,18 +34,19 @@ webrick (~> 1.7) jekyll-feed (0.17.0) jekyll (>= 3.7, < 5.0) - jekyll-sass-converter (3.0.0) - sass-embedded (~> 1.54) - jekyll-seo-tag (2.6.1) - jekyll (>= 3.3, < 5.0) + jekyll-sass-converter (2.2.0) + sassc (> 2.0.1, < 3.0) + jekyll-seo-tag (2.8.0) + jekyll (>= 3.8, < 5.0) jekyll-watch (2.2.1) listen (~> 3.0) + json (2.7.2) kramdown (2.4.0) rexml kramdown-parser-gfm (1.1.0) kramdown (~> 2.0) liquid (4.0.4) - listen (3.8.0) + listen (3.9.0) rb-fsevent (~> 0.10, >= 0.10.3) rb-inotify (~> 0.9, >= 0.9.10) mercenary (0.4.0) @@ -56,35 +56,32 @@ jekyll-seo-tag (~> 2.1) pathutil (0.16.2) forwardable-extended (~> 2.6) - public_suffix (5.0.4) + public_suffix (5.0.5) + rake (13.2.1) rb-fsevent (0.11.2) rb-inotify (0.10.1) ffi (~> 1.0) rexml (3.2.6) - rouge (4.2.0) + rouge (4.2.1) safe_yaml (1.0.5) - sass-embedded (1.69.5-aarch64-linux-gnu) - google-protobuf (~> 3.23) - sass-embedded (1.69.5-arm64-darwin) - google-protobuf (~> 3.23) - sass-embedded (1.69.5-x86_64-linux-gnu) - google-protobuf (~> 3.23) + sassc (2.4.0) + ffi (~> 1.9) terminal-table (3.0.2) unicode-display_width (>= 1.1.1, < 3) unicode-display_width (2.5.0) webrick (1.8.1) PLATFORMS - aarch64-linux - arm64-darwin-21 - x86_64-linux + ruby DEPENDENCIES - jekyll (~> 4.3, >= 4.3.2) + google-protobuf (~> 4.26) + jekyll (~> 4.3, >= 4.3.3) jekyll-feed (~> 0.6) - minima (~> 2.0) + json (~> 2.7) + minima (~> 2.5.1) tzinfo-data webrick (~> 1.8) BUNDLED WITH - 2.3.22 + 2.5.4 diff --git a/index.html b/index.html index 915b485..03e7157 100644 --- a/index.html +++ a/index.html @@ -6,6 +6,12 @@ <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"> + 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>. + </div> + </div> <p class="card-text"> <p> You live in Bangalore and want to vote from current address in Bangalore. @@ -18,9 +24,6 @@ This guide is for you. This whole process should take 10 minutes. </p> </p> - <div class="row flex-spaces"> - <div class="alert alert-danger"><p>After <a href="/faq/#deadline">Dec 9, 2023</a>, the chances of the application being accepted are much lower.</p><p> So, do it ASAP and let's hope for the best!</p></div> - </div> <button onclick="navigate('next', 1)">Let's do this!</button> </div> -- rgit 0.1.5