-
Notifications
You must be signed in to change notification settings - Fork 0
/
register.html
156 lines (137 loc) · 4.05 KB
/
register.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Recruiter Registration</title>
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap">
<style>
body {
font-family: 'Roboto', sans-serif;
margin: 0;
padding: 0;
background: linear-gradient(135deg, #50caa3, #1d664f);
color: #333;
display: flex;
flex-direction: column;
min-height: 100vh;
}
header {
background-color: #5191fd;
color: white;
padding: 20px;
display: flex;
justify-content: space-between;
align-items: center;
}
.logo {
font-size: 24px;
font-weight: 700;
margin-right: 20px;
}
nav ul {
list-style: none;
padding: 0;
margin: 0;
display: flex;
}
nav ul li {
margin-left: 20px;
}
nav ul li a {
color: white;
text-decoration: none;
font-weight: 500;
transition: color 0.3s;
}
nav ul li a:hover {
color: #ffeb3b;
}
.form-container {
max-width: 600px;
margin: 40px auto;
padding: 30px;
background: white;
border-radius: 8px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
text-align: center;
}
.form-container h2 {
font-size: 28px;
margin-bottom: 20px;
color: #333;
}
.form-container label {
display: block;
margin: 10px 0 5px;
font-weight: 600;
color: #333;
}
.form-container input {
width: calc(100% - 20px);
padding: 12px;
margin-bottom: 20px;
border: 1px solid #ddd;
border-radius: 5px;
font-size: 16px;
box-sizing: border-box;
}
.btn {
background-color: #ffeb3b;
color: #333;
padding: 12px 25px;
text-decoration: none;
border-radius: 5px;
font-weight: 700;
transition: background-color 0.3s;
border: none;
cursor: pointer;
}
.btn:hover {
background-color: #ffc107;
}
footer {
text-align: center;
padding: 4px;
background-color: #333;
color: white;
width: 100%;
margin-top: auto;
}
</style>
</head>
<body>
<header>
<div class="logo">RecruitPro</div>
<nav>
<ul>
<li><a href="index.html">Home</a></li>
<li><a href="login.html">Login</a></li>
</ul>
</nav>
</header>
<section class="form-container">
<h2>Create Account</h2>
<form id="register-form">
<label for="name">Name:</label>
<input type="text" id="name" name="name" required>
<label for="email">Email:</label>
<input type="email" id="email" name="email" required>
<label for="password">Password:</label>
<input type="password" id="password" name="password" required>
<button type="submit" class="btn">Register</button>
</form>
</section>
<footer>
<p>© 2024 RecruitPro. All rights reserved.</p>
</footer>
<script>
// Handle form submission with JavaScript
document.getElementById('register-form').addEventListener('submit', function(event) {
event.preventDefault(); // Prevent the default form submission
// Redirect to the dashboard after registration
window.location.href = 'recruiter-dashboard.html';
});
</script>
</body>
</html>