code change to work in Fly.io

This commit is contained in:
JBB0807 2025-04-21 17:14:56 -07:00
parent cc7652fafe
commit 2e9b61353a
6 changed files with 131 additions and 3 deletions

View file

@ -14,6 +14,10 @@ function SignInForm() {
});
};
const googleAuth = () => {
window.open("https://byte-camp-auth-service.fly.dev/auth/google", "_self");
};
const handleOnSubmit = (evt) => {
evt.preventDefault();
@ -33,11 +37,11 @@ function SignInForm() {
<form onSubmit={handleOnSubmit}>
<h1>Sign in</h1>
<div className="social-container">
<a href="#" className="social">
<i className="fab fa-facebook-f" />
<a className="social" onClick={googleAuth}>
<i className="fab fa-google-plus-g" />
</a>
<a href="#" className="social">
<i className="fab fa-google-plus-g" />
<i className="fab fa-facebook-f" />
</a>
<a href="#" className="social">
<i className="fab fa-linkedin-in" />