Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
clr-li committed Dec 1, 2023
2 parents c7ccb34 + d4dd26f commit b1335a1
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
2 changes: 2 additions & 0 deletions public/components/ContactForm.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ class ContactForm extends Component {
}
div {
width: 100%;
max-width: var(--max-width-small);
margin: 0 auto;
height: 100%;
color: var(--accent);
padding: 1em;
Expand Down
1 change: 1 addition & 0 deletions public/styles/variables.css
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
--success-lighter: lightgreen;
--success-darker: darkgreen;
--max-width: min(1000px, 100vw);
--max-width-small: min(800px, 100vw);
--delete: #f02828;
--delete-lighter: #f87777;
--delete-darker: #d30707;
Expand Down
7 changes: 4 additions & 3 deletions public/util/Auth.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,10 @@ import { getAuth, setPersistence, browserSessionPersistence, GoogleAuthProvider,

// Initialize the current auth session and Firebase app
const app = initializeApp({
apiKey: "AIzaSyBwrJdz4Ht-QMAzWQ3q3Eb02l69QQAIR9c", // gitleaks:allow -- Auth / General Use (see https://stackoverflow.com/questions/37482366/is-it-safe-to-expose-firebase-apikey-to-the-public#:~:text=The%20apiKey%20in%20this%20configuration,interact%20with%20your%20Firebase%20project.)
projectId: "attendancescannerqr", // General Use
authDomain: "attendancescannerqr.firebaseapp.com", // Auth with
// see https://stackoverflow.com/questions/37482366/is-it-safe-to-expose-firebase-apikey-to-the-public#:~:text=The%20apiKey%20in%20this%20configuration,interact%20with%20your%20Firebase%20project.
apiKey: "AIzaSyBwrJdz4Ht-QMAzWQ3q3Eb02l69QQAIR9c", // gitleaks:allow
projectId: "attendancescannerqr",
authDomain: "attendancescannerqr.firebaseapp.com",
});
const auth = getAuth(app);
auth.useDeviceLanguage();
Expand Down

0 comments on commit b1335a1

Please sign in to comment.