Skip to content

Commit 155bfe1

Browse files
committed
Hero block background updates
The hero backgrounds has been replaced with SVG files. Also, the params has been changed, instead of using numbers, you can now use: * default * alternative * astra * dse * luna
1 parent e112125 commit 155bfe1

16 files changed

+110
-10
lines changed

gcx/styles/src/css/helios-gcx-heroBlock.css

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,25 @@
1-
.dsHeroBlock {
2-
background-image: url('../img/[email protected]');
1+
.dsHeroBlock,
2+
.dsHeroBlock[data-banner="default"] {
3+
background-image: url('../img/hero-banner-1.svg');
34
background-size: cover;
45
color: white;
56
font-family: 'Roboto', sans-serif;
67
}
78

8-
.dsHeroBlock[data-banner="2"]{
9-
background-image: url('../img/hero-banner-2@2x.png');
9+
.dsHeroBlock[data-banner="alternative"]{
10+
background-image: url('../img/hero-banner-2.svg');
1011
}
1112

12-
.dsHeroBlock[data-banner="3"]{
13-
background-image: url('../img/hero-banner-3-Astra@2x.png');
13+
.dsHeroBlock[data-banner="astra"]{
14+
background-image: url('../img/hero-banner-3-Astra.svg');
1415
}
1516

16-
.dsHeroBlock[data-banner="4"]{
17-
background-image: url('../img/hero-banner-4-DSE@2x.png');
17+
.dsHeroBlock[data-banner="dse"]{
18+
background-image: url('../img/hero-banner-4-DSE.svg');
1819
}
1920

20-
.dsHeroBlock[data-banner="5"]{
21-
background-image: url('../img/hero-banner-5-Luna@2x.png');
21+
.dsHeroBlock[data-banner="luna"]{
22+
background-image: url('../img/hero-banner-5-Luna.svg');
2223
}
2324

2425

-347 KB
Binary file not shown.

gcx/styles/src/img/hero-banner-1.svg

Lines changed: 21 additions & 0 deletions
Loading
-876 KB
Binary file not shown.
-208 KB
Binary file not shown.

gcx/styles/src/img/hero-banner-2.svg

Lines changed: 21 additions & 0 deletions
Loading
-500 KB
Binary file not shown.
-723 KB
Binary file not shown.

gcx/styles/src/img/hero-banner-3-Astra.svg

Lines changed: 19 additions & 0 deletions
Loading
-2.56 MB
Binary file not shown.

0 commit comments

Comments
 (0)