Repository navigation
Expand file tree
/
Copy pathindex.html
More file actions
249 lines (230 loc) · 8.52 KB
/
Copy pathindex.html
File metadata and controls
249 lines (230 loc) · 8.52 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Portfolio Maker</title>
<link rel="stylesheet" href="css/style.css" />
</head>
<body>
<header class="topbar">
<h1>Portfolio Maker</h1>
<div class="actions">
<button id="saveBtn" type="button">Save</button>
<button id="loadBtn" type="button">Load</button>
<button id="clearBtn" type="button" class="secondary">Clear</button>
<button id="downloadBtn" type="button" class="outline">Download HTML</button>
</div>
</header>
<main class="grid">
<!-- Builder -->
<section class="panel">
<h2>Build Portfolio</h2>
<!-- Photo -->
<div class="divider">Photo</div>
<div class="row">
<div class="group" style="max-width:240px">
<label>Upload Profile Photo (PNG/JPG)</label>
<input id="photoInput" type="file" accept="image/*" />
<small>Max ~2–3MB recommended</small>
</div>
<div class="group" style="align-items:center;max-width:240px">
<label>Preview</label>
<img id="photoPreview" class="avatar" alt="Preview" />
<button id="removePhotoBtn" type="button" class="secondary">Remove Photo</button>
</div>
</div>
<div class="group">
<label>Full Name</label>
<input id="nameInput" type="text" placeholder="e.g., Priya Sharma" />
</div>
<div class="group">
<label>Tagline</label>
<input id="taglineInput" type="text" placeholder="e.g., Frontend Developer" />
</div>
<div class="group">
<label>About</label>
<textarea id="aboutInput" rows="4" placeholder="Short bio"></textarea>
</div>
<div class="row">
<div class="group">
<label>Location</label>
<input id="locationInput" type="text" placeholder="City, Country" />
</div>
<div class="group">
<label>Email</label>
</div>
</div>
<!-- Job Seeker Information -->
<div class="divider">Job Seeker Info</div>
<div class="row">
<div class="group">
<label>Phone</label>
<input id="phoneInput" type="tel" placeholder="+91 98765 43210" />
</div>
<div class="group">
<label>Years of Experience</label>
<input id="yoeInput" type="number" min="0" max="50" placeholder="e.g., 3" />
</div>
</div>
<div class="row">
<div class="group">
<label>Current/Desired Role</label>
<input id="roleInput" type="text" placeholder="e.g., React Developer" />
</div>
<div class="group">
<label>Resume/CV Link</label>
<input id="resumeInput" type="url" placeholder="https://drive/… or portfolio PDF link" />
</div>
</div>
<div class="row">
<div class="group">
<label>LinkedIn</label>
<input id="linkedinInput" type="url" placeholder="https://linkedin.com/in/username" />
</div>
<div class="group">
<label>Portfolio Website</label>
<input id="websiteInput" type="url" placeholder="https://example.com" />
</div>
</div>
<div class="group">
<label>GitHub</label>
<input id="githubInput" type="url" placeholder="https://github.com/username" />
</div>
<!-- Skills -->
<div class="divider">Skills</div>
<div class="row">
<input id="skillInput" type="text" placeholder="Add a skill and click Add" />
<button id="addSkillBtn" type="button">Add Skill</button>
</div>
<ul id="skillsList" class="chips"></ul>
<!-- Work Experience -->
<div class="divider">Work Experience</div>
<div class="row">
<div class="group">
<label>Company</label>
<input id="expCompanyInput" type="text" placeholder="e.g., Acme Pvt Ltd" />
</div>
<div class="group">
<label>Title</label>
<input id="expTitleInput" type="text" placeholder="e.g., Software Engineer" />
</div>
</div>
<div class="row">
<div class="group">
<label>Start – End</label>
<input id="expDatesInput" type="text" placeholder="e.g., 2022 – Present" />
</div>
<div class="group">
<label>Location</label>
<input id="expLocInput" type="text" placeholder="City, Country (optional)" />
</div>
</div>
<div class="group">
<label>Highlights (comma separated)</label>
<input id="expHighlightsInput" type="text" placeholder="e.g., Led UI revamp, 20% faster build" />
</div>
<button id="addExpBtn" type="button">Add Experience</button>
<div id="expBuilderList" class="list"></div>
<!-- Education -->
<div class="divider">Education</div>
<div class="row">
<div class="group">
<label>Institution</label>
<input id="eduInstInput" type="text" placeholder="e.g., IIT Bombay" />
</div>
<div class="group">
<label>Degree</label>
<input id="eduDegreeInput" type="text" placeholder="e.g., B.Tech CSE" />
</div>
</div>
<div class="row">
<div class="group">
<label>Years</label>
<input id="eduYearsInput" type="text" placeholder="e.g., 2019 – 2023" />
</div>
<div class="group">
<label>Score/CGPA (optional)</label>
<input id="eduScoreInput" type="text" placeholder="e.g., 8.4 CGPA" />
</div>
</div>
<button id="addEduBtn" type="button">Add Education</button>
<div id="eduBuilderList" class="list"></div>
<!-- Projects -->
<div class="divider">Projects</div>
<div class="group">
<label>Project Title</label>
<input id="projTitleInput" type="text" placeholder="e.g., Portfolio Maker" />
</div>
<div class="group">
<label>Project Description</label>
<textarea id="projDescInput" rows="3" placeholder="What this project does"></textarea>
</div>
<div class="row">
<div class="group">
<label>Project Link</label>
<input id="projLinkInput" type="url" placeholder="https://demo-or-repo" />
</div>
<div class="group">
<label>Tech Stack (comma separated)</label>
<input id="projTechInput" type="text" placeholder="HTML, CSS, JS" />
</div>
</div>
<button id="addProjectBtn" type="button">Add Project</button>
<div id="projectsBuilderList" class="list"></div>
</section>
<!-- Preview -->
<section class="panel preview">
<h2>Live Preview</h2>
<article id="preview">
<header class="hero">
<div class="heroRow">
<img id="pPhoto" class="avatar" alt="Profile Photo" />
<div>
<h1 id="pName">Your Name</h1>
<p id="pTagline">Your Tagline</p>
<p id="pMeta">
<span id="pLocation">Location</span> • <a id="pEmail" href="#">Email</a>
</p>
<p class="links">
<a id="pPhone" href="#">Phone</a>
<a id="pWebsite" href="#" target="_blank" rel="noopener">Website</a>
<a id="pGithub" href="#" target="_blank" rel="noopener">GitHub</a>
<a id="pLinkedIn" href="#" target="_blank" rel="noopener">LinkedIn</a>
<a id="pResume" href="#" target="_blank" rel="noopener">Resume</a>
</p>
<p id="pYOE" class="muted"></p>
<p id="pRole" class="muted"></p>
</div>
</div>
</header>
<section>
<h3>About</h3>
<p id="pAbout">Write a short intro in the builder to see it here.</p>
</section>
<section>
<h3>Skills</h3>
<ul id="pSkills" class="chips"></ul>
</section>
<section>
<h3>Work Experience</h3>
<div id="pExp" class="cards"></div>
</section>
<section>
<h3>Education</h3>
<div id="pEdu" class="cards"></div>
</section>
<section>
<h3>Projects</h3>
<div id="pProjects" class="cards"></div>
</section>
</article>
</section>
</main>
<footer class="foot">
<small>Tip: Save stores everything (including photo) in your browser. Load restores it. Download exports a static HTML.</small>
</footer>
<script src="js/script.js"></script>
</body>
</html>