forked from GarimaSingh0109/Resum-Resume
-
Notifications
You must be signed in to change notification settings - Fork 0
/
resume.html
290 lines (256 loc) · 8.64 KB
/
resume.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
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Resume Builder from LinkedIn</title>
<link
href="https://fonts.googleapis.com/css2?family=Roboto:wght@400;500&display=swap"
rel="stylesheet"
/>
<style>
:root {
--deep-teal: #003d4d; /* Updated primary color */
--off-white: #f8f9fa; /* Updated background color */
--dark-slate: #2f4f4f; /* Text color */
--soft-gold: #d9c79e; /* Accent color */
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: Verdana, Geneva, Tahoma, sans-serif;
outline: none;
border: none;
text-decoration: none;
text-transform: capitalize;
transition: 0.2s linear;
}
body {
background-color: var(--off-white);
margin: 0;
padding: 0;
display: flex;
flex-direction: column;
min-height: 100vh; /* Ensure body takes full height */
}
.container {
margin: 50px auto; /* Center horizontally */
padding: 20px;
max-width: 500px; /* Set a max-width for the container */
background-color: #fff;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
border-radius: 10px; /* Added rounded corners */
transition: box-shadow 0.3s ease;
display: flex; /* Use flexbox to center items */
justify-content: center; /* Center horizontally */
align-items: center; /* Center vertically */
height: calc(100vh - 180px); /* Full height minus margins */
}
.container:hover {
box-shadow: 0 0 20px rgba(0, 77, 79, 0.8); /* Glow effect on hover */
}
h1 {
text-align: center;
color: var(--dark-slate); /* Updated heading color */
}
form {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
width: 100%; /* Make form take full width of container */
}
label {
margin: 10px 0 5px;
color: var(--dark-slate); /* Updated label color */
font-weight: 500;
}
input[type="url"],
input[type="email"],
input[type="tel"],
select,
button {
padding: 10px;
font-size: 16px;
border: 1px solid #ccc;
border-radius: 4px;
margin-bottom: 20px;
outline: none;
width: 100%; /* Full width for input fields */
}
input[type="url"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
select:focus {
border-color: var(--purple);
}
button {
background-color: var(--deep-teal);
color: white;
border: none;
cursor: pointer;
transition: background-color 0.3s ease, transform 0.3s ease;
}
button:hover {
background-color: var(--soft-gold); /* Soft gold hover color */
color: var(--deep-teal);
transform: scale(1.05);
}
.footer {
text-align: center;
margin-top: auto; /* Push footer to the bottom */
padding: 34px 0;
background-color: var(--deep-teal);
color: white;
font-size: 14px;
}
.navbar {
background-color: var(--deep-teal);
padding: 30px 20px;
display: flex;
justify-content: space-between;
align-items: center;
}
.navbar h1 {
color: white;
margin-left: 15px;
font-size: 2rem;
transition: color 0.3s ease;
}
.navbar h1:hover {
color: var(--soft-gold);
}
.navbar ul {
list-style-type: none;
margin-right: 30px;
padding: 0;
display: flex;
gap: 20px;
}
.navbar ul li {
display: inline;
}
.navbar ul li a {
color: white;
text-decoration: none;
font-size: 18px;
transition: color 0.3s ease;
}
.navbar ul li a:hover {
color: var(--soft-gold);
}
.content {
padding: 20px;
text-align: center;
}
/* Responsive adjustments */
@media (max-width: 768px) {
.navbar {
flex-direction: column;
align-items: flex-start;
}
.navbar ul {
flex-direction: column;
gap: 10px;
}
.navbar h1 {
margin-bottom: 10px;
}
.container {
max-width: 90%; /* Adjusted width for mobile */
}
}
@media (max-width: 400px) {
.navbar ul {
display: flex;
flex-direction: row;
justify-content: space-evenly;
width: 100%;
}
.navbar ul li {
justify-content: space-evenly !important;
}
.navbar ul li a {
color: #eee7e7;
font-size: 20px;
}
.navbar ul li a:hover {
color: #ffffff;
font-size: 22px;
}
}
</style>
</head>
<body>
<!-- Navbar -->
<nav class="navbar">
<h1>Resum Resume</h1>
<ul>
<li><a href="index.html">Home</a></li>
<li><a href="about.html">About</a></li>
<li><a href="resume.html">Build Resume</a></li>
<li><a href="signup.html">Sign Up</a></li>
<li><a href="login.html">Login</a></li>
</ul>
</nav>
<div class="container">
<form id="resumeForm">
<label for="linkedin-url">LinkedIn Profile URL</label>
<input
type="url"
id="linkedin-url"
name="linkedin-url"
placeholder="Enter your LinkedIn URL"
required
/>
<label for="email">Email Address</label>
<input
type="email"
id="email"
name="email"
placeholder="Enter your email address"
required
/>
<label for="phone">Phone Number</label>
<input
type="tel"
id="phone"
name="phone"
placeholder="Enter your phone number"
required
/>
<label for="template">Choose a Resume Template</label>
<select id="template" name="template" placeholder="Choose Template" required>
<option value="classic">Choose Template</option>
<option value="classic">Classic Template</option>
<option value="modern">Modern Template</option>
<option value="minimalist">Minimalist Template</option>
<option value="custom">Custom Template</option>
</select>
<button type="submit">Generate Resume</button>
</form>
</div>
<!-- Footer -->
<div class="footer">
<p>Powered by Resume Builder © 2024</p>
</div>
<script>
document
.getElementById("resumeForm")
.addEventListener("submit", function (event) {
event.preventDefault();
const linkedInUrl = document.getElementById("linkedin-url").value;
const email = document.getElementById("email").value;
const phone = document.getElementById("phone").value;
const template = document.getElementById("template").value;
if (linkedInUrl && email && phone && template) {
alert(
`Generating resume using ${template} template for LinkedIn profile: ${linkedInUrl}, Email: ${email}, Phone: ${phone}`
);
// Add logic to send this data to your backend for processing
}
});
</script>
</body>
</html>