add deploy command in npm and css align person details

This commit is contained in:
prisar
2023-07-21 11:00:09 +05:30
parent 65d28ad432
commit ba8056389f
4 changed files with 32 additions and 26 deletions

View File

@@ -50,10 +50,10 @@ class AbsorbanceGraph extends Component {
})
.then(response => response.data.text())
.then((text) => {
const testData = d3.csvParse(text.replaceAll('"', '')).filter(x => { if (x.NM > 390 && x.NM < 650) return x; });;
const testData = d3.csvParse(text.replaceAll('"', '')).filter(x => { if (x.NM > 350 && x.NM < 600) return x; });;
const options = {
windowSize: 23,
windowSize: 65,
derivative: 0,
polynomial: 3,
};

View File

@@ -5,7 +5,7 @@
}
.day-dropdown {
width: 15vw;
width: 20vw;
margin: 5px;
font-weight: 600;
}
@@ -23,9 +23,14 @@
}
.person-details {
margin: 15px;
justify-content: center;
align-items: center;
/* display: flex; */
padding: 15px;
margin: 15px 0 10px 0;
font-weight: 600;
font-size: larger;
background-color: white;
}
.graph-person-conatiner {

View File

@@ -3,28 +3,28 @@ import { getFirestore, collection, getDocs, doc, onSnapshot, query } from "fireb
import { initializeApp } from "firebase/app";
import { getAnalytics } from "firebase/analytics";
// /* dev and test */
// const firebaseConfig = {
// apiKey: "AIzaSyBFl_YkJ5PMIvMY3G70313SyrqemjFnUv8",
// authDomain: "hpos-af3cc.firebaseapp.com",
// projectId: "hpos-af3cc",
// storageBucket: "hpos-af3cc.appspot.com",
// messagingSenderId: "650071678820",
// appId: "1:650071678820:web:ce50538bf46632d46c6471",
// measurementId: "G-6JHQ47S9DD"
// };
/* prod */
const firebaseConfig = {
apiKey: "AIzaSyBF4pLZReAedU4dWX1eRJNFNIaOIz2xk4s",
authDomain: "hpos-prod.firebaseapp.com",
projectId: "hpos-prod",
storageBucket: "hpos-prod.appspot.com",
messagingSenderId: "1012719870714",
appId: "1:1012719870714:web:fcd00acef93f6612de5f43",
measurementId: "G-B0NZ7DEF69"
/* dev and test */
const firebaseConfig = {
apiKey: "AIzaSyBFl_YkJ5PMIvMY3G70313SyrqemjFnUv8",
authDomain: "hpos-af3cc.firebaseapp.com",
projectId: "hpos-af3cc",
storageBucket: "hpos-af3cc.appspot.com",
messagingSenderId: "650071678820",
appId: "1:650071678820:web:ce50538bf46632d46c6471",
measurementId: "G-6JHQ47S9DD"
};
// /* prod */
// const firebaseConfig = {
// apiKey: "AIzaSyBF4pLZReAedU4dWX1eRJNFNIaOIz2xk4s",
// authDomain: "hpos-prod.firebaseapp.com",
// projectId: "hpos-prod",
// storageBucket: "hpos-prod.appspot.com",
// messagingSenderId: "1012719870714",
// appId: "1:1012719870714:web:fcd00acef93f6612de5f43",
// measurementId: "G-B0NZ7DEF69"
// };
const app = initializeApp(firebaseConfig);