feat(work): use organization name as heading

This commit is contained in:
Rafael Bardini 2023-08-08 00:32:37 +02:00
parent e4e55af22f
commit 2741e64aaf
3 changed files with 10 additions and 10 deletions

View File

@ -11,9 +11,9 @@ export default function Volunteer(volunteer = []) {
${volunteer.map(({ highlights = [], organization, position, startDate, endDate, summary, url }) => html`
<article>
<header>
<h4>${position}</h4>
<h4>${Link(url, organization)}</h4>
<div class="meta">
<strong>${Link(url, organization)}</strong>
<strong>${position}</strong>
<div>${Duration(startDate, endDate)}</div>
</div>
</header>

View File

@ -11,11 +11,11 @@ export default function Work(work = []) {
${work.map(({ description, highlights = [], location, name, position, startDate, endDate, summary, url }) => html`
<article>
<header>
<h4>${position}</h4>
<h4>${Link(url, name)}</h4>
<div class="meta">
<div>
<strong>${Link(url, name)}</strong>
${description && html`<span class="bullet-item">${description}</span>`}
${description && html`<div>${description}</div>`}
<strong>${position}</strong>
</div>
<div>${Duration(startDate, endDate)}</div>
${location && html`<div>${location}</div>`}

View File

@ -70,11 +70,11 @@ exports[`renders a resume 1`] = `
<article>
<header>
<h4>CEO/President</h4>
<h4><a href=\\"http://piedpiper.example.com\\">Pied Piper</a></h4>
<div class=\\"meta\\">
<div>
<strong><a href=\\"http://piedpiper.example.com\\">Pied Piper</a></strong>
<span class=\\"bullet-item\\">Awesome compression company</span>
<div>Awesome compression company</div>
<strong>CEO/President</strong>
</div>
<div><time datetime=\\"2013-12-01\\">Dec 2013</time> <time datetime=\\"2014-12-01\\">Dec 2014</time></div>
<div>Palo Alto, CA</div>
@ -98,9 +98,9 @@ exports[`renders a resume 1`] = `
<article>
<header>
<h4>Teacher</h4>
<h4><a href=\\"http://coderdojo.example.com/\\">CoderDojo</a></h4>
<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>
</header>