diff --git a/components/volunteer.js b/components/volunteer.js index e08bb2d..f77bde4 100644 --- a/components/volunteer.js +++ b/components/volunteer.js @@ -11,9 +11,9 @@ export default function Volunteer(volunteer = []) { ${volunteer.map(({ highlights = [], organization, position, startDate, endDate, summary, url }) => html`
-

${position}

+

${Link(url, organization)}

- ${Link(url, organization)} + ${position}
${Duration(startDate, endDate)}
diff --git a/components/work.js b/components/work.js index f3fcc9c..3197a70 100644 --- a/components/work.js +++ b/components/work.js @@ -11,11 +11,11 @@ export default function Work(work = []) { ${work.map(({ description, highlights = [], location, name, position, startDate, endDate, summary, url }) => html`
-

${position}

+

${Link(url, name)}

- ${Link(url, name)} - ${description && html`${description}`} + ${description && html`
${description}
`} + ${position}
${Duration(startDate, endDate)}
${location && html`
${location}
`} diff --git a/test/__snapshots__/index.test.js.snap b/test/__snapshots__/index.test.js.snap index eb990b0..4c89f60 100644 --- a/test/__snapshots__/index.test.js.snap +++ b/test/__snapshots__/index.test.js.snap @@ -70,11 +70,11 @@ exports[`renders a resume 1`] = `
-

CEO/President

+

Pied Piper

- Pied Piper - Awesome compression company +
Awesome compression company
+ CEO/President
Palo Alto, CA
@@ -98,9 +98,9 @@ exports[`renders a resume 1`] = `