Licensing

Images

All graphical assets in this template are licensed for personal and commercial use. If you’d like to use a specific asset, please check the license below.

Inter Tight

You can use these fonts freely in your products & projects - print or digital, commercial or otherwise. However, you can't sell the fonts on their own. This isn't legal advice, please consider consulting a lawyer and see the full license for all details. (from Google Fonts website)

Social Icons

Font Awesome Free is free and open source font. You can use these font icons freely in your products & commercial projects. License.

function signUp() { const email = document.getElementById('signUpEmail').value; const password = document.getElementById('signUpPassword').value; firebase.auth().createUserWithEmailAndPassword(email, password) .then((userCredential) => { // Sign-up successful. const user = userCredential.user; console.log('User signed up:', user.uid); alert('Sign-up successful!'); // Redirect or update the UI. }) .catch((error) => { console.error('Sign-up error:', error); alert('Sign-up error: ' + error.message); }); } function signIn() { const email = document.getElementById('signInEmail').value; const password = document.getElementById('signInPassword').value; firebase.auth().signInWithEmailAndPassword(email, password) .then((userCredential) => { // Sign-in successful. const user = userCredential.user; console.log('User signed in:', user.uid); alert('Sign-in successful!'); // Redirect or update the UI. }) .catch((error) => { console.error('Sign-in error:', error); alert('Sign-in error: ' + error.message); }); } firebase.auth().onAuthStateChanged((user) => { if (user) { console.log('User is signed in:', user.uid); // Update the UI for authenticated user. } else { console.log('No user is signed in.'); // Redirect to sign-in page or show sign-in form. } });