-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
292 lines (269 loc) · 11 KB
/
Copy pathindex.html
File metadata and controls
292 lines (269 loc) · 11 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
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
291
292
<!DOCTYPE html>
<html lang="es">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>EXPERTECH CV</title>
<meta
name="description"
content="EXPERTECH CV, aplicación para crear un currículum web orientado a recruiters tech."
/>
<link rel="stylesheet" href="./styles/reset.css" />
<link rel="stylesheet" href="./styles/main.css" />
</head>
<body>
<!-- Root vacío del auth screen.
AuthScreenTemplate.js inyecta aquí el markup real de login/register. -->
<section
id="auth-screen"
class="auth-screen"
aria-label="Pantalla de acceso"
></section>
<!-- Contenedor principal de la app autenticada.
Empieza oculto por defecto.
AppRuntime + AuthScreen deciden cuándo mostrarlo. -->
<div id="app-shell-authenticated" class="app-shell" hidden>
<section class="dashboard-hero-banner" aria-label="Introducción del dashboard">
<header class="app-header">
<div id="welcome-block" class="brand-block">
<h1 class="brand-title">EXPERTECH</h1>
<p class="brand-tagline">
CV Builder
</p>
</div>
<div class="header-actions">
<button
type="button"
id="logout-button"
class="btn btn-secondary"
aria-label="Cerrar sesión y volver a la pantalla de acceso"
>
Cerrar sesión
</button>
<button
type="button"
id="dark-mode-toggle"
class="btn btn-secondary theme-toggle-button"
aria-label="Activar modo oscuro"
aria-pressed="false"
>
<svg
class="theme-icon theme-icon-moon"
width="16"
height="16"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
aria-hidden="true"
>
<path d="M12 3a7 7 0 1 0 9 9 9 9 0 1 1-9-9z"></path>
</svg>
<svg
class="theme-icon theme-icon-sun"
width="16"
height="16"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
aria-hidden="true"
>
<circle cx="12" cy="12" r="4"></circle>
<path d="M12 2v2"></path>
<path d="M12 20v2"></path>
<path d="m4.93 4.93 1.41 1.41"></path>
<path d="m17.66 17.66 1.41 1.41"></path>
<path d="M2 12h2"></path>
<path d="M20 12h2"></path>
<path d="m6.34 17.66-1.41 1.41"></path>
<path d="m19.07 4.93-1.41 1.41"></path>
</svg>
<span class="theme-toggle-label">Modo oscuro</span>
</button>
</div>
</header>
<section id="dashboard-hero-card" class="hero" aria-labelledby="hero-title">
<h2 id="hero-title">Panel principal de tu CV profesional</h2>
<p class="hero-text">
Edita tu perfil, conecta GitHub y revisa la vista previa en tiempo
real desde un único espacio de trabajo.
</p>
</section>
</section>
<main class="app-main">
<section class="workspace" aria-label="Zona principal de trabajo">
<section class="editor-panel" aria-labelledby="editor-panel-title">
<div class="panel-heading">
<p class="section-kicker">Editor</p>
<h2 id="editor-panel-title" class="section-title">Bloques del CV</h2>
<p class="section-text">
Edita tu información profesional y mantén el contenido listo para compartir.
</p>
</div>
<article class="editor-block" aria-labelledby="profile-block-title">
<div class="block-heading">
<div class="block-heading-top">
<h3 id="profile-block-title" class="block-title">Perfil profesional</h3>
<span class="status-badge">Editable</span>
</div>
<p class="block-text">
Datos principales del candidato: nombre, rol, resumen y enlaces clave.
</p>
</div>
<form
id="profile-form"
class="profile-form"
aria-label="Formulario de perfil profesional"
>
<div class="form-grid">
<div class="form-field">
<label for="fullName">Nombre y apellidos</label>
<input
type="text"
id="fullName"
name="fullName"
placeholder="Ej. Ana García"
autocomplete="name"
/>
</div>
<div class="form-field">
<label>Foto de perfil (Opcional)</label>
<div class="file-upload-wrapper">
<input
type="file"
id="avatarFile"
name="avatarFile"
accept="image/*"
class="sr-only"
/>
<label for="avatarFile" class="btn btn-secondary file-upload-button">
<svg width="18" height="18" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 16v1a3 3 0 003 3h10a3 3 0 003-3v-1m-4-8l-4-4m0 0L8 8m4-4v12"></path>
</svg>
Seleccionar imagen
</label>
<span id="avatarFile-name" class="file-upload-name">Ningún archivo...</span>
</div>
<small style="color: #64748b; font-size: 0.8rem; margin-top: 5px; display: block;">O cargará la de GitHub automáticamente</small>
</div>
<div class="form-field">
<label for="headline">Titular profesional</label>
<input
type="text"
id="headline"
name="headline"
placeholder="Ej. Desarrollador Frontend"
autocomplete="organization-title"
/>
</div>
<div class="form-field form-field-full">
<label for="summary">Resumen profesional</label>
<textarea
id="summary"
name="summary"
rows="5"
placeholder="Cuéntale a un recruiter quién eres, qué sabes hacer y qué tipo de perfil aportas."
></textarea>
</div>
<div class="form-field">
<label for="email">Email</label>
<input
type="email"
id="email"
name="email"
placeholder="Ej. nombre@email.com"
autocomplete="email"
/>
</div>
<div class="form-field">
<label for="location">Ubicación</label>
<input
type="text"
id="location"
name="location"
placeholder="Ej. Madrid, España"
autocomplete="address-level2"
/>
</div>
<div class="form-field">
<label for="linkedinUrl">LinkedIn</label>
<input
type="url"
id="linkedinUrl"
name="linkedinUrl"
placeholder="https://www.linkedin.com/in/tu-perfil"
autocomplete="url"
/>
</div>
<div class="form-field">
<label for="githubUsername">Usuario de GitHub</label>
<input
type="text"
id="githubUsername"
name="githubUsername"
placeholder="Ej. tu-usuario-github"
autocomplete="username"
/>
</div>
</div>
<p
id="profile-form-feedback"
class="form-feedback"
aria-live="polite"
role="status"
></p>
<div class="profile-form-actions">
<button type="submit" class="btn btn-primary">Guardar perfil</button>
</div>
</form>
<p class="helper-note">
La vista previa se actualiza al instante. Usa "Guardar perfil"
para conservar los cambios.
</p>
</article>
<!-- Root vacío del bloque GitHub.
GitHubBlockTemplate.js inyecta aquí el markup base.
GitHubIntegration.js lo usa después para el comportamiento real. -->
<div id="github-block-root"></div>
</section>
<!-- Root vacío de preview.
PreviewTemplate.js inyecta aquí el markup base del panel preview.
PreviewRenderer.js lo utiliza después para pintar datos reales. -->
<div id="preview-panel-root"></div>
<!-- Root vacío de la versión exportable.
PrintCVTemplate.js inyecta aquí el markup print-only del CV.
PrintCVRenderer.js lo pinta con el mismo estado del CV. -->
<div id="print-cv-root" class="print-cv-root" aria-hidden="true"></div>
</section>
<section class="final-actions" aria-labelledby="final-actions-title">
<h2 id="final-actions-title" class="section-title">Acciones del CV</h2>
<p class="section-text">
Exporta tu CV en PDF o abre su vista previa pública local.
</p>
<div class="final-actions-list">
<button
type="button"
id="export-pdf-button"
class="btn btn-primary"
>
Exportar PDF
</button>
<button
type="button"
id="view-public-button"
class="btn btn-secondary"
>
Ver vista previa pública
</button>
</div>
</section>
</main>
</div>
<script type="module" src="./js/app.js"></script>
</body>
</html>