feat(firebase): Add Firebase SDK and initialize Analytics

This commit integrates the Firebase SDK into the application to enable Firebase services, starting with Google Analytics.

Key changes include:
- Added the `firebase` package as a dependency.
- Included Firebase project configuration variables in the production environment file.
- Created a new `firebase.ts` utility to centralize Firebase app initialization.
- Integrated the `FirebaseAnalytics` component into the root layout to enable analytics tracking across the entire application.
This commit is contained in:
AmirReza Jamali
2025-10-04 09:28:40 +03:30
parent df8deaee9b
commit b58ea368ec
13 changed files with 1147 additions and 23 deletions
+1
View File
@@ -18,6 +18,7 @@
"clsx": "^2.1.1",
"currency-symbol-map": "^5.1.0",
"dayjs": "^1.11.13",
"firebase": "^12.3.0",
"flatpickr": "^4.6.13",
"js-cookie": "^3.0.5",
"jsvectormap": "^1.6.0",