44-->
55
66< div *ngIf ="error " class ="heading mat-elevation-z6 ">
7- < div style ="margin-top:5px; ">
8- < p class ="error "> {{error}}</ p >
9- </ div >
7+ < span class ="error "> {{error}}</ span >
108</ div >
119
1210< mat-card appearance ="outlined " class ="mat-elevation-z6 deluxe-membership ">
13- < div class ="card-content ">
14- < div class ="img-container ">
15- < svg preserveAspectRatio ="xMidYMid meet " viewBox ="0 0 720 720 " xmlns ="http://www.w3.org/2000/svg ">
16- < image href ="assets/public/images/deluxe/blankBoxes.png " x ="0 " y ="0 " height ="720 " width ="720 " />
17- < image [attr.href] ="logoSrc " x ="260 " y ="130 " height ="50 " />
18- < image [attr.href] ="logoSrc " x ="230 " y ="330 " height ="70 " />
19- < image [attr.href] ="logoSrc " x ="70 " y ="355 " height ="40 " />
20- < image [attr.href] ="logoSrc " x ="120 " y ="450 " height ="55 " />
21- < image [attr.href] ="logoSrc " x ="500 " y ="410 " height ="45 " />
22- </ svg >
23- </ div >
24- < div class ="card-text ">
25- < div class ="item-name ">
26- < b translate > LABEL_DELUXE_MEMBERSHIP</ b >
27- </ div >
28- < div class ="item-description ">
29- < span translate [translateParams] ="{appname: applicationName} "> DESCRIPTION_DELUXE_MEMBERSHIP</ span >
30- </ div >
31- < div *ngIf ="!error ">
32- < div class ="item-description ">
33- {{ membershipCost }}¤
34- </ div >
35- < div class ="item-description ">
36- < button (click) ="upgradeToDeluxe() " aria-label ="Add to Basket " class ="btn-member " color ="primary " mat-button
37- mat-raised-button >
38- < span translate > LABEL_BECOME_MEMBER</ span >
39- </ button >
40- </ div >
41- </ div >
42- </ div >
11+ < svg preserveAspectRatio ="xMidYMid meet " viewBox ="0 0 720 720 " xmlns ="http://www.w3.org/2000/svg ">
12+ < image href ="assets/public/images/deluxe/blankBoxes.png " x ="0 " y ="0 " height ="720 " width ="720 " />
13+ < image [attr.href] ="logoSrc " x ="260 " y ="130 " height ="50 " />
14+ < image [attr.href] ="logoSrc " x ="230 " y ="330 " height ="70 " />
15+ < image [attr.href] ="logoSrc " x ="70 " y ="355 " height ="40 " />
16+ < image [attr.href] ="logoSrc " x ="120 " y ="450 " height ="55 " />
17+ < image [attr.href] ="logoSrc " x ="500 " y ="410 " height ="45 " />
18+ </ svg >
19+ < div class ="card-text ">
20+ < strong class ="item-name " translate =""> LABEL_DELUXE_MEMBERSHIP</ strong >
21+ < span translate [translateParams] ="{appname: applicationName} "> DESCRIPTION_DELUXE_MEMBERSHIP</ span >
22+ @if (!error) {
23+ < span >
24+ {{ membershipCost }}¤
25+ </ span >
26+ < button (click) ="upgradeToDeluxe() " aria-label ="Become deluxe member " class ="btn-become-member " color ="primary "
27+ mat-button mat-raised-button >
28+ < span translate > LABEL_BECOME_MEMBER</ span >
29+ </ button >
30+ }
4331 </ div >
4432</ mat-card >
4533< div class ="feature-cards-container ">
46- < mat-card appearance ="outlined " class ="mat-elevation-z6 feature-card ">
47- < div class ="card-content ">
48- < div class ="img-container ">
49- < mat-icon style ="transform: scale(3) " class ="img-responsive img-thumbnail ">
50- slideshow
51- </ mat-icon >
52- </ div >
53- < div class ="card-text ">
54- < div class ="item-name ">
55- < b translate > LABEL_DEALS_OFFERS</ b >
56- </ div >
57- < div class ="item-description " translate >
58- DESCRIPTION_DEALS_OFFERS
59- </ div >
60- </ div >
61- </ div >
62- </ mat-card >
63- < mat-card appearance ="outlined " class ="mat-elevation-z6 feature-card ">
64- < div class ="card-content ">
65- < div class ="img-container ">
66- < mat-icon style ="transform: scale(3) " class ="img-responsive img-thumbnail ">
67- directions_car
68- </ mat-icon >
69- </ div >
70- < div class ="card-text ">
71- < div class ="item-name ">
72- < b translate > LABEL_FREE_FAST_DELIVERY</ b >
73- </ div >
74- < div class ="item-description " translate >
75- DESCRIPTION_FREE_FAST_DELIVERY
76- </ div >
77- </ div >
78- </ div >
79- </ mat-card >
80- < mat-card appearance ="outlined " class ="mat-elevation-z6 feature-card ">
81- < div class ="card-content ">
82- < div class ="img-container ">
83- < mat-icon style ="transform: scale(3) " class ="img-responsive img-thumbnail ">
84- add
85- </ mat-icon >
86- </ div >
34+ @for (item of SHOWCASES; track item.name) {
35+ < mat-card appearance ="outlined " class ="mat-elevation-z6 feature-card ">
36+ < mat-icon [fontIcon] ="item.icon "> </ mat-icon >
8737 < div class ="card-text ">
88- < div class ="item-name ">
89- < b translate > LABEL_UNLIMITED_PURCHASE</ b >
90- </ div >
91- < div class ="item-description " translate >
92- DESCRIPTION_UNLIMITED_PURCHASE
93- </ div >
38+ < strong class ="item-name "> {{ item.name | translate }}</ strong >
39+ < span > {{ item.description | translate }}</ span >
9440 </ div >
95- </ div >
96- </ mat-card >
41+ </ mat-card >
42+ }
9743</ div >
0 commit comments