-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: merge points ft * refactor: Refactor import statements * feat: Add PointsPopover component * feat: Add component to Header and MenuSlide * feat: use lowercase address * refactor: Update leaderboard page layout * fix: Add environment variables to .env.local at build
- Loading branch information
Showing
25 changed files
with
4,228 additions
and
1,071 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,5 +27,6 @@ yarn-error.log* | |
*.cache | ||
.next | ||
|
||
press-paper | ||
rfp | ||
.firebase/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
// Import the functions you need from the SDKs you need | ||
import { initializeApp } from "firebase/app"; | ||
import { getDatabase } from "firebase/database"; | ||
// 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 | ||
const firebaseConfig = { | ||
apiKey: process.env.NEXT_PUBLIC_APP_FIREBASE_APIKEY, | ||
authDomain: process.env.NEXT_PUBLIC_APP_FIREBASE_AUTHDOMAIN, | ||
projectId: process.env.NEXT_PUBLIC_APP_FIREBASE_PROJECTID, | ||
storageBucket: process.env.NEXT_PUBLIC_APP_FIREBASE_STORAGEBUCKET, | ||
messagingSenderId: process.env.APP_FIREBASE_MESSAGINGSENDERID, | ||
appId: process.env.NEXT_PUBLIC_APP_FIREBASE_APPID, | ||
databaseURL: process.env.NEXT_PUBLIC_APP_FIREBASE_DATABASEURL, | ||
}; | ||
|
||
// Initialize Firebase | ||
const app = initializeApp(firebaseConfig); | ||
|
||
// Initialize Realtime Database and get a reference to the service | ||
const database = getDatabase(app); | ||
|
||
export { database } |
Oops, something went wrong.