jsonresume-theme-engineering-leader 1.0.3 → 1.0.5
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/.vscode/launch.json +1 -1
- package/README.md +7 -5
- package/{example-resume.html → examples/example-resume.html} +130 -2
- package/examples/example-resume.pdf +0 -0
- package/examples/example-resume.png +0 -0
- package/index.js +4 -5
- package/package.json +3 -2
- package/resume.hbs +2 -2
- package/example-resume.pdf +0 -0
- /package/{example-resume.json → examples/example-resume.json} +0 -0
package/.vscode/launch.json
CHANGED
package/README.md
CHANGED
|
@@ -4,9 +4,11 @@
|
|
|
4
4
|
|
|
5
5
|
This is the engineering theme for [JSON Resume](http://jsonresume.org/), based off of [jsonresume-theme-engineering](https://github.com/skoenig/jsonresume-theme-engineering) and aims to implement the best practices for [engineering resumes](https://www.reddit.com/r/EngineeringResumes/wiki/index/). The original version was intended for [senior/staff level engineers](https://www.reddit.com/r/EngineeringResumes/wiki/index/#wiki_senior_engineers_and_above_.2810.2B_yoe.29) but this version is modified for CTOs/VPs/Directors.
|
|
6
6
|
|
|
7
|
+
It handles locations of jobs and allows for nested bullets but it renders dates exactly as provided as if they are strings.
|
|
8
|
+
|
|
7
9
|
<p align="center">
|
|
8
10
|
<kbd>
|
|
9
|
-
<img src="https://github.com/sjw7444/jsonresume-theme-engineering-leader/blob/main/example-resume.png?raw=true" alt="Richard Hendriks Resume"/>
|
|
11
|
+
<img src="https://github.com/sjw7444/jsonresume-theme-engineering-leader/blob/main/examples/example-resume.png?raw=true" alt="Richard Hendriks Resume"/>
|
|
10
12
|
</kbd>
|
|
11
13
|
</p>
|
|
12
14
|
|
|
@@ -45,10 +47,10 @@ To export your resume, you can run the following command below. This will automa
|
|
|
45
47
|
npm run export
|
|
46
48
|
```
|
|
47
49
|
|
|
48
|
-
If you want to see or modify and example, this project is configured to export a resume from the `
|
|
50
|
+
If you want to see or modify and example, this project is configured to export a resume from the `examples` folder just by running vscode f5.
|
|
49
51
|
|
|
50
52
|
```bash
|
|
51
|
-
resume export --resume example-resume.json --theme . example-resume.html
|
|
53
|
+
resume export --resume examples/example-resume.json --theme . examples/example-resume.html
|
|
52
54
|
```
|
|
53
55
|
|
|
54
56
|
## License
|
|
@@ -61,7 +63,7 @@ This is a very small personal project but feel free to contribute and I will do
|
|
|
61
63
|
|
|
62
64
|
### Notes
|
|
63
65
|
|
|
64
|
-
To make the example png, follow the steps below:
|
|
66
|
+
To make the example png, follow the steps below (and then rename and `-1` page extensions):
|
|
65
67
|
|
|
66
68
|
1. Install `brew install poppler`
|
|
67
|
-
2. Run `pdftoppm -png example-resume.pdf example-resume`
|
|
69
|
+
2. Run `pdftoppm -png examples/example-resume.pdf examples/example-resume`
|
|
@@ -8,8 +8,136 @@
|
|
|
8
8
|
|
|
9
9
|
<title>Richard Hendriks</title>
|
|
10
10
|
|
|
11
|
-
<
|
|
12
|
-
|
|
11
|
+
<style>body {
|
|
12
|
+
font-family: Arial, Helvetica, sans-serif;
|
|
13
|
+
font-size: 11px;
|
|
14
|
+
margin: 24px 48px;
|
|
15
|
+
line-height: 1.5;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
h1 {
|
|
19
|
+
font-size: 26px;
|
|
20
|
+
text-align: center;
|
|
21
|
+
margin: 0;
|
|
22
|
+
line-height: 1.5;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
h2 {
|
|
26
|
+
border-width: 1px;
|
|
27
|
+
border-style: none none solid none;
|
|
28
|
+
margin: 10px 0 2.5px 0;
|
|
29
|
+
line-height: 2em;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
h3 {
|
|
33
|
+
display: inline;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
section {
|
|
37
|
+
margin: 3px 0;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
ul {
|
|
41
|
+
margin: 0;
|
|
42
|
+
padding-left: 20px;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
a {
|
|
46
|
+
text-decoration: none;
|
|
47
|
+
color: black;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.item {
|
|
51
|
+
margin-top: 8px;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.item>.item-header {
|
|
55
|
+
float: left;
|
|
56
|
+
display: block;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.item>.item-header>.item-header-title {
|
|
60
|
+
font-weight: bold;
|
|
61
|
+
white-space: nowrap;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.item>.item-header>.item-header-subtitle {
|
|
65
|
+
font-weight: bold;
|
|
66
|
+
white-space: nowrap;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.item>.item-header>.item-header-title>.location {
|
|
70
|
+
font-weight: normal;
|
|
71
|
+
white-space: nowrap;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.item>.item-details {
|
|
75
|
+
float: right;
|
|
76
|
+
text-align: right;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
.item>.item-details>.item-details-title {
|
|
80
|
+
font-weight: bold;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
.item>.item-details>.date {
|
|
84
|
+
font-weight: bold;
|
|
85
|
+
white-space: nowrap;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.item>.item-header>.item-header-subtitle>.degree {
|
|
89
|
+
font-weight: normal;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.clearfix {
|
|
93
|
+
clear: both;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
.centered {
|
|
97
|
+
text-align: center;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
/* Section specific */
|
|
101
|
+
/* basics */
|
|
102
|
+
.vertical-separator {
|
|
103
|
+
text-align: center;
|
|
104
|
+
padding: 0 10px;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
/*
|
|
108
|
+
.vertical-separator:not(:first-child) {
|
|
109
|
+
border-left: 1px solid #000;
|
|
110
|
+
text-align: center;
|
|
111
|
+
}
|
|
112
|
+
*/
|
|
113
|
+
|
|
114
|
+
/* Set some print settings. */
|
|
115
|
+
@media print {
|
|
116
|
+
@page {
|
|
117
|
+
size: portrait;
|
|
118
|
+
margin: 10mm 25mm;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
.resume {
|
|
122
|
+
max-width: 100%;
|
|
123
|
+
border: 0px;
|
|
124
|
+
background: #fff;
|
|
125
|
+
box-shadow: none;
|
|
126
|
+
-webkit-box-shadow: none;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
body,
|
|
130
|
+
html,
|
|
131
|
+
.resume {
|
|
132
|
+
margin: 0px;
|
|
133
|
+
padding: 0px;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
.controls {
|
|
137
|
+
display: none;
|
|
138
|
+
}
|
|
139
|
+
}</style>
|
|
140
|
+
|
|
13
141
|
</head>
|
|
14
142
|
|
|
15
143
|
<body>
|
|
Binary file
|
|
Binary file
|
package/index.js
CHANGED
|
@@ -15,14 +15,13 @@ handlebars.registerHelper({
|
|
|
15
15
|
function render(resume) {
|
|
16
16
|
let dir = __dirname,
|
|
17
17
|
css = fs.readFileSync(dir + '/style.css', 'utf-8'),
|
|
18
|
-
|
|
18
|
+
template = fs.readFileSync(dir + '/resume.hbs', 'utf-8');
|
|
19
19
|
|
|
20
20
|
let Handlebars = handlebarsWax(handlebars);
|
|
21
21
|
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
});
|
|
22
|
+
// inline the CSS to avoid path related issues while developing
|
|
23
|
+
const compiled = Handlebars.compile(template);
|
|
24
|
+
return compiled({ resume: resume, style: `<style>${css}</style>` });
|
|
26
25
|
}
|
|
27
26
|
|
|
28
27
|
module.exports = {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "jsonresume-theme-engineering-leader",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.5",
|
|
4
4
|
"description": "JSON Resume theme for Engineering leaders",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"jsonresume",
|
|
@@ -18,7 +18,8 @@
|
|
|
18
18
|
"license": "MIT",
|
|
19
19
|
"scripts": {
|
|
20
20
|
"start": "resume serve --theme .",
|
|
21
|
-
"export": "resume export --resume example-resume.json --theme ./ example-resume.
|
|
21
|
+
"export-html": "resume export --resume examples/example-resume.json --theme ./ examples/example-resume.html",
|
|
22
|
+
"export-pdf": "resume export --resume examples/example-resume.json --theme ./ examples/example-resume.pdf"
|
|
22
23
|
},
|
|
23
24
|
"dependencies": {
|
|
24
25
|
"address-format": "0.0.3",
|
package/resume.hbs
CHANGED
package/example-resume.pdf
DELETED
|
Binary file
|
|
File without changes
|