Skip to content

Commit 6f7f118

Browse files
committed
style(home): update offer-presentation grids background
1 parent 2df2823 commit 6f7f118

File tree

3 files changed

+26
-28
lines changed

3 files changed

+26
-28
lines changed

src/assets/images/background_grid.jpg

39.7 KB
Loading
Original file line numberDiff line numberDiff line change
@@ -1,55 +1,47 @@
11
<mat-grid-list [cols]="cols" [rowHeight]="rowHeight">
2-
<mat-grid-tile
3-
[style.backgroundImage]="'url(' + images[0] + ')'"
4-
></mat-grid-tile>
2+
<mat-grid-tile [style.backgroundImage]="'url(' + images[0] + ')'"></mat-grid-tile>
53

6-
<mat-grid-tile>
4+
<mat-grid-tile class="tile-background">
75
<div class="tile-content">
86
Imprezy firmowe
97
<button mat-flat-button [routerLink]="['/galeria/imprezy-firmowe']">
108
Sprawdź
119
</button>
12-
</div></mat-grid-tile
13-
>
14-
<mat-grid-tile
15-
[style.backgroundImage]="'url(' + images[1] + ')'"
16-
></mat-grid-tile>
10+
</div>
11+
</mat-grid-tile>
1712

18-
<mat-grid-tile>
13+
<mat-grid-tile [style.backgroundImage]="'url(' + images[1] + ')'"></mat-grid-tile>
14+
15+
<mat-grid-tile class="tile-background">
1916
<div class="tile-content">
2017
Imprezy prywatne
2118
<button mat-flat-button [routerLink]="['/galeria/imprezy-prywatne']">
2219
Sprawdź
2320
</button>
24-
</div></mat-grid-tile
25-
>
26-
<mat-grid-tile
27-
[style.backgroundImage]="'url(' + images[2] + ')'"
28-
></mat-grid-tile>
21+
</div>
22+
</mat-grid-tile>
23+
24+
<mat-grid-tile [style.backgroundImage]="'url(' + images[2] + ')'"></mat-grid-tile>
2925

30-
<mat-grid-tile>
26+
<mat-grid-tile class="tile-background">
3127
<div class="tile-content">
3228
Prezentacje
3329
<button mat-flat-button [routerLink]="['/galeria/prezentacje']">
3430
Sprawdź
3531
</button>
36-
</div></mat-grid-tile
37-
>
32+
</div>
33+
</mat-grid-tile>
3834

39-
<mat-grid-tile
40-
[style.backgroundImage]="'url(' + images[3] + ')'"
41-
></mat-grid-tile>
35+
<mat-grid-tile [style.backgroundImage]="'url(' + images[3] + ')'"></mat-grid-tile>
4236

43-
<mat-grid-tile>
37+
<mat-grid-tile class="tile-background">
4438
<div class="tile-content">
4539
Imprezy plenerowe
4640
<button mat-flat-button [routerLink]="['/galeria/imprezy-plenerowe']">
4741
Sprawdź
4842
</button>
49-
</div></mat-grid-tile
50-
>
43+
</div>
44+
</mat-grid-tile>
5145

52-
<mat-grid-tile
53-
[style.backgroundImage]="'url(' + images[4] + ')'"
54-
></mat-grid-tile>
55-
</mat-grid-list>
46+
<mat-grid-tile [style.backgroundImage]="'url(' + images[4] + ')'"></mat-grid-tile>
47+
</mat-grid-list>

src/components/offer-presentation/offer-presentation-grids/offer-presentation-grids.component.scss

+6
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,9 @@ mat-grid-tile {
1313
padding: 32px;
1414
gap: 22px;
1515
}
16+
17+
.tile-background {
18+
background: url("/assets/images/background_grid.jpg");
19+
background-size: cover;
20+
background-position: top;
21+
}

0 commit comments

Comments
 (0)