jsonresume-theme-art-school-modern 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +7 -0
- package/LICENSE +21 -0
- package/dist/index.js +6499 -0
- package/dist/style.css +139 -0
- package/index.jsx +26 -0
- package/package.json +34 -0
- package/src/Resume.jsx +756 -0
- package/vite.config.js +33 -0
package/src/Resume.jsx
ADDED
|
@@ -0,0 +1,756 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import styled from 'styled-components';
|
|
3
|
+
import { DateRange, Link, safeUrl } from '@jsonresume/core';
|
|
4
|
+
|
|
5
|
+
/*
|
|
6
|
+
* Art School Modern
|
|
7
|
+
* -----------------
|
|
8
|
+
* An avant-garde, gallery/exhibition-catalogue aesthetic for designers and
|
|
9
|
+
* artists. Oversized Archivo Black display type, asymmetric off-grid header,
|
|
10
|
+
* an editorial Fraunces serif for expressive statements, and a single vivid
|
|
11
|
+
* vermilion accent. Sections are numbered like catalogue entries.
|
|
12
|
+
*
|
|
13
|
+
* NOTE: All styled-components are intentionally kept INLINE in this file. A
|
|
14
|
+
* separate styles.js makes the registry webpack resolve the default export as
|
|
15
|
+
* undefined and crashes the route. Never name a styled-component `Date`.
|
|
16
|
+
*/
|
|
17
|
+
|
|
18
|
+
const ACCENT = '#ff3b1d';
|
|
19
|
+
const INK = '#111111';
|
|
20
|
+
const PAPER = '#f6f4ef';
|
|
21
|
+
const MUTE = '#6b6760';
|
|
22
|
+
|
|
23
|
+
const Page = styled.div`
|
|
24
|
+
background: ${PAPER};
|
|
25
|
+
color: ${INK};
|
|
26
|
+
font-family: 'Archivo', -apple-system, BlinkMacSystemFont, sans-serif;
|
|
27
|
+
font-size: 15px;
|
|
28
|
+
line-height: 1.6;
|
|
29
|
+
padding: 0;
|
|
30
|
+
margin: 0;
|
|
31
|
+
-webkit-font-smoothing: antialiased;
|
|
32
|
+
`;
|
|
33
|
+
|
|
34
|
+
const Frame = styled.div`
|
|
35
|
+
max-width: 1080px;
|
|
36
|
+
margin: 0 auto;
|
|
37
|
+
padding: 88px 72px 120px;
|
|
38
|
+
|
|
39
|
+
@media (max-width: 760px) {
|
|
40
|
+
padding: 48px 28px 80px;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
@media print {
|
|
44
|
+
padding: 36px 32px;
|
|
45
|
+
}
|
|
46
|
+
`;
|
|
47
|
+
|
|
48
|
+
/* ---------- Header ---------- */
|
|
49
|
+
|
|
50
|
+
const Header = styled.header`
|
|
51
|
+
display: grid;
|
|
52
|
+
grid-template-columns: 1fr auto;
|
|
53
|
+
gap: 48px;
|
|
54
|
+
align-items: end;
|
|
55
|
+
padding-bottom: 40px;
|
|
56
|
+
margin-bottom: 8px;
|
|
57
|
+
border-bottom: 3px solid ${INK};
|
|
58
|
+
|
|
59
|
+
@media (max-width: 760px) {
|
|
60
|
+
grid-template-columns: 1fr;
|
|
61
|
+
gap: 28px;
|
|
62
|
+
align-items: start;
|
|
63
|
+
}
|
|
64
|
+
`;
|
|
65
|
+
|
|
66
|
+
const Kicker = styled.div`
|
|
67
|
+
font-size: 12px;
|
|
68
|
+
font-weight: 700;
|
|
69
|
+
letter-spacing: 0.42em;
|
|
70
|
+
text-transform: uppercase;
|
|
71
|
+
color: ${ACCENT};
|
|
72
|
+
margin-bottom: 22px;
|
|
73
|
+
`;
|
|
74
|
+
|
|
75
|
+
const Name = styled.h1`
|
|
76
|
+
font-family: 'Archivo Black', 'Archivo', sans-serif;
|
|
77
|
+
font-weight: 400;
|
|
78
|
+
font-size: clamp(56px, 11vw, 132px);
|
|
79
|
+
line-height: 0.86;
|
|
80
|
+
letter-spacing: -0.03em;
|
|
81
|
+
text-transform: uppercase;
|
|
82
|
+
margin: 0;
|
|
83
|
+
color: ${INK};
|
|
84
|
+
`;
|
|
85
|
+
|
|
86
|
+
const Label = styled.div`
|
|
87
|
+
font-family: 'Fraunces', Georgia, serif;
|
|
88
|
+
font-style: italic;
|
|
89
|
+
font-size: clamp(20px, 3vw, 30px);
|
|
90
|
+
line-height: 1.2;
|
|
91
|
+
color: ${INK};
|
|
92
|
+
margin-top: 26px;
|
|
93
|
+
max-width: 30ch;
|
|
94
|
+
`;
|
|
95
|
+
|
|
96
|
+
const Plate = styled.figure`
|
|
97
|
+
margin: 0;
|
|
98
|
+
width: 168px;
|
|
99
|
+
flex-shrink: 0;
|
|
100
|
+
|
|
101
|
+
@media (max-width: 760px) {
|
|
102
|
+
width: 132px;
|
|
103
|
+
}
|
|
104
|
+
`;
|
|
105
|
+
|
|
106
|
+
const PlateImg = styled.img`
|
|
107
|
+
width: 168px;
|
|
108
|
+
height: 168px;
|
|
109
|
+
object-fit: cover;
|
|
110
|
+
display: block;
|
|
111
|
+
filter: grayscale(100%) contrast(1.05);
|
|
112
|
+
border: 3px solid ${INK};
|
|
113
|
+
box-shadow: 12px 12px 0 ${ACCENT};
|
|
114
|
+
|
|
115
|
+
@media (max-width: 760px) {
|
|
116
|
+
width: 132px;
|
|
117
|
+
height: 132px;
|
|
118
|
+
}
|
|
119
|
+
`;
|
|
120
|
+
|
|
121
|
+
const PlateCaption = styled.figcaption`
|
|
122
|
+
font-size: 10px;
|
|
123
|
+
letter-spacing: 0.22em;
|
|
124
|
+
text-transform: uppercase;
|
|
125
|
+
color: ${MUTE};
|
|
126
|
+
margin-top: 14px;
|
|
127
|
+
text-align: right;
|
|
128
|
+
`;
|
|
129
|
+
|
|
130
|
+
/* ---------- Contact row ---------- */
|
|
131
|
+
|
|
132
|
+
const ContactBar = styled.div`
|
|
133
|
+
display: flex;
|
|
134
|
+
flex-wrap: wrap;
|
|
135
|
+
gap: 8px 28px;
|
|
136
|
+
padding: 22px 0 0;
|
|
137
|
+
margin-bottom: 64px;
|
|
138
|
+
font-size: 13px;
|
|
139
|
+
letter-spacing: 0.04em;
|
|
140
|
+
|
|
141
|
+
a {
|
|
142
|
+
color: ${INK};
|
|
143
|
+
text-decoration: none;
|
|
144
|
+
border-bottom: 1px solid transparent;
|
|
145
|
+
transition: border-color 0.18s ease;
|
|
146
|
+
}
|
|
147
|
+
a:hover {
|
|
148
|
+
border-color: ${ACCENT};
|
|
149
|
+
}
|
|
150
|
+
`;
|
|
151
|
+
|
|
152
|
+
const ContactKey = styled.span`
|
|
153
|
+
color: ${MUTE};
|
|
154
|
+
text-transform: uppercase;
|
|
155
|
+
letter-spacing: 0.16em;
|
|
156
|
+
font-size: 10px;
|
|
157
|
+
margin-right: 8px;
|
|
158
|
+
font-weight: 600;
|
|
159
|
+
`;
|
|
160
|
+
|
|
161
|
+
/* ---------- Intro statement ---------- */
|
|
162
|
+
|
|
163
|
+
const Statement = styled.section`
|
|
164
|
+
display: grid;
|
|
165
|
+
grid-template-columns: 220px 1fr;
|
|
166
|
+
gap: 56px;
|
|
167
|
+
margin: 0 0 24px;
|
|
168
|
+
|
|
169
|
+
@media (max-width: 760px) {
|
|
170
|
+
grid-template-columns: 1fr;
|
|
171
|
+
gap: 20px;
|
|
172
|
+
}
|
|
173
|
+
`;
|
|
174
|
+
|
|
175
|
+
const StatementMark = styled.div`
|
|
176
|
+
font-family: 'Archivo Black', 'Archivo', sans-serif;
|
|
177
|
+
font-size: 13px;
|
|
178
|
+
letter-spacing: 0.1em;
|
|
179
|
+
color: ${ACCENT};
|
|
180
|
+
padding-top: 14px;
|
|
181
|
+
`;
|
|
182
|
+
|
|
183
|
+
const StatementText = styled.p`
|
|
184
|
+
font-family: 'Fraunces', Georgia, serif;
|
|
185
|
+
font-size: clamp(24px, 3vw, 40px);
|
|
186
|
+
line-height: 1.18;
|
|
187
|
+
letter-spacing: -0.015em;
|
|
188
|
+
margin: 0;
|
|
189
|
+
max-width: 30ch;
|
|
190
|
+
color: ${INK};
|
|
191
|
+
|
|
192
|
+
&::first-letter {
|
|
193
|
+
color: ${ACCENT};
|
|
194
|
+
}
|
|
195
|
+
`;
|
|
196
|
+
|
|
197
|
+
/* ---------- Sections ---------- */
|
|
198
|
+
|
|
199
|
+
const Block = styled.section`
|
|
200
|
+
display: grid;
|
|
201
|
+
grid-template-columns: 220px 1fr;
|
|
202
|
+
gap: 56px;
|
|
203
|
+
padding: 56px 0;
|
|
204
|
+
border-top: 1px solid rgba(17, 17, 17, 0.16);
|
|
205
|
+
|
|
206
|
+
@media (max-width: 760px) {
|
|
207
|
+
grid-template-columns: 1fr;
|
|
208
|
+
gap: 24px;
|
|
209
|
+
padding: 40px 0;
|
|
210
|
+
}
|
|
211
|
+
`;
|
|
212
|
+
|
|
213
|
+
const BlockHead = styled.div`
|
|
214
|
+
position: relative;
|
|
215
|
+
`;
|
|
216
|
+
|
|
217
|
+
const Index = styled.div`
|
|
218
|
+
font-family: 'Archivo Black', 'Archivo', sans-serif;
|
|
219
|
+
font-size: 13px;
|
|
220
|
+
letter-spacing: 0.1em;
|
|
221
|
+
color: ${ACCENT};
|
|
222
|
+
margin-bottom: 12px;
|
|
223
|
+
`;
|
|
224
|
+
|
|
225
|
+
const BlockTitle = styled.h2`
|
|
226
|
+
font-family: 'Archivo', sans-serif;
|
|
227
|
+
font-weight: 800;
|
|
228
|
+
font-size: 30px;
|
|
229
|
+
line-height: 0.96;
|
|
230
|
+
letter-spacing: -0.02em;
|
|
231
|
+
text-transform: uppercase;
|
|
232
|
+
margin: 0;
|
|
233
|
+
color: ${INK};
|
|
234
|
+
`;
|
|
235
|
+
|
|
236
|
+
const BlockBody = styled.div`
|
|
237
|
+
display: flex;
|
|
238
|
+
flex-direction: column;
|
|
239
|
+
gap: 40px;
|
|
240
|
+
min-width: 0;
|
|
241
|
+
`;
|
|
242
|
+
|
|
243
|
+
/* ---------- Entries ---------- */
|
|
244
|
+
|
|
245
|
+
const Entry = styled.article`
|
|
246
|
+
display: flex;
|
|
247
|
+
flex-direction: column;
|
|
248
|
+
gap: 6px;
|
|
249
|
+
`;
|
|
250
|
+
|
|
251
|
+
const EntryTop = styled.div`
|
|
252
|
+
display: flex;
|
|
253
|
+
flex-wrap: wrap;
|
|
254
|
+
align-items: baseline;
|
|
255
|
+
gap: 10px 16px;
|
|
256
|
+
`;
|
|
257
|
+
|
|
258
|
+
const EntryTitle = styled.h3`
|
|
259
|
+
font-family: 'Archivo', sans-serif;
|
|
260
|
+
font-weight: 700;
|
|
261
|
+
font-size: 21px;
|
|
262
|
+
letter-spacing: -0.01em;
|
|
263
|
+
margin: 0;
|
|
264
|
+
color: ${INK};
|
|
265
|
+
|
|
266
|
+
a {
|
|
267
|
+
color: inherit;
|
|
268
|
+
text-decoration: none;
|
|
269
|
+
border-bottom: 2px solid ${ACCENT};
|
|
270
|
+
}
|
|
271
|
+
`;
|
|
272
|
+
|
|
273
|
+
const EntryMeta = styled.span`
|
|
274
|
+
font-size: 11px;
|
|
275
|
+
font-weight: 600;
|
|
276
|
+
letter-spacing: 0.16em;
|
|
277
|
+
text-transform: uppercase;
|
|
278
|
+
color: ${MUTE};
|
|
279
|
+
font-variant-numeric: tabular-nums;
|
|
280
|
+
`;
|
|
281
|
+
|
|
282
|
+
const EntrySub = styled.div`
|
|
283
|
+
font-family: 'Fraunces', Georgia, serif;
|
|
284
|
+
font-style: italic;
|
|
285
|
+
font-size: 17px;
|
|
286
|
+
color: ${ACCENT};
|
|
287
|
+
`;
|
|
288
|
+
|
|
289
|
+
const EntryText = styled.p`
|
|
290
|
+
margin: 6px 0 0;
|
|
291
|
+
font-size: 14.5px;
|
|
292
|
+
line-height: 1.62;
|
|
293
|
+
color: #2a2722;
|
|
294
|
+
`;
|
|
295
|
+
|
|
296
|
+
const Bullets = styled.ul`
|
|
297
|
+
list-style: none;
|
|
298
|
+
margin: 10px 0 0;
|
|
299
|
+
padding: 0;
|
|
300
|
+
display: flex;
|
|
301
|
+
flex-direction: column;
|
|
302
|
+
gap: 7px;
|
|
303
|
+
|
|
304
|
+
li {
|
|
305
|
+
position: relative;
|
|
306
|
+
padding-left: 24px;
|
|
307
|
+
font-size: 14px;
|
|
308
|
+
line-height: 1.56;
|
|
309
|
+
color: #2a2722;
|
|
310
|
+
}
|
|
311
|
+
li::before {
|
|
312
|
+
content: '';
|
|
313
|
+
position: absolute;
|
|
314
|
+
left: 0;
|
|
315
|
+
top: 9px;
|
|
316
|
+
width: 9px;
|
|
317
|
+
height: 9px;
|
|
318
|
+
background: ${ACCENT};
|
|
319
|
+
}
|
|
320
|
+
`;
|
|
321
|
+
|
|
322
|
+
/* ---------- Skills / tags ---------- */
|
|
323
|
+
|
|
324
|
+
const TagWrap = styled.div`
|
|
325
|
+
display: flex;
|
|
326
|
+
flex-wrap: wrap;
|
|
327
|
+
gap: 9px;
|
|
328
|
+
margin-top: 6px;
|
|
329
|
+
`;
|
|
330
|
+
|
|
331
|
+
const Tag = styled.span`
|
|
332
|
+
font-size: 12.5px;
|
|
333
|
+
letter-spacing: 0.02em;
|
|
334
|
+
padding: 5px 12px;
|
|
335
|
+
border: 1.5px solid ${INK};
|
|
336
|
+
color: ${INK};
|
|
337
|
+
background: transparent;
|
|
338
|
+
`;
|
|
339
|
+
|
|
340
|
+
const SkillGroup = styled.div`
|
|
341
|
+
display: flex;
|
|
342
|
+
flex-direction: column;
|
|
343
|
+
gap: 8px;
|
|
344
|
+
`;
|
|
345
|
+
|
|
346
|
+
const SkillName = styled.div`
|
|
347
|
+
font-family: 'Archivo', sans-serif;
|
|
348
|
+
font-weight: 700;
|
|
349
|
+
font-size: 13px;
|
|
350
|
+
letter-spacing: 0.14em;
|
|
351
|
+
text-transform: uppercase;
|
|
352
|
+
`;
|
|
353
|
+
|
|
354
|
+
/* ---------- Simple rows ---------- */
|
|
355
|
+
|
|
356
|
+
const Rows = styled.div`
|
|
357
|
+
display: flex;
|
|
358
|
+
flex-direction: column;
|
|
359
|
+
gap: 26px;
|
|
360
|
+
`;
|
|
361
|
+
|
|
362
|
+
const InlineList = styled.div`
|
|
363
|
+
display: flex;
|
|
364
|
+
flex-wrap: wrap;
|
|
365
|
+
gap: 10px 26px;
|
|
366
|
+
`;
|
|
367
|
+
|
|
368
|
+
const Pair = styled.div`
|
|
369
|
+
display: flex;
|
|
370
|
+
flex-direction: column;
|
|
371
|
+
gap: 2px;
|
|
372
|
+
`;
|
|
373
|
+
|
|
374
|
+
const PairKey = styled.span`
|
|
375
|
+
font-family: 'Archivo', sans-serif;
|
|
376
|
+
font-weight: 700;
|
|
377
|
+
font-size: 16px;
|
|
378
|
+
color: ${INK};
|
|
379
|
+
`;
|
|
380
|
+
|
|
381
|
+
const PairVal = styled.span`
|
|
382
|
+
font-size: 13px;
|
|
383
|
+
color: ${MUTE};
|
|
384
|
+
`;
|
|
385
|
+
|
|
386
|
+
const Colophon = styled.footer`
|
|
387
|
+
margin-top: 88px;
|
|
388
|
+
padding-top: 22px;
|
|
389
|
+
border-top: 3px solid ${INK};
|
|
390
|
+
display: flex;
|
|
391
|
+
justify-content: space-between;
|
|
392
|
+
flex-wrap: wrap;
|
|
393
|
+
gap: 8px;
|
|
394
|
+
font-size: 10px;
|
|
395
|
+
letter-spacing: 0.24em;
|
|
396
|
+
text-transform: uppercase;
|
|
397
|
+
color: ${MUTE};
|
|
398
|
+
`;
|
|
399
|
+
|
|
400
|
+
/* ---------- helpers ---------- */
|
|
401
|
+
|
|
402
|
+
function pad(num) {
|
|
403
|
+
return String(num).padStart(2, '0');
|
|
404
|
+
}
|
|
405
|
+
|
|
406
|
+
function locationString(loc) {
|
|
407
|
+
if (!loc) return '';
|
|
408
|
+
return [loc.city, loc.region, loc.countryCode].filter(Boolean).join(', ');
|
|
409
|
+
}
|
|
410
|
+
|
|
411
|
+
function Highlights({ items }) {
|
|
412
|
+
if (!items || items.length === 0) return null;
|
|
413
|
+
return (
|
|
414
|
+
<Bullets>
|
|
415
|
+
{items.map((h, i) => (
|
|
416
|
+
<li key={i}>{h}</li>
|
|
417
|
+
))}
|
|
418
|
+
</Bullets>
|
|
419
|
+
);
|
|
420
|
+
}
|
|
421
|
+
|
|
422
|
+
function SectionBlock({ index, title, children }) {
|
|
423
|
+
return (
|
|
424
|
+
<Block>
|
|
425
|
+
<BlockHead>
|
|
426
|
+
<Index>{`(${pad(index)})`}</Index>
|
|
427
|
+
<BlockTitle>{title}</BlockTitle>
|
|
428
|
+
</BlockHead>
|
|
429
|
+
<BlockBody>{children}</BlockBody>
|
|
430
|
+
</Block>
|
|
431
|
+
);
|
|
432
|
+
}
|
|
433
|
+
|
|
434
|
+
function Resume({ resume }) {
|
|
435
|
+
const {
|
|
436
|
+
basics = {},
|
|
437
|
+
work = [],
|
|
438
|
+
volunteer = [],
|
|
439
|
+
education = [],
|
|
440
|
+
awards = [],
|
|
441
|
+
certificates = [],
|
|
442
|
+
publications = [],
|
|
443
|
+
skills = [],
|
|
444
|
+
languages = [],
|
|
445
|
+
interests = [],
|
|
446
|
+
references = [],
|
|
447
|
+
projects = [],
|
|
448
|
+
} = resume;
|
|
449
|
+
|
|
450
|
+
const profiles = basics.profiles || [];
|
|
451
|
+
const loc = locationString(basics.location);
|
|
452
|
+
|
|
453
|
+
let counter = 0;
|
|
454
|
+
const next = () => (counter += 1);
|
|
455
|
+
|
|
456
|
+
return (
|
|
457
|
+
<Page>
|
|
458
|
+
<Frame>
|
|
459
|
+
<Header>
|
|
460
|
+
<div>
|
|
461
|
+
<Kicker>Portfolio / Curriculum Vitae</Kicker>
|
|
462
|
+
{basics.name && <Name>{basics.name}</Name>}
|
|
463
|
+
{basics.label && <Label>{basics.label}</Label>}
|
|
464
|
+
</div>
|
|
465
|
+
{basics.image && (
|
|
466
|
+
<Plate>
|
|
467
|
+
<PlateImg src={safeUrl(basics.image)} alt={basics.name || ''} />
|
|
468
|
+
<PlateCaption>Plate I — Self</PlateCaption>
|
|
469
|
+
</Plate>
|
|
470
|
+
)}
|
|
471
|
+
</Header>
|
|
472
|
+
|
|
473
|
+
<ContactBar>
|
|
474
|
+
{basics.email && (
|
|
475
|
+
<span>
|
|
476
|
+
<ContactKey>Email</ContactKey>
|
|
477
|
+
<a href={safeUrl(`mailto:${basics.email}`)}>{basics.email}</a>
|
|
478
|
+
</span>
|
|
479
|
+
)}
|
|
480
|
+
{basics.phone && (
|
|
481
|
+
<span>
|
|
482
|
+
<ContactKey>Tel</ContactKey>
|
|
483
|
+
<a href={safeUrl(`tel:${basics.phone}`)}>{basics.phone}</a>
|
|
484
|
+
</span>
|
|
485
|
+
)}
|
|
486
|
+
{basics.url && (
|
|
487
|
+
<span>
|
|
488
|
+
<ContactKey>Web</ContactKey>
|
|
489
|
+
<a href={safeUrl(basics.url)}>
|
|
490
|
+
{basics.url.replace(/^https?:\/\//, '').replace(/\/$/, '')}
|
|
491
|
+
</a>
|
|
492
|
+
</span>
|
|
493
|
+
)}
|
|
494
|
+
{loc && (
|
|
495
|
+
<span>
|
|
496
|
+
<ContactKey>Locale</ContactKey>
|
|
497
|
+
{loc}
|
|
498
|
+
</span>
|
|
499
|
+
)}
|
|
500
|
+
{profiles.map((p, i) =>
|
|
501
|
+
p.url ? (
|
|
502
|
+
<span key={i}>
|
|
503
|
+
<ContactKey>{p.network || 'Link'}</ContactKey>
|
|
504
|
+
<a href={safeUrl(p.url)}>{p.username || p.network}</a>
|
|
505
|
+
</span>
|
|
506
|
+
) : null
|
|
507
|
+
)}
|
|
508
|
+
</ContactBar>
|
|
509
|
+
|
|
510
|
+
{basics.summary && (
|
|
511
|
+
<Statement>
|
|
512
|
+
<StatementMark>{'— Statement'}</StatementMark>
|
|
513
|
+
<StatementText>{basics.summary}</StatementText>
|
|
514
|
+
</Statement>
|
|
515
|
+
)}
|
|
516
|
+
|
|
517
|
+
{work.length > 0 && (
|
|
518
|
+
<SectionBlock index={next()} title="Work">
|
|
519
|
+
{work.map((job, i) => (
|
|
520
|
+
<Entry key={i}>
|
|
521
|
+
<EntryTop>
|
|
522
|
+
<EntryTitle>{job.position || job.name}</EntryTitle>
|
|
523
|
+
<EntryMeta>
|
|
524
|
+
<DateRange
|
|
525
|
+
startDate={job.startDate}
|
|
526
|
+
endDate={job.endDate}
|
|
527
|
+
/>
|
|
528
|
+
</EntryMeta>
|
|
529
|
+
</EntryTop>
|
|
530
|
+
{job.name && job.position && <EntrySub>{job.name}</EntrySub>}
|
|
531
|
+
{job.location && <EntryMeta>{job.location}</EntryMeta>}
|
|
532
|
+
{job.summary && <EntryText>{job.summary}</EntryText>}
|
|
533
|
+
<Highlights items={job.highlights} />
|
|
534
|
+
</Entry>
|
|
535
|
+
))}
|
|
536
|
+
</SectionBlock>
|
|
537
|
+
)}
|
|
538
|
+
|
|
539
|
+
{projects.length > 0 && (
|
|
540
|
+
<SectionBlock index={next()} title="Works">
|
|
541
|
+
{projects.map((proj, i) => (
|
|
542
|
+
<Entry key={i}>
|
|
543
|
+
<EntryTop>
|
|
544
|
+
<EntryTitle>
|
|
545
|
+
{proj.url ? (
|
|
546
|
+
<Link href={safeUrl(proj.url)}>{proj.name}</Link>
|
|
547
|
+
) : (
|
|
548
|
+
proj.name
|
|
549
|
+
)}
|
|
550
|
+
</EntryTitle>
|
|
551
|
+
<EntryMeta>
|
|
552
|
+
<DateRange
|
|
553
|
+
startDate={proj.startDate}
|
|
554
|
+
endDate={proj.endDate}
|
|
555
|
+
/>
|
|
556
|
+
</EntryMeta>
|
|
557
|
+
</EntryTop>
|
|
558
|
+
{proj.type && <EntrySub>{proj.type}</EntrySub>}
|
|
559
|
+
{proj.description && <EntryText>{proj.description}</EntryText>}
|
|
560
|
+
<Highlights items={proj.highlights} />
|
|
561
|
+
{proj.keywords && proj.keywords.length > 0 && (
|
|
562
|
+
<TagWrap>
|
|
563
|
+
{proj.keywords.map((k, j) => (
|
|
564
|
+
<Tag key={j}>{k}</Tag>
|
|
565
|
+
))}
|
|
566
|
+
</TagWrap>
|
|
567
|
+
)}
|
|
568
|
+
</Entry>
|
|
569
|
+
))}
|
|
570
|
+
</SectionBlock>
|
|
571
|
+
)}
|
|
572
|
+
|
|
573
|
+
{education.length > 0 && (
|
|
574
|
+
<SectionBlock index={next()} title="Study">
|
|
575
|
+
{education.map((edu, i) => (
|
|
576
|
+
<Entry key={i}>
|
|
577
|
+
<EntryTop>
|
|
578
|
+
<EntryTitle>{edu.institution}</EntryTitle>
|
|
579
|
+
<EntryMeta>
|
|
580
|
+
<DateRange
|
|
581
|
+
startDate={edu.startDate}
|
|
582
|
+
endDate={edu.endDate}
|
|
583
|
+
/>
|
|
584
|
+
</EntryMeta>
|
|
585
|
+
</EntryTop>
|
|
586
|
+
{(edu.studyType || edu.area) && (
|
|
587
|
+
<EntrySub>
|
|
588
|
+
{[edu.studyType, edu.area].filter(Boolean).join(', ')}
|
|
589
|
+
</EntrySub>
|
|
590
|
+
)}
|
|
591
|
+
{edu.score && <EntryText>Result: {edu.score}</EntryText>}
|
|
592
|
+
{edu.courses && edu.courses.length > 0 && (
|
|
593
|
+
<Highlights items={edu.courses} />
|
|
594
|
+
)}
|
|
595
|
+
</Entry>
|
|
596
|
+
))}
|
|
597
|
+
</SectionBlock>
|
|
598
|
+
)}
|
|
599
|
+
|
|
600
|
+
{skills.length > 0 && (
|
|
601
|
+
<SectionBlock index={next()} title="Skills">
|
|
602
|
+
{skills.map((skill, i) => (
|
|
603
|
+
<SkillGroup key={i}>
|
|
604
|
+
<SkillName>
|
|
605
|
+
{skill.name}
|
|
606
|
+
{skill.level ? ` — ${skill.level}` : ''}
|
|
607
|
+
</SkillName>
|
|
608
|
+
{skill.keywords && skill.keywords.length > 0 && (
|
|
609
|
+
<TagWrap>
|
|
610
|
+
{skill.keywords.map((k, j) => (
|
|
611
|
+
<Tag key={j}>{k}</Tag>
|
|
612
|
+
))}
|
|
613
|
+
</TagWrap>
|
|
614
|
+
)}
|
|
615
|
+
</SkillGroup>
|
|
616
|
+
))}
|
|
617
|
+
</SectionBlock>
|
|
618
|
+
)}
|
|
619
|
+
|
|
620
|
+
{awards.length > 0 && (
|
|
621
|
+
<SectionBlock index={next()} title="Awards">
|
|
622
|
+
<Rows>
|
|
623
|
+
{awards.map((a, i) => (
|
|
624
|
+
<Entry key={i}>
|
|
625
|
+
<EntryTop>
|
|
626
|
+
<EntryTitle>{a.title}</EntryTitle>
|
|
627
|
+
{a.date && <EntryMeta>{a.date}</EntryMeta>}
|
|
628
|
+
</EntryTop>
|
|
629
|
+
{a.awarder && <EntrySub>{a.awarder}</EntrySub>}
|
|
630
|
+
{a.summary && <EntryText>{a.summary}</EntryText>}
|
|
631
|
+
</Entry>
|
|
632
|
+
))}
|
|
633
|
+
</Rows>
|
|
634
|
+
</SectionBlock>
|
|
635
|
+
)}
|
|
636
|
+
|
|
637
|
+
{certificates.length > 0 && (
|
|
638
|
+
<SectionBlock index={next()} title="Certificates">
|
|
639
|
+
<Rows>
|
|
640
|
+
{certificates.map((c, i) => (
|
|
641
|
+
<Entry key={i}>
|
|
642
|
+
<EntryTop>
|
|
643
|
+
<EntryTitle>
|
|
644
|
+
{c.url ? (
|
|
645
|
+
<Link href={safeUrl(c.url)}>{c.name}</Link>
|
|
646
|
+
) : (
|
|
647
|
+
c.name
|
|
648
|
+
)}
|
|
649
|
+
</EntryTitle>
|
|
650
|
+
{c.date && <EntryMeta>{c.date}</EntryMeta>}
|
|
651
|
+
</EntryTop>
|
|
652
|
+
{c.issuer && <EntrySub>{c.issuer}</EntrySub>}
|
|
653
|
+
</Entry>
|
|
654
|
+
))}
|
|
655
|
+
</Rows>
|
|
656
|
+
</SectionBlock>
|
|
657
|
+
)}
|
|
658
|
+
|
|
659
|
+
{publications.length > 0 && (
|
|
660
|
+
<SectionBlock index={next()} title="Published">
|
|
661
|
+
<Rows>
|
|
662
|
+
{publications.map((p, i) => (
|
|
663
|
+
<Entry key={i}>
|
|
664
|
+
<EntryTop>
|
|
665
|
+
<EntryTitle>
|
|
666
|
+
{p.url ? (
|
|
667
|
+
<Link href={safeUrl(p.url)}>{p.name}</Link>
|
|
668
|
+
) : (
|
|
669
|
+
p.name
|
|
670
|
+
)}
|
|
671
|
+
</EntryTitle>
|
|
672
|
+
{p.releaseDate && <EntryMeta>{p.releaseDate}</EntryMeta>}
|
|
673
|
+
</EntryTop>
|
|
674
|
+
{p.publisher && <EntrySub>{p.publisher}</EntrySub>}
|
|
675
|
+
{p.summary && <EntryText>{p.summary}</EntryText>}
|
|
676
|
+
</Entry>
|
|
677
|
+
))}
|
|
678
|
+
</Rows>
|
|
679
|
+
</SectionBlock>
|
|
680
|
+
)}
|
|
681
|
+
|
|
682
|
+
{volunteer.length > 0 && (
|
|
683
|
+
<SectionBlock index={next()} title="Service">
|
|
684
|
+
{volunteer.map((v, i) => (
|
|
685
|
+
<Entry key={i}>
|
|
686
|
+
<EntryTop>
|
|
687
|
+
<EntryTitle>{v.position || v.organization}</EntryTitle>
|
|
688
|
+
<EntryMeta>
|
|
689
|
+
<DateRange startDate={v.startDate} endDate={v.endDate} />
|
|
690
|
+
</EntryMeta>
|
|
691
|
+
</EntryTop>
|
|
692
|
+
{v.organization && v.position && (
|
|
693
|
+
<EntrySub>{v.organization}</EntrySub>
|
|
694
|
+
)}
|
|
695
|
+
{v.summary && <EntryText>{v.summary}</EntryText>}
|
|
696
|
+
<Highlights items={v.highlights} />
|
|
697
|
+
</Entry>
|
|
698
|
+
))}
|
|
699
|
+
</SectionBlock>
|
|
700
|
+
)}
|
|
701
|
+
|
|
702
|
+
{languages.length > 0 && (
|
|
703
|
+
<SectionBlock index={next()} title="Languages">
|
|
704
|
+
<InlineList>
|
|
705
|
+
{languages.map((l, i) => (
|
|
706
|
+
<Pair key={i}>
|
|
707
|
+
<PairKey>{l.language}</PairKey>
|
|
708
|
+
{l.fluency && <PairVal>{l.fluency}</PairVal>}
|
|
709
|
+
</Pair>
|
|
710
|
+
))}
|
|
711
|
+
</InlineList>
|
|
712
|
+
</SectionBlock>
|
|
713
|
+
)}
|
|
714
|
+
|
|
715
|
+
{interests.length > 0 && (
|
|
716
|
+
<SectionBlock index={next()} title="Interests">
|
|
717
|
+
<Rows>
|
|
718
|
+
{interests.map((it, i) => (
|
|
719
|
+
<Entry key={i}>
|
|
720
|
+
<EntryTitle>{it.name}</EntryTitle>
|
|
721
|
+
{it.keywords && it.keywords.length > 0 && (
|
|
722
|
+
<TagWrap>
|
|
723
|
+
{it.keywords.map((k, j) => (
|
|
724
|
+
<Tag key={j}>{k}</Tag>
|
|
725
|
+
))}
|
|
726
|
+
</TagWrap>
|
|
727
|
+
)}
|
|
728
|
+
</Entry>
|
|
729
|
+
))}
|
|
730
|
+
</Rows>
|
|
731
|
+
</SectionBlock>
|
|
732
|
+
)}
|
|
733
|
+
|
|
734
|
+
{references.length > 0 && (
|
|
735
|
+
<SectionBlock index={next()} title="References">
|
|
736
|
+
<Rows>
|
|
737
|
+
{references.map((r, i) => (
|
|
738
|
+
<Entry key={i}>
|
|
739
|
+
<EntryTitle>{r.name}</EntryTitle>
|
|
740
|
+
{r.reference && <EntryText>“{r.reference}”</EntryText>}
|
|
741
|
+
</Entry>
|
|
742
|
+
))}
|
|
743
|
+
</Rows>
|
|
744
|
+
</SectionBlock>
|
|
745
|
+
)}
|
|
746
|
+
|
|
747
|
+
<Colophon>
|
|
748
|
+
<span>{basics.name || 'Curriculum Vitae'}</span>
|
|
749
|
+
<span>Art School Modern</span>
|
|
750
|
+
</Colophon>
|
|
751
|
+
</Frame>
|
|
752
|
+
</Page>
|
|
753
|
+
);
|
|
754
|
+
}
|
|
755
|
+
|
|
756
|
+
export default Resume;
|