Skip to content

Commit 4b47da2

Browse files
authored
Merge pull request #9 from zinader/analytic
firebase-config
2 parents 2596160 + 05ddc38 commit 4b47da2

File tree

3 files changed

+67
-49
lines changed

3 files changed

+67
-49
lines changed
+18-18
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
1-
asset-manifest.json,1624432132069,d9fd6a54e097c170e592edf8fa05b1fcd8495cc17caf8038ce1f5da5fe36b710
2-
index.html,1624432132070,bc2e18cf91178ca0845dde7f58148693c4d23043212a9455447f5f6c491ad338
3-
manifest.json,1624432115835,341d52628782f8ac9290bbfc43298afccb47b7cbfcee146ae30cf0f46bc30900
4-
robots.txt,1624432115837,391d14b3c2f8c9143a27a28c7399585142228d4d1bdbe2c87ac946de411fa9a2
5-
static/css/main.ea7dc708.chunk.css,1624432132070,f677970d8801321db012fda08f84e02083f10a25c4a28a3500c798f3b54bb500
6-
static/css/main.ea7dc708.chunk.css.map,1624432132085,17e8b14167c4a0c5853674a8197cfa893535cd4bbaa4406468c0ec363672c2e3
7-
static/js/2.dd49e952.chunk.js.LICENSE.txt,1624432132083,bfbf3a4b9e414262e302b9c850733cb7cfafa9577cb62b814d04300a511215fc
8-
static/js/3.b4a27f6b.chunk.js.map,1624432132082,3381d431213d6f074e057e346e43ff02c2b3f64c5e7260ac3b0fded99e8bb7bc
9-
static/js/3.b4a27f6b.chunk.js,1624432132084,d92987d2933ee6bd2ed44f2029cc24c26c3675a5a6659396e233c80e9ef6d612
10-
static/js/main.33dc8b6e.chunk.js,1624432132087,87093f7edfbdecb5cee4838599f087921bbb44fe7f4e0237671f94e7372fbb91
11-
static/js/main.33dc8b6e.chunk.js.map,1624432132082,1cd63efb3e4c0969bc1b1fc54f1efaff5c92c9e4dfd8606477977de0043f1a95
12-
static/js/runtime-main.ee852a4f.js,1624432132087,38b83773081d45c1c48a6c6f7860aef55d4c32a975e55c1318452259de520dee
13-
static/js/runtime-main.ee852a4f.js.map,1624432132083,25d10566e30f426515d1a1a3f871076a91b34d2960f9200b27819b10450c5333
14-
favicon.ico,1624432115828,2f153ae82e533c0ad45ea103059a99c0b83466b28bd9d77a3020d232c60a9d1f
15-
logo512.png,1624432115834,191fc21360b4ccfb1cda11a1efb97f489ed22672ca83f4064316802bbfdd750e
16-
logo192.png,1624432115831,caff018b7f1e8fd481eb1c50d75b0ef236bcd5078b1d15c8bb348453fee30293
17-
static/js/2.dd49e952.chunk.js,1624432132082,46c823fe47cadd9c734aeecb010ac05baeece2a2015e1bedae65884e47800bc6
18-
static/js/2.dd49e952.chunk.js.map,1624432132085,54de11dd6f9e154e07f0b69c50010467ff9cf1ac2464df4bdad2483aaa67e024
1+
asset-manifest.json,1624442906859,b35c82bc1e4fa798ebf6ebff6f6042eabea25c90cb391bdc4db6907bf049ae64
2+
index.html,1624442906859,3a4238a206a4e9a3813002ea8151643392ad0ff9edc835618210a713f9a620fc
3+
manifest.json,1624442846896,341d52628782f8ac9290bbfc43298afccb47b7cbfcee146ae30cf0f46bc30900
4+
logo192.png,1624442846895,caff018b7f1e8fd481eb1c50d75b0ef236bcd5078b1d15c8bb348453fee30293
5+
static/css/main.ea7dc708.chunk.css,1624442906862,f677970d8801321db012fda08f84e02083f10a25c4a28a3500c798f3b54bb500
6+
static/css/main.ea7dc708.chunk.css.map,1624442906924,17e8b14167c4a0c5853674a8197cfa893535cd4bbaa4406468c0ec363672c2e3
7+
robots.txt,1624442846896,391d14b3c2f8c9143a27a28c7399585142228d4d1bdbe2c87ac946de411fa9a2
8+
static/js/2.e9f0aa7f.chunk.js.LICENSE.txt,1624442906925,b6f37869541c28b177960116ede5de7a8af34d8c1d2400a22c08932fde0713af
9+
static/js/3.bf943b63.chunk.js,1624442906923,2d00ee1f9ceb3f1f5b65ff04b502b8ae04628a0d6467d4867820280dd5560c15
10+
static/js/main.7c9b9dfe.chunk.js,1624442906863,269129b5299e09e0d3c5e8f2572f9f2ace476ddcb5063883fea55b348c562426
11+
static/js/3.bf943b63.chunk.js.map,1624442906923,5b4d982f5b9078599e62b15a3306a835a70373e30e5ff6516dc5d7d1e91a3644
12+
static/js/runtime-main.4fd34a0d.js,1624442906919,b7b76eeeb2dc0de8be3ef60974d79fc1ccfe27a799d8266856ba57da6c3d11ff
13+
static/js/main.7c9b9dfe.chunk.js.map,1624442906920,5d0d4614c58a60efa0b26f5d656ff9ee6cab4eb2fa0b8523881ac6befe8a4dae
14+
static/js/runtime-main.4fd34a0d.js.map,1624442906920,3d4f6ed4118db0dafb25faa58bc672a9b092ee9e0dcd678a17ebde8164c6339c
15+
logo512.png,1624442846895,191fc21360b4ccfb1cda11a1efb97f489ed22672ca83f4064316802bbfdd750e
16+
favicon.ico,1624442846893,2f153ae82e533c0ad45ea103059a99c0b83466b28bd9d77a3020d232c60a9d1f
17+
static/js/2.e9f0aa7f.chunk.js,1624442906920,5501238ea777d7860093a3f3d71563cdaf50f76128a816dd2efad2671c658312
18+
static/js/2.e9f0aa7f.chunk.js.map,1624442906923,02187f28f530cd58ffcc0bc5b943c5edb7e12c1d912ae0ba1de0def053fba94a

client/public/index.html

+45-31
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,24 @@
11
<!DOCTYPE html>
22
<html lang="en">
3-
4-
<head>
5-
<meta charset="utf-8" />
6-
<link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
7-
<meta name="viewport" content="width=device-width, initial-scale=1" />
8-
<meta name="theme-color" content="#000000" />
9-
<meta name="description" content="Leetcode Company Wise Questions" />
10-
<link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" />
11-
<!--
3+
<head>
4+
<meta charset="utf-8" />
5+
<link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
6+
<meta name="viewport" content="width=device-width, initial-scale=1" />
7+
<meta name="theme-color" content="#000000" />
8+
<meta name="description" content="Leetcode Company Wise Questions" />
9+
<link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" />
10+
<!--
1211
manifest.json provides metadata used when your web app is installed on a
1312
user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/
1413
-->
15-
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
16-
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css"
17-
integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
18-
<!--
14+
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
15+
<link
16+
rel="stylesheet"
17+
href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css"
18+
integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm"
19+
crossorigin="anonymous"
20+
/>
21+
<!--
1922
Notice the use of %PUBLIC_URL% in the tags above.
2023
It will be replaced with the URL of the `public` folder during the build.
2124
Only files inside the `public` folder can be referenced from the HTML.
@@ -24,24 +27,27 @@
2427
work correctly both with client-side routing and a non-root public URL.
2528
Learn how to configure a non-root public URL by running `npm run build`.
2629
-->
27-
<title>Leetcode Company Wise Questions</title>
28-
<!-- Global site tag (gtag.js) - Google Analytics -->
29-
<script async src="https://www.googletagmanager.com/gtag/js?id=G-RSEYB0X278"></script>
30-
<script>
31-
window.dataLayer = window.dataLayer || [];
32-
function gtag() {
33-
dataLayer.push(arguments);
34-
}
35-
gtag("js", new Date());
30+
<title>Leetcode Company Wise Questions</title>
31+
<!-- Global site tag (gtag.js) - Google Analytics -->
32+
<script
33+
async
34+
src="https://www.googletagmanager.com/gtag/js?id=G-RSEYB0X278"
35+
></script>
36+
<script>
37+
window.dataLayer = window.dataLayer || [];
38+
function gtag() {
39+
dataLayer.push(arguments);
40+
}
41+
gtag("js", new Date());
3642

37-
gtag("config", "G-RSEYB0X278");
38-
</script>
39-
</head>
43+
gtag("config", "G-RSEYB0X278");
44+
</script>
45+
</head>
4046

41-
<body>
42-
<noscript>Get company wise leetcode questions :)</noscript>
43-
<div id="root"></div>
44-
<!--
47+
<body>
48+
<noscript>Get company wise leetcode questions :)</noscript>
49+
<div id="root"></div>
50+
<!--
4551
This HTML file is a template.
4652
If you open it directly in the browser, you will see an empty page.
4753
@@ -51,6 +57,14 @@
5157
To begin the development, run `npm start` or `yarn start`.
5258
To create a production bundle, use `npm run build` or `yarn build`.
5359
-->
54-
</body>
60+
<!-- The core Firebase JS SDK is always required and must be listed first -->
61+
<script src="/__/firebase/8.6.8/firebase-app.js"></script>
62+
63+
<!-- TODO: Add SDKs for Firebase products that you want to use
64+
https://firebase.google.com/docs/web/setup#available-libraries -->
65+
<script src="/__/firebase/8.6.8/firebase-analytics.js"></script>
5566

56-
</html>
67+
<!-- Initialize Firebase -->
68+
<script src="/__/firebase/init.js"></script>
69+
</body>
70+
</html>

client/src/index.js

+4
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ import ReactDOM from "react-dom";
33
import "./index.css";
44
import App from "./App";
55
import reportWebVitals from "./reportWebVitals";
6+
import firebase from "firebase";
7+
import firebaseConfig from "./firebaseConfig";
8+
9+
firebase.initializeApp(firebaseConfig);
610

711
ReactDOM.render(
812
<React.StrictMode>

0 commit comments

Comments
 (0)