Skip to content

Commit

Permalink
Merge pull request #38 from rogershi-dev/feature/registration-auth
Browse files Browse the repository at this point in the history
Fixed some syntax errors in register.pug
  • Loading branch information
rogershi-dev authored Jul 10, 2024
2 parents bedfde4 + dc88333 commit 2964650
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions server/views/register.pug
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@ block content
p.text-white-50.mb-5 Please finish the following authorizations!

.d-flex.flex-column.align-items-center
if githubUsername
button.btn.btn-success.btn-lg.mb-3.w-100(type='button' disabled)
i.fab.fa-github.fa-lg(style='margin-right: 8px')
| GitHub Authorized
else
button.btn.btn-outline-light.btn-lg.mb-3.w-100(type='button' onclick="window.location.href='/auth/github'")
i.fab.fa-github.fa-lg(style='margin-right: 8px')
| Authorize GitHub
if githubUsername
button.btn.btn-success.btn-lg.mb-3.w-100(type='button' disabled)
i.fab.fa-github.fa-lg(style='margin-right: 8px')
| GitHub Authorized
else
button.btn.btn-outline-light.btn-lg.mb-3.w-100(type='button' onclick="window.location.href='/auth/github'")
i.fab.fa-github.fa-lg(style='margin-right: 8px')
| Authorize GitHub

button.btn.btn-outline-light.btn-lg.w-100(type='button' onclick="window.location.href='/auth/linkedin'")
i.fab.fa-linkedin.fa-lg(style='margin-right: 8px')
Expand Down

0 comments on commit 2964650

Please sign in to comment.