@enure/jacklin 2.0.0 → 2.0.1
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/dist/template.handlebars +173 -0
- package/package.json +2 -2
|
@@ -0,0 +1,173 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<title>{{ basics.name }}</title>
|
|
5
|
+
<meta charset="utf-8" />
|
|
6
|
+
<style>
|
|
7
|
+
body {
|
|
8
|
+
font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
|
|
9
|
+
font-size: 14px;
|
|
10
|
+
line-height: 1.3;
|
|
11
|
+
color: #222;
|
|
12
|
+
padding: 64px;
|
|
13
|
+
text-wrap: pretty;
|
|
14
|
+
}
|
|
15
|
+
@media print {
|
|
16
|
+
body {
|
|
17
|
+
padding: 0;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
@page {
|
|
21
|
+
size: 8.5in 11in;
|
|
22
|
+
margin-top: 0.8in;
|
|
23
|
+
margin-left: 0.7in;
|
|
24
|
+
margin-right: 0.7in;
|
|
25
|
+
margin-bottom: 0.8in;
|
|
26
|
+
}
|
|
27
|
+
main {
|
|
28
|
+
margin-top: 48px;
|
|
29
|
+
max-width: 800px;
|
|
30
|
+
}
|
|
31
|
+
main > section {
|
|
32
|
+
margin-top: 36px;
|
|
33
|
+
}
|
|
34
|
+
section {
|
|
35
|
+
break-inside: avoid;
|
|
36
|
+
}
|
|
37
|
+
h1, h2 {
|
|
38
|
+
font-size: 14px;
|
|
39
|
+
font-weight: 500;
|
|
40
|
+
margin: 0 0 16px;
|
|
41
|
+
}
|
|
42
|
+
.BasicsList {
|
|
43
|
+
padding: 0;
|
|
44
|
+
margin: 0 0 16px;
|
|
45
|
+
list-style-type: none;
|
|
46
|
+
}
|
|
47
|
+
.EducationList {
|
|
48
|
+
list-style-type: none;
|
|
49
|
+
padding: 0;
|
|
50
|
+
margin: 0;
|
|
51
|
+
}
|
|
52
|
+
.WorkList {
|
|
53
|
+
list-style-type: none;
|
|
54
|
+
margin: 0;
|
|
55
|
+
padding: 0;
|
|
56
|
+
}
|
|
57
|
+
.WorkList-item {
|
|
58
|
+
margin-top: 16px;
|
|
59
|
+
break-inside: avoid;
|
|
60
|
+
}
|
|
61
|
+
.WorkList-dates {
|
|
62
|
+
color: #666;
|
|
63
|
+
font-size: 14px;
|
|
64
|
+
}
|
|
65
|
+
.WorkList-positionAt {
|
|
66
|
+
font-weight: 500;
|
|
67
|
+
}
|
|
68
|
+
.WorkList-summary {
|
|
69
|
+
margin-top: 16px;
|
|
70
|
+
}
|
|
71
|
+
.SummaryList {
|
|
72
|
+
list-style-type: "· ";
|
|
73
|
+
padding: 0;
|
|
74
|
+
margin: 0;
|
|
75
|
+
}
|
|
76
|
+
.SummaryList-item {
|
|
77
|
+
margin-bottom: 2px;
|
|
78
|
+
}
|
|
79
|
+
.SummaryList-itemName {
|
|
80
|
+
font-weight: 500;
|
|
81
|
+
}
|
|
82
|
+
.SummaryList-itemPosition {
|
|
83
|
+
color: #666;
|
|
84
|
+
}
|
|
85
|
+
.WorkList-highlights {
|
|
86
|
+
margin-top: 12px;
|
|
87
|
+
display: flex;
|
|
88
|
+
flex-direction: row;
|
|
89
|
+
flex-wrap: wrap;
|
|
90
|
+
list-style-type: none;
|
|
91
|
+
padding: 0;
|
|
92
|
+
}
|
|
93
|
+
.WorkList-highlight {
|
|
94
|
+
font-size: 12px;
|
|
95
|
+
color: #555;
|
|
96
|
+
margin: 0 8px 8px 0;
|
|
97
|
+
padding: 3px 6px;
|
|
98
|
+
border: 1px solid #aaa;
|
|
99
|
+
border-radius: 4px;
|
|
100
|
+
}
|
|
101
|
+
</style>
|
|
102
|
+
</head>
|
|
103
|
+
<body>
|
|
104
|
+
<header>
|
|
105
|
+
<h1>
|
|
106
|
+
{{ basics.name }}
|
|
107
|
+
</h1>
|
|
108
|
+
<ul class="BasicsList">
|
|
109
|
+
<li>{{ basics.phone }}</li>
|
|
110
|
+
<li>{{ basics.email }}</li>
|
|
111
|
+
{{!-- <li>{{ basics.location.address }}</li> --}}
|
|
112
|
+
<li>{{ basics.location.city }}, {{ basics.location.region }} {{!-- basics.location.postalCode --}}</li>
|
|
113
|
+
</ul>
|
|
114
|
+
<h2>
|
|
115
|
+
{{ basics.label }}
|
|
116
|
+
</h2>
|
|
117
|
+
<p>
|
|
118
|
+
{{ basics.summary }}
|
|
119
|
+
</p>
|
|
120
|
+
</header>
|
|
121
|
+
<main>
|
|
122
|
+
<section>
|
|
123
|
+
<h2>Education</h2>
|
|
124
|
+
{{#each education}}
|
|
125
|
+
<ul class="EducationList">
|
|
126
|
+
<li>{{ this.institution }}</li>
|
|
127
|
+
<li>{{ this.area }}</li>
|
|
128
|
+
<li>{{ this.studyType }}</li>
|
|
129
|
+
</ul>
|
|
130
|
+
{{/each}}
|
|
131
|
+
</section>
|
|
132
|
+
<section>
|
|
133
|
+
<h2>Work History</h2>
|
|
134
|
+
<ul class="WorkList">
|
|
135
|
+
{{#each work}}
|
|
136
|
+
{{#if this.isFeatured}}
|
|
137
|
+
<li class="WorkList-item">
|
|
138
|
+
<div class="WorkList-positionAt">
|
|
139
|
+
{{this.position}} at {{this.name}}
|
|
140
|
+
</div>
|
|
141
|
+
<div class="WorkList-dates">
|
|
142
|
+
{{getShortDate this.startDate}} to {{#if this.endDate }}{{getShortDate this.endDate}}{{/if}}{{#unless this.endDate }}current{{/unless}}
|
|
143
|
+
</div>
|
|
144
|
+
<div class="WorkList-summary">
|
|
145
|
+
{{{summaryToList this.summary}}}
|
|
146
|
+
</div>
|
|
147
|
+
{{#if this.highlights}}
|
|
148
|
+
<ul class="WorkList-highlights">
|
|
149
|
+
{{#each this.highlights}}
|
|
150
|
+
<li class="WorkList-highlight">{{this}}</li>
|
|
151
|
+
{{/each}}
|
|
152
|
+
</ul>
|
|
153
|
+
{{/if}}
|
|
154
|
+
</li>
|
|
155
|
+
{{/if}}
|
|
156
|
+
{{/each}}
|
|
157
|
+
</ul>
|
|
158
|
+
</section>
|
|
159
|
+
<section>
|
|
160
|
+
<h2>Work History, cont.</h2>
|
|
161
|
+
<ul class="SummaryList">
|
|
162
|
+
{{#each work}}
|
|
163
|
+
{{#unless this.isFeatured}}
|
|
164
|
+
<li class="SummaryList-item">
|
|
165
|
+
<span class="SummaryList-itemName">{{this.name}}</span> <span class="SummaryList-itemPosition">({{this.position}})</span>
|
|
166
|
+
</li>
|
|
167
|
+
{{/unless}}
|
|
168
|
+
{{/each}}
|
|
169
|
+
</ul>
|
|
170
|
+
</section>
|
|
171
|
+
</main>
|
|
172
|
+
</body>
|
|
173
|
+
</html>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@enure/jacklin",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.1",
|
|
4
4
|
"description": "",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"bun": "./index.ts"
|
|
10
10
|
},
|
|
11
11
|
"scripts": {
|
|
12
|
-
"build": "
|
|
12
|
+
"build": "cp template.handlebars dist && build ./index.ts --target=node --outdir ./dist"
|
|
13
13
|
},
|
|
14
14
|
"keywords": [],
|
|
15
15
|
"author": "Charles Stuart",
|