File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11< footer >
22 < span > {{ 'tourOfHeroes' | translate }} 2017</ span >
33 < div class ="flex-spacer "> </ div >
4- < a href ="https://angular.io/ " target ="_blank "> < img src ="/ assets/images/angular.svg "> </ a >
4+ < a href ="https://angular.io/ " target ="_blank "> < img src ="assets/images/angular.svg "> </ a >
55</ footer >
Original file line number Diff line number Diff line change @@ -8,8 +8,8 @@ <h2 class="section-title">{{ 'heroesList' | translate }}</h2>
88 </ md-progress-spinner >
99 < md-list >
1010 < md-list-item *ngFor ="let hero of heroes ">
11- < img *ngIf ="hero.default " md-list-avatar src ="/ assets/images/heroes/{{hero.id}}-mini.jpg ">
12- < img *ngIf ="!hero.default " md-list-avatar src ="/ assets/images/heroes/default.png ">
11+ < img *ngIf ="hero.default " md-list-avatar src ="assets/images/heroes/{{hero.id}}-mini.jpg ">
12+ < img *ngIf ="!hero.default " md-list-avatar src ="assets/images/heroes/default.png ">
1313 < h3 md-line > {{hero.name}} </ h3 >
1414 < p md-line >
1515 < span > {{hero.alterEgo}}</ span >
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ <h1 class="section-title">{{'topHeroes' | translate}}</h1>
99 < md-card class ="hero-card ">
1010 < md-card-header >
1111 < div md-card-avatar class ="hero-header-image "
12- [ngStyle] ="{'background-image': 'url(/ assets/images/heroes/' + hero.id + '-mini.jpg)'} "> </ div >
12+ [ngStyle] ="{'background-image': 'url(assets/images/heroes/' + hero.id + '-mini.jpg)'} "> </ div >
1313 < md-card-title > {{hero.name}}</ md-card-title >
1414 < md-card-subtitle > {{hero.alterEgo}}</ md-card-subtitle >
1515 < div class ="flex-spacer "> </ div >
@@ -20,7 +20,7 @@ <h1 class="section-title">{{'topHeroes' | translate}}</h1>
2020 class ="like-icon " (click) ="like(hero) "> favorite</ md-icon >
2121 </ div >
2222 </ md-card-header >
23- < img md-card-image src ="/ assets/images/heroes/{{hero.id}}.jpg ">
23+ < img md-card-image src ="assets/images/heroes/{{hero.id}}.jpg ">
2424 </ md-card >
2525 </ md-grid-tile >
2626</ md-grid-list >
You can’t perform that action at this time.
0 commit comments