Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions client/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
node_modules
package-lock.json
Binary file added client/README.md
Binary file not shown.
26 changes: 26 additions & 0 deletions client/build/asset-manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"files": {
"main.css": "/static/css/main.a3ee530a.chunk.css",
"main.js": "/static/js/main.9fbc5a9a.chunk.js",
"main.js.map": "/static/js/main.9fbc5a9a.chunk.js.map",
"runtime-main.js": "/static/js/runtime-main.1dc66141.js",
"runtime-main.js.map": "/static/js/runtime-main.1dc66141.js.map",
"static/js/2.a9e2dd78.chunk.js": "/static/js/2.a9e2dd78.chunk.js",
"static/js/2.a9e2dd78.chunk.js.map": "/static/js/2.a9e2dd78.chunk.js.map",
"index.html": "/index.html",
"precache-manifest.427b5bc5575ba30105e2f96a59bc3bcd.js": "/precache-manifest.427b5bc5575ba30105e2f96a59bc3bcd.js",
"service-worker.js": "/service-worker.js",
"static/css/main.a3ee530a.chunk.css.map": "/static/css/main.a3ee530a.chunk.css.map",
"static/js/2.a9e2dd78.chunk.js.LICENSE": "/static/js/2.a9e2dd78.chunk.js.LICENSE",
"static/media/index.css": "/static/media/Signika-Bold.6bc3acea.ttf",
"static/media/close.svg": "/static/media/close.a50ed734.svg",
"static/media/info.svg": "/static/media/info.6992069b.svg",
"static/media/twitter.svg": "/static/media/twitter.7a17a52d.svg"
},
"entrypoints": [
"static/js/runtime-main.1dc66141.js",
"static/js/2.a9e2dd78.chunk.js",
"static/css/main.a3ee530a.chunk.css",
"static/js/main.9fbc5a9a.chunk.js"
]
}
Binary file added client/build/favicon.ico
Binary file not shown.
14 changes: 14 additions & 0 deletions client/build/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="/favicon.ico?v=2"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="An app to visualize protests against the CAA in India"/><link rel="apple-touch-icon" href="/logo192.png"/><link rel="manifest" href="/manifest.json"/><title>हैकरgram Web Developer Puzzler #1</title><link href="/static/css/main.a3ee530a.chunk.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div><script>let vh;
let vw;
window.addEventListener('load', () => {
vh = window.innerHeight * 0.01;
vw = window.innerWidth * 0.01;
document.documentElement.style.setProperty('--vh', `${vh}px`);
document.documentElement.style.setProperty('--vw', `${vw}px`);
})
window.addEventListener('resize', () => {
vh = window.innerHeight * 0.01;
vw = window.innerWidth * 0.01;
document.documentElement.style.setProperty('--vh', `${vh}px`);
document.documentElement.style.setProperty('--vw', `${vw}px`);
})</script><script>!function(f){function e(e){for(var t,r,n=e[0],o=e[1],u=e[2],l=0,i=[];l<n.length;l++)r=n[l],Object.prototype.hasOwnProperty.call(c,r)&&c[r]&&i.push(c[r][0]),c[r]=0;for(t in o)Object.prototype.hasOwnProperty.call(o,t)&&(f[t]=o[t]);for(s&&s(e);i.length;)i.shift()();return p.push.apply(p,u||[]),a()}function a(){for(var e,t=0;t<p.length;t++){for(var r=p[t],n=!0,o=1;o<r.length;o++){var u=r[o];0!==c[u]&&(n=!1)}n&&(p.splice(t--,1),e=l(l.s=r[0]))}return e}var r={},c={1:0},p=[];function l(e){if(r[e])return r[e].exports;var t=r[e]={i:e,l:!1,exports:{}};return f[e].call(t.exports,t,t.exports,l),t.l=!0,t.exports}l.m=f,l.c=r,l.d=function(e,t,r){l.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},l.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},l.t=function(t,e){if(1&e&&(t=l(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(l.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var n in t)l.d(r,n,function(e){return t[e]}.bind(null,n));return r},l.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return l.d(t,"a",t),t},l.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},l.p="/";var t=this.webpackJsonpclient=this.webpackJsonpclient||[],n=t.push.bind(t);t.push=e,t=t.slice();for(var o=0;o<t.length;o++)e(t[o]);var s=n;a()}([])</script><script src="/static/js/2.a9e2dd78.chunk.js"></script><script src="/static/js/main.9fbc5a9a.chunk.js"></script></body></html>
Binary file added client/build/logo192.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added client/build/logo512.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
25 changes: 25 additions & 0 deletions client/build/manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"short_name": "CAA protests",
"name": "CAA protest visualization",
"icons": [
{
"src": "favicon.ico",
"sizes": "64x64 32x32 24x24 16x16",
"type": "image/x-icon"
},
{
"src": "logo192.png",
"type": "image/png",
"sizes": "192x192"
},
{
"src": "logo512.png",
"type": "image/png",
"sizes": "512x512"
}
],
"start_url": ".",
"display": "standalone",
"theme_color": "#000000",
"background_color": "#ffffff"
}
54 changes: 54 additions & 0 deletions client/build/precache-manifest.427b5bc5575ba30105e2f96a59bc3bcd.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
self.__precacheManifest = (self.__precacheManifest || []).concat([
{
"revision": "4271cf68a057f138d1bcd6f117e4c3f4",
"url": "/index.html"
},
{
"revision": "4aff442d8f42da2d5271",
"url": "/static/css/main.a3ee530a.chunk.css"
},
{
"revision": "dd2536e14a0ef4219801",
"url": "/static/js/2.a9e2dd78.chunk.js"
},
{
"revision": "67ec752e578893db050e41ae792e22e0",
"url": "/static/js/2.a9e2dd78.chunk.js.LICENSE"
},
{
"revision": "4aff442d8f42da2d5271",
"url": "/static/js/main.9fbc5a9a.chunk.js"
},
{
"revision": "6b3defdcd169e5f902d5",
"url": "/static/js/runtime-main.1dc66141.js"
},
{
"revision": "5ebb24ee1112dd9562629375c387879a",
"url": "/static/media/Roboto-Black.5ebb24ee.ttf"
},
{
"revision": "88823c2015ffd5fa89d567e17297a137",
"url": "/static/media/Roboto-Light.88823c20.ttf"
},
{
"revision": "11eabca2251325cfc5589c9c6fb57b46",
"url": "/static/media/Roboto-Regular.11eabca2.ttf"
},
{
"revision": "6bc3acea783745482f8f9ec47d484e95",
"url": "/static/media/Signika-Bold.6bc3acea.ttf"
},
{
"revision": "a50ed734b74d1f77538e1559192d0421",
"url": "/static/media/close.a50ed734.svg"
},
{
"revision": "6992069bbf19f28c476eb6b9f821a6f1",
"url": "/static/media/info.6992069b.svg"
},
{
"revision": "7a17a52de705cddc0900c72c2f8a624f",
"url": "/static/media/twitter.7a17a52d.svg"
}
]);
2 changes: 2 additions & 0 deletions client/build/robots.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# https://www.robotstxt.org/robotstxt.html
User-agent: *
39 changes: 39 additions & 0 deletions client/build/service-worker.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
/**
* Welcome to your Workbox-powered service worker!
*
* You'll need to register this file in your web app and you should
* disable HTTP caching for this file too.
* See https://goo.gl/nhQhGp
*
* The rest of the code is auto-generated. Please don't update this file
* directly; instead, make changes to your Workbox build configuration
* and re-run your build process.
* See https://goo.gl/2aRDsh
*/

importScripts("https://storage.googleapis.com/workbox-cdn/releases/4.3.1/workbox-sw.js");

importScripts(
"/precache-manifest.427b5bc5575ba30105e2f96a59bc3bcd.js"
);

self.addEventListener('message', (event) => {
if (event.data && event.data.type === 'SKIP_WAITING') {
self.skipWaiting();
}
});

workbox.core.clientsClaim();

/**
* The workboxSW.precacheAndRoute() method efficiently caches and responds to
* requests for URLs in the manifest.
* See https://goo.gl/S9QRab
*/
self.__precacheManifest = [].concat(self.__precacheManifest || []);
workbox.precaching.precacheAndRoute(self.__precacheManifest, {});

workbox.routing.registerNavigationRoute(workbox.precaching.getCacheKeyForURL("/index.html"), {

blacklist: [/^\/_/,/\/[^/?]+\.[^/]+$/],
});
2 changes: 2 additions & 0 deletions client/build/static/css/main.a3ee530a.chunk.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading