feat(work): use organization name as heading
This commit is contained in:
parent
e4e55af22f
commit
2741e64aaf
|
@ -11,9 +11,9 @@ export default function Volunteer(volunteer = []) {
|
||||||
${volunteer.map(({ highlights = [], organization, position, startDate, endDate, summary, url }) => html`
|
${volunteer.map(({ highlights = [], organization, position, startDate, endDate, summary, url }) => html`
|
||||||
<article>
|
<article>
|
||||||
<header>
|
<header>
|
||||||
<h4>${position}</h4>
|
<h4>${Link(url, organization)}</h4>
|
||||||
<div class="meta">
|
<div class="meta">
|
||||||
<strong>${Link(url, organization)}</strong>
|
<strong>${position}</strong>
|
||||||
<div>${Duration(startDate, endDate)}</div>
|
<div>${Duration(startDate, endDate)}</div>
|
||||||
</div>
|
</div>
|
||||||
</header>
|
</header>
|
||||||
|
|
|
@ -11,11 +11,11 @@ export default function Work(work = []) {
|
||||||
${work.map(({ description, highlights = [], location, name, position, startDate, endDate, summary, url }) => html`
|
${work.map(({ description, highlights = [], location, name, position, startDate, endDate, summary, url }) => html`
|
||||||
<article>
|
<article>
|
||||||
<header>
|
<header>
|
||||||
<h4>${position}</h4>
|
<h4>${Link(url, name)}</h4>
|
||||||
<div class="meta">
|
<div class="meta">
|
||||||
<div>
|
<div>
|
||||||
<strong>${Link(url, name)}</strong>
|
${description && html`<div>${description}</div>`}
|
||||||
${description && html`<span class="bullet-item">${description}</span>`}
|
<strong>${position}</strong>
|
||||||
</div>
|
</div>
|
||||||
<div>${Duration(startDate, endDate)}</div>
|
<div>${Duration(startDate, endDate)}</div>
|
||||||
${location && html`<div>${location}</div>`}
|
${location && html`<div>${location}</div>`}
|
||||||
|
|
|
@ -70,11 +70,11 @@ exports[`renders a resume 1`] = `
|
||||||
|
|
||||||
<article>
|
<article>
|
||||||
<header>
|
<header>
|
||||||
<h4>CEO/President</h4>
|
<h4><a href=\\"http://piedpiper.example.com\\">Pied Piper</a></h4>
|
||||||
<div class=\\"meta\\">
|
<div class=\\"meta\\">
|
||||||
<div>
|
<div>
|
||||||
<strong><a href=\\"http://piedpiper.example.com\\">Pied Piper</a></strong>
|
<div>Awesome compression company</div>
|
||||||
<span class=\\"bullet-item\\">Awesome compression company</span>
|
<strong>CEO/President</strong>
|
||||||
</div>
|
</div>
|
||||||
<div><time datetime=\\"2013-12-01\\">Dec 2013</time> – <time datetime=\\"2014-12-01\\">Dec 2014</time></div>
|
<div><time datetime=\\"2013-12-01\\">Dec 2013</time> – <time datetime=\\"2014-12-01\\">Dec 2014</time></div>
|
||||||
<div>Palo Alto, CA</div>
|
<div>Palo Alto, CA</div>
|
||||||
|
@ -98,9 +98,9 @@ exports[`renders a resume 1`] = `
|
||||||
|
|
||||||
<article>
|
<article>
|
||||||
<header>
|
<header>
|
||||||
<h4>Teacher</h4>
|
<h4><a href=\\"http://coderdojo.example.com/\\">CoderDojo</a></h4>
|
||||||
<div class=\\"meta\\">
|
<div class=\\"meta\\">
|
||||||
<strong><a href=\\"http://coderdojo.example.com/\\">CoderDojo</a></strong>
|
<strong>Teacher</strong>
|
||||||
<div><time datetime=\\"2012-01-01\\">Jan 2012</time> – <time datetime=\\"2013-01-01\\">Jan 2013</time></div>
|
<div><time datetime=\\"2012-01-01\\">Jan 2012</time> – <time datetime=\\"2013-01-01\\">Jan 2013</time></div>
|
||||||
</div>
|
</div>
|
||||||
</header>
|
</header>
|
||||||
|
|
Loading…
Reference in New Issue