mirror of
https://github.com/DerTyp7/secure-key-gen-react.git
synced 2025-10-28 12:22:14 +01:00
analytics
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
404.html,1678441268921,daa499dd96d8229e73235345702ba32f0793f0c8e5c0d30e40e37a5872be57aa
|
||||
index.html,1678440698830,d34dfe50b125d1b5405dc96da6c74edb9acdd2c5599204c9c0c68831b02526ff
|
||||
assets/index-f0936bbe.css,1678440698830,d1cc6c72221b3819411737fbb6f5d25dc03de49db1dcb196843d3cecdcb394a1
|
||||
fav.svg,1678440669287,1e17e437405ca216fba974eabe397cc0e99dcd7e2605e57d86161f986e67147f
|
||||
assets/index-492b6872.js,1678440698830,c5a35310a0d6f602ffd6851fe2392badd05a7f0b0bf225e6ac73ddbc4292806a
|
||||
index.html,1678450802031,4bee8b6d1aaa22893e3bd3162630d6dfc9b37baa391964956acd70a9fc09b618
|
||||
assets/index-f0936bbe.css,1678450802031,d1cc6c72221b3819411737fbb6f5d25dc03de49db1dcb196843d3cecdcb394a1
|
||||
assets/index-a54d1e6f.js,1678450802031,374cb4ef6dc4ef2a294fa790494601e709388f6136b637c35e7d74768ae06992
|
||||
|
||||
1
.gitignore
vendored
1
.gitignore
vendored
@@ -11,6 +11,7 @@ node_modules
|
||||
dist
|
||||
dist-ssr
|
||||
*.local
|
||||
.env
|
||||
|
||||
# Editor directories and files
|
||||
.vscode/*
|
||||
|
||||
5266
package-lock.json
generated
5266
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -6,9 +6,11 @@
|
||||
"scripts": {
|
||||
"dev": "vite",
|
||||
"build": "tsc && vite build",
|
||||
"preview": "vite preview"
|
||||
"preview": "vite preview",
|
||||
"deploy": "vite build && firebase deploy"
|
||||
},
|
||||
"dependencies": {
|
||||
"firebase": "^9.17.2",
|
||||
"react": "^18.2.0",
|
||||
"react-dom": "^18.2.0",
|
||||
"react-router-dom": "^6.8.2"
|
||||
|
||||
@@ -5,8 +5,12 @@ import { BrowserRouter, Routes, Route } from "react-router-dom";
|
||||
import "@/assets/styles/app.scss";
|
||||
import Legal from "./Legal";
|
||||
import Privacy from "./Privacy";
|
||||
import { getAnalytics } from "firebase/analytics";
|
||||
import { app } from "./firebase";
|
||||
|
||||
function App() {
|
||||
const analytics = getAnalytics(app);
|
||||
|
||||
return (
|
||||
<div className="app">
|
||||
<BrowserRouter>
|
||||
|
||||
@@ -8,9 +8,6 @@ function Footer() {
|
||||
<p>© 2023 - SecureKeyGen.com</p>
|
||||
</div>
|
||||
<div>
|
||||
<a target="_blank" href="https://github.com/DerTyp876/SecureKeyGen">
|
||||
GitHub
|
||||
</a>
|
||||
<a href="/privacy">Privacy</a>
|
||||
<a href="/legal">Legal Notice</a>
|
||||
</div>
|
||||
|
||||
20
src/firebase.ts
Normal file
20
src/firebase.ts
Normal file
@@ -0,0 +1,20 @@
|
||||
// Import the functions you need from the SDKs you need
|
||||
import { initializeApp } from "firebase/app";
|
||||
import { getAnalytics } from "firebase/analytics";
|
||||
// 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: "AIzaSyBRqHi2yINB_TwU4_OYMrQ3ai6SATG3d1A",
|
||||
authDomain: "keygen-89601.firebaseapp.com",
|
||||
projectId: "keygen-89601",
|
||||
storageBucket: "keygen-89601.appspot.com",
|
||||
messagingSenderId: "804905053827",
|
||||
appId: "1:804905053827:web:7b2eb316ad8406e3f675b6",
|
||||
measurementId: "G-6PLGLJN04G"
|
||||
};
|
||||
|
||||
// Initialize Firebase
|
||||
export const app = initializeApp(firebaseConfig);
|
||||
Reference in New Issue
Block a user