Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added signup page in "Hotstar Clone" project #1216

Merged
merged 1 commit into from
Aug 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Projects/Hotsar_Clone/login.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ <h2>Login</h2>
</div>
</form>
<div class="signup">
<p>New to Hotstar? <a href="#">Sign up now</a></p>
<p>New to Hotstar? <a href="signup.html">Sign up now</a></p>
</div>
</div>
</div>
Expand Down
87 changes: 87 additions & 0 deletions Projects/Hotsar_Clone/signup.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
body {
margin: 0;
font-family: Arial, sans-serif;
background-color: #000;
color: white;
}

.overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.6);
}

.header {
position: absolute;
top: 0;
left: 0;
width: 100%;
padding: 20px;
display: flex;
justify-content: center;
}

.logo {
max-width: 130px;
}

.signup-container {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
text-align: center;
width: 90%;
max-width: 400px;
}

.signup-form h1 {
font-size: 1.4em;
margin-bottom: 2px;
}

.signup-form h2 {
font-size: 1.2em;
margin-bottom: 2px;
}

.signup-form input {
width: 70%;
padding: 15px;
margin: 10px 0;
border: none;
border-radius: 5px;
font-size: 16px;
}

.signup-form button {
width: 30%;
padding: 15px;
margin-top: 10px;
border: none;
border-radius: 5px;
background-color: #1f80e0;
color: white;
font-size: 18px;
cursor: pointer;
}

.signup-form button:hover {
background-color: #1c72c7;
}

.signin-link {
margin-top: 20px;
}

.signin-link a {
color: #1f80e0;
text-decoration: none;
}

.signin-link a:hover {
text-decoration: underline;
}
30 changes: 30 additions & 0 deletions Projects/Hotsar_Clone/signup.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Hotstar Signup</title>
<link rel="stylesheet" href="signup.css">
</head>
<body>
<div class="background">
<div class="overlay"></div>
<div class="header">
<img src="./Images/logo.png" alt="Hotstar Logo" class="logo">
</div>
<div class="signup-container">
<div class="signup-form">
<h1>Unlimited Entertainment, Just for You</h1>
<h2>Sign up now to start your journey.</h2>
<form action="#" method="post">
<input type="text" name="fullname" placeholder="Full Name" required>
<input type="email" name="email" placeholder="Email address" required>
<input type="password" name="password" placeholder="Password" required>
<button type="submit">Sign Up</button>
</form>
<p class="signin-link">Already have an account? <a href="login.html">Sign In now.</a></p>
</div>
</div>
</div>
</body>
</html>