File tree Expand file tree Collapse file tree 2 files changed +23
-22
lines changed Expand file tree Collapse file tree 2 files changed +23
-22
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -138,6 +138,28 @@ <h3>💻 Quick Start</h3>
138138 </ p >
139139 </ footer >
140140 < script src ="./assets/js/script.js " defer > </ script >
141- < script src ="./assets/js/firebase.js " type ="module "> </ script >
141+ < script type ="module ">
142+ // Import the functions you need from the SDKs you need
143+ import { initializeApp } from "https://www.gstatic.com/firebasejs/11.1.0/firebase-app.js" ;
144+ import { getAnalytics } from "https://www.gstatic.com/firebasejs/11.1.0/firebase-analytics.js" ;
145+ // TODO: Add SDKs for Firebase products that you want to use
146+ // https://firebase.google.com/docs/web/setup#available-libraries
147+
148+ // Your web app's Firebase configuration
149+ // For Firebase JS SDK v7.20.0 and later, measurementId is optional
150+ const firebaseConfig = {
151+ apiKey : "AIzaSyArRxHZJUt4o2RxiLqX1yDSkuUd6ZFy45I" ,
152+ authDomain : "nport-link.firebaseapp.com" ,
153+ projectId : "nport-link" ,
154+ storageBucket : "nport-link.firebasestorage.app" ,
155+ messagingSenderId : "515584605320" ,
156+ appId : "1:515584605320:web:88daabc8d77146c6e7f33d" ,
157+ measurementId : "G-8MYXZL6PGD"
158+ } ;
159+
160+ // Initialize Firebase
161+ const app = initializeApp ( firebaseConfig ) ;
162+ const analytics = getAnalytics ( app ) ;
163+ </ script >
142164 </ body >
143165</ html >
You can’t perform that action at this time.
0 commit comments