jsonresume-theme-wintermuted 0.1.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.
@@ -0,0 +1,177 @@
1
+ {{#if resume.projects.length}}
2
+ <section class="section" id="projects">
3
+ <h2>Projects</h2>
4
+
5
+ {{#with (projectsByCategory resume.projects "work") as |workProjects|}}
6
+ {{#if workProjects.length}}
7
+ <h3 class="projects-subheading">Work-Related Projects</h3>
8
+ {{#each workProjects}}
9
+ <div class="project-entry" id="project-{{slugify name}}">
10
+ <div class="role-header">
11
+ <h4>
12
+ {{#if url}}<a href="{{ url }}">{{ name }}</a>{{else}}{{ name }}{{/if}}
13
+ </h4>
14
+ {{#if startDate}}
15
+ <span class="date">
16
+ {{MY startDate}}
17
+ {{#if endDate}} &ndash; {{MY endDate}}{{/if}}
18
+ </span>
19
+ {{/if}}
20
+ </div>
21
+
22
+ {{#if description}}<p>{{ description }}</p>{{/if}}
23
+
24
+ {{#with (positionsForProject this @root.resume.work) as |positions|}}
25
+ {{#if positions.length}}
26
+ <div class="role-projects">
27
+ <span class="role-projects-label">Relevant Positions</span>
28
+ <ul class="role-projects-list">
29
+ {{#each positions}}
30
+ <li><a href="#{{ id }}" class="project-ref">{{ label }}</a></li>
31
+ {{/each}}
32
+ </ul>
33
+ </div>
34
+ {{/if}}
35
+ {{/with}}
36
+
37
+ <button class="expand-toggle" aria-label="Expand details" type="button">Show details<span class="toggle-meta">{{{projectMetaSummary this}}}</span></button>
38
+ <div class="detail-content">
39
+ {{#if images.length}}
40
+ <div class="project-gallery">
41
+ {{#each images}}
42
+ <figure class="project-screenshot">
43
+ <img src="../../{{ src }}" alt="{{ alt }}" loading="lazy" />
44
+ {{#if caption}}<figcaption>{{ caption }}</figcaption>{{/if}}
45
+ </figure>
46
+ {{/each}}
47
+ {{#each diagrams}}
48
+ <figure class="project-diagram">
49
+ <pre class="mermaid">{{ definition }}</pre>
50
+ {{#if title}}<figcaption>{{ title }}</figcaption>{{/if}}
51
+ </figure>
52
+ {{/each}}
53
+ </div>
54
+ {{else}}
55
+ {{#if diagrams.length}}
56
+ <div class="project-gallery">
57
+ {{#each diagrams}}
58
+ <figure class="project-diagram">
59
+ <pre class="mermaid">{{ definition }}</pre>
60
+ {{#if title}}<figcaption>{{ title }}</figcaption>{{/if}}
61
+ </figure>
62
+ {{/each}}
63
+ </div>
64
+ {{/if}}
65
+ {{/if}}
66
+
67
+ {{#if highlights.length}}
68
+ <ul class="highlights">
69
+ {{#each highlights}}
70
+ <li>{{ this }}</li>
71
+ {{/each}}
72
+ </ul>
73
+ {{/if}}
74
+
75
+ {{#if keywords.length}}
76
+ <ul class="keywords">
77
+ {{#each keywords}}
78
+ <li>{{ this }}</li>
79
+ {{/each}}
80
+ </ul>
81
+ {{/if}}
82
+ </div>
83
+ </div>
84
+ {{/each}}
85
+ {{/if}}
86
+ {{/with}}
87
+
88
+ {{#with (projectsByCategory resume.projects "open-source") as |openSourceProjects|}}
89
+ {{#if openSourceProjects.length}}
90
+ <h3 class="projects-subheading">Open Source Projects</h3>
91
+ {{#each openSourceProjects}}
92
+ <div class="project-entry" id="project-{{slugify name}}">
93
+ <div class="role-header">
94
+ <h4>
95
+ {{#if url}}<a href="{{ url }}">{{ name }}</a>{{else}}{{ name }}{{/if}}
96
+ </h4>
97
+ {{#if startDate}}
98
+ <span class="date">
99
+ {{MY startDate}}
100
+ {{#if endDate}} &ndash; {{MY endDate}}{{/if}}
101
+ </span>
102
+ {{/if}}
103
+ </div>
104
+
105
+ {{#if description}}<p>{{ description }}</p>{{/if}}
106
+
107
+ <button class="expand-toggle" aria-label="Expand details" type="button">Show details<span class="toggle-meta">{{{projectMetaSummary this}}}</span></button>
108
+ <div class="detail-content">
109
+ {{#if images.length}}
110
+ <div class="project-gallery">
111
+ {{#each images}}
112
+ <figure class="project-screenshot">
113
+ <img src="../../{{ src }}" alt="{{ alt }}" loading="lazy" />
114
+ {{#if caption}}<figcaption>{{ caption }}</figcaption>{{/if}}
115
+ </figure>
116
+ {{/each}}
117
+ {{#each diagrams}}
118
+ <figure class="project-diagram">
119
+ <pre class="mermaid">{{ definition }}</pre>
120
+ {{#if title}}<figcaption>{{ title }}</figcaption>{{/if}}
121
+ </figure>
122
+ {{/each}}
123
+ </div>
124
+ {{else}}
125
+ {{#if diagrams.length}}
126
+ <div class="project-gallery">
127
+ {{#each diagrams}}
128
+ <figure class="project-diagram">
129
+ <pre class="mermaid">{{ definition }}</pre>
130
+ {{#if title}}<figcaption>{{ title }}</figcaption>{{/if}}
131
+ </figure>
132
+ {{/each}}
133
+ </div>
134
+ {{/if}}
135
+ {{/if}}
136
+
137
+ {{#if highlights.length}}
138
+ <ul class="highlights">
139
+ {{#each highlights}}
140
+ <li>{{ this }}</li>
141
+ {{/each}}
142
+ </ul>
143
+ {{/if}}
144
+
145
+ {{#if keywords.length}}
146
+ <ul class="keywords">
147
+ {{#each keywords}}
148
+ <li>{{ this }}</li>
149
+ {{/each}}
150
+ </ul>
151
+ {{/if}}
152
+ </div>
153
+ </div>
154
+ {{/each}}
155
+ {{/if}}
156
+ {{/with}}
157
+ </section>
158
+
159
+ <!-- Lightbox overlay for project screenshots -->
160
+ <div class="lightbox-overlay" id="lightbox-overlay" role="dialog" aria-modal="true" aria-label="Image preview">
161
+ <div class="lightbox-header" id="lightbox-header">
162
+ <span class="lightbox-project-name" id="lightbox-project-name"></span>
163
+ <span class="lightbox-project-date" id="lightbox-project-date"></span>
164
+ </div>
165
+ <button class="lightbox-close" aria-label="Close preview">&times;</button>
166
+ <button class="lightbox-nav lightbox-prev" id="lightbox-prev" aria-label="Previous image">
167
+ <span class="lightbox-nav-icon lightbox-nav-icon--prev" aria-hidden="true"></span>
168
+ </button>
169
+ <button class="lightbox-nav lightbox-next" id="lightbox-next" aria-label="Next image">
170
+ <span class="lightbox-nav-icon lightbox-nav-icon--next" aria-hidden="true"></span>
171
+ </button>
172
+ <img class="lightbox-img" id="lightbox-img" src="" alt="" />
173
+ <div class="lightbox-svg" id="lightbox-svg"></div>
174
+ <p class="lightbox-caption" id="lightbox-caption"></p>
175
+ <span class="lightbox-counter" id="lightbox-counter"></span>
176
+ </div>
177
+ {{/if}}
@@ -0,0 +1,19 @@
1
+ {{#if resume.skills.length}}
2
+ <section class="section" id="skills">
3
+ <h2>Skills</h2>
4
+ <div class="skills-grid">
5
+ {{#each resume.skills}}
6
+ <div class="skill-category">
7
+ {{#if name}}<h4>{{ name }}</h4>{{/if}}
8
+ {{#if keywords.length}}
9
+ <ul class="keywords">
10
+ {{#each keywords}}
11
+ <li>{{ this }}</li>
12
+ {{/each}}
13
+ </ul>
14
+ {{/if}}
15
+ </div>
16
+ {{/each}}
17
+ </div>
18
+ </section>
19
+ {{/if}}
@@ -0,0 +1,8 @@
1
+ {{#resume.basics}}
2
+ {{#if summary}}
3
+ <section class="section" id="summary">
4
+ <h2>Summary</h2>
5
+ <p>{{ summary }}</p>
6
+ </section>
7
+ {{/if}}
8
+ {{/resume.basics}}
@@ -0,0 +1,30 @@
1
+ {{#if resume.volunteer.length}}
2
+ <section class="section" id="volunteer">
3
+ <h2>Volunteer</h2>
4
+ {{#each resume.volunteer}}
5
+ <div class="volunteer-entry" id="volunteer-{{slugify organization}}">
6
+ <div class="role-header">
7
+ <h4>
8
+ {{#if url}}<a href="{{ url }}">{{ organization }}</a>{{else}}{{ organization }}{{/if}}
9
+ </h4>
10
+ <span class="date">
11
+ {{#if startDate}}{{MY startDate}}{{/if}}
12
+ {{#if endDate}} &ndash; {{MY endDate}}{{/if}}
13
+ </span>
14
+ </div>
15
+ {{#if position}}<p class="position">{{ position }}</p>{{/if}}
16
+ {{#if summary}}<p>{{ summary }}</p>{{/if}}
17
+ <button class="expand-toggle" aria-label="Expand details" type="button">Show details</button>
18
+ <div class="detail-content">
19
+ {{#if highlights.length}}
20
+ <ul class="highlights">
21
+ {{#each highlights}}
22
+ <li>{{ this }}</li>
23
+ {{/each}}
24
+ </ul>
25
+ {{/if}}
26
+ </div>
27
+ </div>
28
+ {{/each}}
29
+ </section>
30
+ {{/if}}
@@ -0,0 +1,72 @@
1
+ {{#if resume.work.length}}
2
+ <section class="section" id="experience">
3
+ <h2>Experience</h2>
4
+
5
+ {{#nestedWork resume.work}}
6
+ {{#each this}}
7
+ <div class="work-group" id="company-{{slugify name}}">
8
+ <div class="work-company">
9
+ {{#if name}}
10
+ <h3>
11
+ {{#if url}}<a href="{{ url }}">{{ name }}</a>{{else}}{{ name }}{{/if}}
12
+ </h3>
13
+ {{/if}}
14
+ {{#if location}}<span class="location">{{ location }}</span>{{/if}}
15
+ {{#if description}}<p class="description">{{ description }}</p>{{/if}}
16
+ </div>
17
+
18
+ {{#each items}}
19
+ <div class="work-role" id="role-{{slugify ../name}}-{{slugify position}}-{{@index}}">
20
+ <div class="role-header">
21
+ {{#if position}}<h4>{{ position }}</h4>{{/if}}
22
+ <span class="date">
23
+ {{#if startDate}}{{MY startDate}}{{/if}}
24
+ &ndash;
25
+ {{#if endDate}}{{MY endDate}}{{else}}Present{{/if}}
26
+ </span>
27
+ </div>
28
+
29
+ {{#if _shortSummary}}<p class="role-summary role-summary--short">{{ _shortSummary }}</p>{{/if}}
30
+ {{#if summary}}<p class="role-summary role-summary--full">{{ summary }}</p>{{/if}}
31
+
32
+ <button class="expand-toggle" aria-label="Expand details" type="button">Show details<span class="toggle-meta">{{{roleMetaSummary ../name startDate endDate @root.resume.projects keywords}}}</span></button>
33
+ <div class="detail-content">
34
+ {{#if highlights.length}}
35
+ <ul class="highlights">
36
+ {{#each highlights}}
37
+ <li>{{{linkProjects this @root.resume.projects}}}</li>
38
+ {{/each}}
39
+ </ul>
40
+ {{/if}}
41
+
42
+ {{#projectsForRole ../name startDate endDate @root.resume.projects}}
43
+ <div class="role-projects">
44
+ <span class="role-projects-label">Key Projects</span>
45
+ <ul class="role-projects-list">
46
+ {{#each this}}
47
+ <li><a href="#project-{{slugify name}}" class="project-ref">{{ name }}</a></li>
48
+ {{/each}}
49
+ </ul>
50
+ </div>
51
+ {{/projectsForRole}}
52
+
53
+ {{#if keywords.length}}
54
+ <div class="role-skills">
55
+ <span class="role-projects-label">Skills</span>
56
+ <ul class="keywords">
57
+ {{#each keywords}}
58
+ <li>{{ this }}</li>
59
+ {{/each}}
60
+ </ul>
61
+ </div>
62
+ {{/if}}
63
+ </div>
64
+ </div>
65
+ {{/each}}
66
+ </div>
67
+ {{#unless @last}}<hr class="separator" />{{/unless}}
68
+
69
+ {{/each}}
70
+ {{/nestedWork}}
71
+ </section>
72
+ {{/if}}