forked from GarimaSingh0109/Resum-Resume
-
Notifications
You must be signed in to change notification settings - Fork 0
/
resume.html
192 lines (167 loc) · 4.43 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
<!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 {
--purple: #aca7eb;
}
body {
font-family: "Roboto", sans-serif;
background-color: #f4f4f9;
margin: 0;
padding: 0;
}
.container {
max-width: 600px;
margin: 50px auto;
background-color: #fff;
padding: 20px;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
h1 {
text-align: center;
color: #333;
}
form {
display: flex;
flex-direction: column;
}
label {
margin: 10px 0 5px;
color: #333;
font-weight: 500;
}
input[type="url"],
select,
button {
padding: 10px;
font-size: 16px;
border: 1px solid #ccc;
border-radius: 4px;
margin-bottom: 20px;
outline: none;
}
input[type="url"]:focus,
select:focus {
border-color: var(--purple);
}
button {
background-color: var(--purple);
color: white;
border: none;
cursor: pointer;
}
button:hover {
background-color: var(--purple);
}
.footer {
text-align: center;
margin-top: 20px;
font-size: 14px;
color: #666;
}
.navbar {
background-color: var(--purple);
padding: 15px 20px;
display: flex;
justify-content: space-between;
align-items: center;
}
.navbar h1 {
color: white;
margin: 0;
font-size: 24px;
}
.navbar ul {
list-style-type: none;
margin: 0;
padding: 0;
display: flex;
gap: 20px;
}
.navbar ul li {
display: inline;
}
.navbar ul li a {
color: white;
text-decoration: none;
font-size: 18px;
}
.navbar ul li a:hover {
text-decoration: underline;
}
/* Main Content Placeholder */
.content {
padding: 20px;
}
/* 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;
}
}
</style>
</head>
<body>
<div class="container">
<!-- Navbar -->
<nav class="navbar">
<h1>Resume Builder</h1>
<ul>
<li><a href="index.html">Home</a></li>
<li><a href="about.html">About</a></li>
</ul>
</nav>
<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="template">Choose a Resume Template</label>
<select id="template" name="template" required>
<option value="classic">Classic Template</option>
<option value="modern">Modern Template</option>
<option value="minimalist">Minimalist Template</option>
</select>
<button type="submit">Generate Resume</button>
</form>
<div class="footer">
<p>Powered by Resume Builder © 2024</p>
</div>
</div>
<script>
document
.getElementById("resumeForm")
.addEventListener("submit", function (event) {
event.preventDefault();
const linkedInUrl = document.getElementById("linkedin-url").value;
const template = document.getElementById("template").value;
if (linkedInUrl && template) {
alert(
`Generating resume using ${template} template for LinkedIn profile: ${linkedInUrl}`
);
// Here you would add logic to send this data to your backend for processing
}
});
</script>
</body>
</html>