4 changed files with 108 additions and 38 deletions
@ -1,20 +1,96 @@ |
|||||||
<html> |
<!DOCTYPE html> |
||||||
|
<html lang="en"> |
||||||
<head> |
<head> |
||||||
<link rel="stylesheet" type="text/css" href="assets/css/style.css" /> |
<meta charset="UTF-8"> |
||||||
<link rel="stylesheet" type="text/css" href="assets/css/login.css" /> |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> |
||||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.css"> |
<title>Login</title> |
||||||
|
<style> |
||||||
|
* { |
||||||
|
box-sizing: border-box; |
||||||
|
margin: 0; |
||||||
|
padding: 0; |
||||||
|
} |
||||||
|
|
||||||
|
body { |
||||||
|
font-family: Arial, sans-serif; |
||||||
|
background-color: #F4F1EB; /* Light cream background */ |
||||||
|
display: flex; |
||||||
|
justify-content: center; |
||||||
|
align-items: center; |
||||||
|
min-height: 100vh; |
||||||
|
} |
||||||
|
|
||||||
|
.login-container { |
||||||
|
text-align: center; |
||||||
|
background-color: #FFFFFF; /* White box background */ |
||||||
|
padding: 30px; |
||||||
|
border-radius: 8px; |
||||||
|
box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1); |
||||||
|
width: 100%; |
||||||
|
max-width: 400px; |
||||||
|
} |
||||||
|
|
||||||
|
.login-container h1 { |
||||||
|
font-size: 2em; |
||||||
|
color: #457B9D; /* Muted blue */ |
||||||
|
margin-bottom: 10px; |
||||||
|
} |
||||||
|
|
||||||
|
.login-container p { |
||||||
|
color: #495057; /* Dark gray */ |
||||||
|
font-size: 1em; |
||||||
|
margin-bottom: 20px; |
||||||
|
} |
||||||
|
|
||||||
|
.login-container img { |
||||||
|
max-width: 100px; |
||||||
|
margin-bottom: 20px; |
||||||
|
} |
||||||
|
|
||||||
|
.login-container .twitch-button { |
||||||
|
background-color: #9146FF; /* Twitch purple */ |
||||||
|
color: white; |
||||||
|
padding: 10px 20px; |
||||||
|
border: none; |
||||||
|
border-radius: 5px; |
||||||
|
font-size: 1em; |
||||||
|
cursor: pointer; |
||||||
|
text-decoration: none; |
||||||
|
display: inline-block; |
||||||
|
margin-top: 20px; |
||||||
|
} |
||||||
|
|
||||||
|
.login-container .twitch-button:hover { |
||||||
|
background-color: #772CE8; /* Slightly darker Twitch purple */ |
||||||
|
} |
||||||
|
|
||||||
|
.footer-text { |
||||||
|
margin-top: 30px; |
||||||
|
font-size: 0.9em; |
||||||
|
color: #666; |
||||||
|
} |
||||||
|
|
||||||
|
.footer-text a { |
||||||
|
color: #457B9D; |
||||||
|
text-decoration: none; |
||||||
|
} |
||||||
|
|
||||||
|
.footer-text a:hover { |
||||||
|
text-decoration: underline; |
||||||
|
} |
||||||
|
</style> |
||||||
</head> |
</head> |
||||||
<body> |
<body> |
||||||
<div class="login-page-container"> |
|
||||||
<a href="/auth/login/twitch" class="login-button twitch"> |
<div class="login-container"> |
||||||
<i class="fab fa-twitch"></i> Login with Twitch |
<img src="assets/images/logo.jpg" alt="Sponsor a Hacker Logo"> |
||||||
</a> |
<h1>Welcome!</h1> |
||||||
<!-- <a href="/auth/login/google" class="login-button google">--> |
<p>Login with Twitch to continue and connect with your tech community.</p> |
||||||
<!-- <i class="fab fa-youtube"></i> Login with Youtube--> |
<a href="/auth/twitch" class="twitch-button">Login with Twitch</a> |
||||||
<!-- </a>--> |
<p class="footer-text"> |
||||||
<!-- <a href="/auth/login/twitter" class="login-button x">--> |
By logging in, you agree to our <a href="/terms">Terms of Service</a> and <a href="/privacy">Privacy Policy</a>. |
||||||
<!-- <i class="fab fa-x-twitter"></i> Login with X--> |
</p> |
||||||
<!-- </a>--> |
|
||||||
</div> |
</div> |
||||||
|
|
||||||
</body> |
</body> |
||||||
</html> |
</html> |
||||||
Loading…
Reference in new issue