mirror of
https://github.com/ShayManor/github-readme-stats.git
synced 2026-12-02 11:53:48 +05:30
feat(firebase): add Firebase initialization script to index.html
This commit is contained in:
@@ -5,6 +5,29 @@
|
||||
<link rel="icon" type="image/svg+xml" href="/favicon.svg"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
|
||||
<title>GitHub Widgets</title>
|
||||
<script type="module">
|
||||
// Import the functions you need from the SDKs you need
|
||||
import {initializeApp} from "https://www.gstatic.com/firebasejs/12.13.0/firebase-app.js";
|
||||
import {getAnalytics} from "https://www.gstatic.com/firebasejs/12.13.0/firebase-analytics.js";
|
||||
// TODO: Add SDKs for Firebase products that you want to use
|
||||
// https://firebase.google.com/docs/web/setup#available-libraries
|
||||
|
||||
// Your web app's Firebase configuration
|
||||
// For Firebase JS SDK v7.20.0 and later, measurementId is optional
|
||||
const firebaseConfig = {
|
||||
apiKey: "AIzaSyCy2pUW8Geo0Aagq9mTYKlfCpa9GUIXpy8",
|
||||
authDomain: "gh-stats-284de.firebaseapp.com",
|
||||
projectId: "gh-stats-284de",
|
||||
storageBucket: "gh-stats-284de.firebasestorage.app",
|
||||
messagingSenderId: "723662839762",
|
||||
appId: "1:723662839762:web:4ba5337f6489ea67dc320b",
|
||||
measurementId: "G-228GR89RYX"
|
||||
};
|
||||
|
||||
// Initialize Firebase
|
||||
const app = initializeApp(firebaseConfig);
|
||||
const analytics = getAnalytics(app);
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<div id="root"></div>
|
||||
|
||||
Reference in New Issue
Block a user