Skip to content

Commit

Permalink
fix: use name instead of company per spec
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenyeargin committed May 26, 2024
1 parent c783186 commit c08d74f
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 1 deletion.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 16 additions & 0 deletions src/partials/section-header.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,22 @@
{{name}}
{{/if}}
</h3>
{{else}}
{{#if company}}
<h3 class="bold pull-left">
{{#if website}}
<a href="{{website}}" target="_blank">
{{company}}
{{#if showWebsite }}
<span class="sublink">∙ <a href="{{website}}" target="_blank" class="sublink">{{website}}</a></span>
{{/if}}
{{!-- <i class="fa fa-external-link" aria-hidden="true"></i> --}}
</a>
{{else}}
{{company}}
{{/if}}
</h3>
{{/if}}
{{/if}}
<h5 class="italic pull-right">
{{#if startDate}}
Expand Down
2 changes: 1 addition & 1 deletion src/partials/work.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

{{#each resume.work}}
<section class="item">
{{> section-header name=this.company }}
{{> section-header name=this.name fallback=this.company }}

{{#if position}}
<h4>{{position}}</h4>
Expand Down

0 comments on commit c08d74f

Please sign in to comment.