Skip to content

Commit

Permalink
fix(profile): Fix header rendering
Browse files Browse the repository at this point in the history
Render the owner's name, then the business name, and finally, a link the business website
  • Loading branch information
mrmod committed Apr 19, 2020
1 parent 85a17a7 commit 1556161
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions app/javascript/components/Profile.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
<div id="profile">
<div id="business" v-if='business && employee'>
<div class="md-display-1">Hello {{employee.name}}!</div>
<span class="md-headline">{{business.name}}</span>
<span class="md-subheading">{{business.website}}</span>
<span class="md-subheading">{{business.website}}</span>
<br /> <br />
<div class="md-headline">{{business.name}}</div>
<div class="md-subheading" v-if='business.website'>
<a target="_blank" rel="noopener noreferrer" :href='business.website'>{{business.website}}</a>
</div>
</div>
<div id="locations">
<div class="md-display-1">Locations</div>
Expand Down

0 comments on commit 1556161

Please sign in to comment.