Skip to content

Commit

Permalink
Merge pull request #61 from RCDD-202110-TUR-BEW/add-google-signin-button
Browse files Browse the repository at this point in the history
add google signin button
  • Loading branch information
AmmarBaki2 authored Mar 2, 2022
2 parents 41019f6 + 847a47e commit 25ae06a
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
14 changes: 14 additions & 0 deletions src/public/css/home.css
Original file line number Diff line number Diff line change
Expand Up @@ -249,3 +249,17 @@ hr {
height: 5px;
margin: 50px auto;
}

.googleSignIn {
background-color: aliceblue;
color: #000 !important;
text-decoration: none;
border-radius: 15px;
text-align: center;
font-weight: bold;
margin-right: 5px;
padding: 5px;
}
#googleLogo {
width: 30px;
}
9 changes: 9 additions & 0 deletions src/views/home.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,15 @@
<a class="nav-link" href="#teams">Team</a>
</li>
</ul>

<a class="googleSignIn" href="/api/auth/google"
><img
src="https://freesvg.org/img/1534129544.png"
alt="google logo"
id="googleLogo"
/>
Sign in with Google</a
>
</div>
</div>
</nav>
Expand Down

0 comments on commit 25ae06a

Please sign in to comment.