mirror of
https://github.com/hexahigh/portfolio.git
synced 2025-12-12 03:25:06 +01:00
update
This commit is contained in:
parent
ddb1e93b4c
commit
c62f25fdbb
@ -35,9 +35,9 @@ const firebaseConfig = {
|
||||
|
||||
};
|
||||
|
||||
function googleSign() {
|
||||
document.getElementById("googleSignButton").addEventListener("click", function() {
|
||||
signInWithRedirect(auth, provider);
|
||||
}
|
||||
});
|
||||
|
||||
// Initialize Firebase
|
||||
const app = initializeApp(firebaseConfig);
|
||||
|
||||
@ -16,7 +16,7 @@
|
||||
<input id="passInput" type="password" name="password" placeholder="Password">
|
||||
<button type="submit">Sign up</button>
|
||||
</form>
|
||||
<button onclick="googleSign()">Sign in/up with google</button>
|
||||
<button id="googleSignButton">Sign in/up with google</button>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
Loading…
x
Reference in New Issue
Block a user