Skip to content

Commit

Permalink
Merge pull request #108 from GSA/feature/80_login_gov
Browse files Browse the repository at this point in the history
Update the Format for Login Page
  • Loading branch information
BuckinghamAJ authored Feb 29, 2024
2 parents bbd2fa8 + 93c707c commit e71e9dc
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
13 changes: 6 additions & 7 deletions src/app/auth/userlogin/userlogin.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
</div>

<div class="text-center">
<button class="srt-button"
<button class="srt-button m-2"
style="float:none; display:inline; margin-top:3em;"
id="login"
aria-label="Login with MAX"
Expand All @@ -21,10 +21,8 @@
window.location = 'http://' + server_host + '/api/casLogin'
}()) ">Login with MAX
</button>
</div>
<div class="text-center">
<button class="srt-button"
style="float:none; display:inline; margin-top:3em;"
<button class="srt-button m-2"
style="float:none; display:inline; margin-top:3em; "
id="login"
aria-label="Login with Login.gov"
onClick=" (function() {
Expand All @@ -37,10 +35,11 @@
//default to current name for dev servers
if (server_host === '') { server_host = 'localhost:3000';}
window.location = 'http://' + server_host + '/api/login'
}()) ">Login with Login.gov
}()) ">
<img src="/assets/login-gov-logo.svg" alt="login-gov-logo" style="width: -webkit-fill-available;"/>
</button>
</div>

</main>


Expand Down
1 change: 1 addition & 0 deletions src/assets/login-gov-logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 4 additions & 4 deletions src/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -68,19 +68,19 @@ button.p-button {
button.srt-button,
div.srt-button {
width: 150px;
background-color: #112e51;
background-color: #bbbbbb;
}

.srt-button {
background-color: #337ab7;
border-radius: 5px;
border: none #2e6da4;
color: #fff;
color: #112e51;
cursor: pointer;
display: table;
float: right;
font-weight: 500;
font-size: 16px;
font-weight: 800;
font-size: 20px;
height: 35px;
text-align: center;
transition: all 100ms linear;
Expand Down

0 comments on commit e71e9dc

Please sign in to comment.