Skip to content

Commit

Permalink
Merge pull request #79 from falak412/main
Browse files Browse the repository at this point in the history
added login page
  • Loading branch information
Mayank77maruti authored Jan 2, 2025
2 parents a0a9e28 + 3e8f1e4 commit f73093a
Show file tree
Hide file tree
Showing 3 changed files with 140 additions and 0 deletions.
6 changes: 6 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,12 @@
<span class="span">Contact</span>
</a>
</li>
<li class="navbar-item">
<a href="login.html" class="navbar-link hover-underline">
<div class="separator"></div>
<span class="span">Login/Sign Up</span>
</a>
</li>

</ul>

Expand Down
66 changes: 66 additions & 0 deletions login.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Login Page</title>
<style>
body {
font-family: Arial, sans-serif;
background-color:hsl(38, 61%, 73%);
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
}
.login-container {
background-color:hsl(37, 46%, 84%);
padding: 30px;
border-radius: 13px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
width: 400px;
height: 300px;
}
.login-container h1 {
margin-bottom: 20px;
color: #333;
}
.login-container input[type="text"],
.login-container input[type="password"] {
width: 92%;
padding: 10px;
margin: 10px 0;
border: 1px solid #ccc;
border-radius: 4px;
}
.login-container button {
width: 98%;
padding: 10px;
margin-top: 10px;
background-color: hsl(38, 72%, 37%);
color: white;
border: none;
border-radius: 6px;
cursor: pointer;
}
.login-container button:hover {
background-color: hsla(210, 4%, 11%, 1);
}
</style>
</head>
<body>
<div class="login-container">
<h1 style="text-align: center; font-family: 'Courier New';">Login</h1>
<form>
<input type="text" placeholder="Username" required>
<input type="password" placeholder="Password" required>
<button type="submit">Login</button>
</form>
<h3 style="text-align: center;">
Don't have an account? <a href="signup.html">Sign Up</a>
</h3>
</div>

</body>
</html>
68 changes: 68 additions & 0 deletions signup.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Sign Up Page</title>
<style>
body {
font-family: Arial, sans-serif;
background-color:hsl(38, 61%, 73%);
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
}
.login-container {
background-color:hsl(37, 46%, 84%);
padding: 30px;
border-radius: 13px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
width: 400px;
height: 400px;
}
.login-container h1 {
margin-bottom: 20px;
color: #333;
}
.login-container input[type="text"],
.login-container input[type="email"],
.login-container input[type="confirm password"],
.login-container input[type="password"] {
width: 92%;
padding: 10px;
margin: 10px 0;
border: 1px solid #ccc;
border-radius: 4px;
}
.login-container button {
width: 98%;
padding: 10px;
margin-top: 10px;
background-color: hsl(38, 72%, 37%);
color: white;
border: none;
border-radius: 6px;
cursor: pointer;
}
.login-container button:hover {
background-color: hsla(210, 4%, 11%, 1);
}
</style>
</head>
<body>
<div class="login-container">
<h1 style="text-align: center; font-family: 'Courier New';">Sign Up</h1>
<form>
<input type="text" placeholder="Username" required>
<input type="Email" placeholder="Email" required>
<input type="password" placeholder="Password" required>
<input type="Confirm password" placeholder="Confirm Password" required>
<button type="submit">Sign Up</button>
</form>

</div>

</body>
</html>

0 comments on commit f73093a

Please sign in to comment.