Skip to content

Commit

Permalink
Merge pull request #124 from rogershi-dev/feature/registration-auth
Browse files Browse the repository at this point in the history
Solved 'background not changing problem'
  • Loading branch information
rogershi-dev authored Jul 15, 2024
2 parents 0748ccd + 68e3c6a commit 3158071
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 15 deletions.
3 changes: 2 additions & 1 deletion server/public/stylesheets/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@ body {
}

.login-container {
background: linear-gradient(90deg, rgb(123, 91, 199) 0%, rgb(234, 56, 141) 100%);
/* background: linear-gradient(90deg, rgb(123, 91, 199) 0%, rgb(234, 56, 141) 100%); */
background: linear-gradient(to right, #f8f9fa, #e9ecef);
}
9 changes: 2 additions & 7 deletions server/views/login.pug
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ extends layout
block content

.login-container.vh-100.d-flex.align-items-center.justify-content-center
.card.text-center.bg-light.text-dark.shadow-lg(style="width: 22rem; border-radius: 1rem;")
.card.text-center.bg-light.text-dark.shadow-lg(style="width: 22rem; border-radius: 1rem; margin: auto 30px;")
.card-body.p-5
h2.fw-bold.mb-2.text-uppercase Login
p.text-dark-50.mb-5 Please log in using one of the following options!
Expand All @@ -23,9 +23,4 @@ block content

p.mt-3
| If you haven't created an account yet,
a(href='/users/register' class='text-dark fw-bold') create one

style.
body {
background: linear-gradient(to right, #f8f9fa, #e9ecef) !important;
}
a(href='/users/register' class='text-dark fw-bold') create one
9 changes: 2 additions & 7 deletions server/views/register.pug
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ extends layout
block content

.login-container.vh-100.d-flex.align-items-center.justify-content-center
.card.text-center.bg-light.text-dark.shadow-lg(style="width: 22rem; border-radius: 1rem;")
.card.text-center.bg-light.text-dark.shadow-lg(style="width: 22rem; border-radius: 1rem; margin: auto 30px;")
.card-body.p-5
h2.fw-bold.mb-2.text-uppercase Register
p.text-dark-50.mb-5 Please finish the following authorizations!
Expand Down Expand Up @@ -46,9 +46,4 @@ block content

p.mt-3
| If you've already done the authorization,
a(href='/users/login' class='text-dark fw-bold') login now

style.
body {
background: linear-gradient(to right, #f8f9fa, #e9ecef) !important;
}
a(href='/users/login' class='text-dark fw-bold') login now

0 comments on commit 3158071

Please sign in to comment.