-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #34 from Code-For-Humans-School/login-page
Updated the Login-page branch
- Loading branch information
Showing
8 changed files
with
71 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,9 @@ | ||
body { | ||
padding: 50px; | ||
margin: 0; | ||
padding: 0; | ||
font: 14px "Lucida Grande", Helvetica, Arial, sans-serif; | ||
} | ||
|
||
a { | ||
color: #00B7FF; | ||
.login-container { | ||
background: linear-gradient(90deg, rgb(123, 91, 199) 0%, rgb(234, 56, 141) 100%); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,15 @@ | ||
doctype html | ||
html | ||
head | ||
meta(name='viewport', content='width=device-width, initial-scale=1') | ||
title= title | ||
link(rel='stylesheet', href='/stylesheets/style.css') | ||
link(href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous") | ||
link(rel='stylesheet', href='https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css') | ||
link(rel='stylesheet' href='/stylesheets/style.css') | ||
body | ||
|
||
block content | ||
|
||
script(src='https://code.jquery.com/jquery-3.5.1.slim.min.js') | ||
script(src='https://cdn.jsdelivr.net/npm/@popperjs/[email protected]/dist/umd/popper.min.js') | ||
script(src='https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
extends layout | ||
block content | ||
|
||
.login-container.vh-100.d-flex.align-items-center.justify-content-center | ||
.card.text-center.bg-dark.text-white.shadow-lg(style="width: 22rem; border-radius: 1rem;") | ||
.card-body.p-5 | ||
h2.fw-bold.mb-2.text-uppercase Login | ||
p.text-white-50.mb-5 Please log in using one of the following options! | ||
|
||
.d-flex.flex-column.align-items-center | ||
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') | ||
| Login with 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') | ||
| Login with Linkedin |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
nav | ||
a(href='/') Home | ||
a(href='/login') Login | ||
a(href='/logout') Logout | ||
a(href='/post') Post |