Skip to content

Commit 3e04af1

Browse files
author
David Sanchez (MSFT)
authored
Merge pull request microsoft#27 from olgamarti/master
Changed icons of Apps mobile in home
2 parents dbd0945 + 2a683b2 commit 3e04af1

File tree

2 files changed

+45
-23
lines changed

2 files changed

+45
-23
lines changed

Source/SmartHotel360.Website/ClientApp/src/components/Home.js

+16-6
Original file line numberDiff line numberDiff line change
@@ -19,20 +19,30 @@ class Home extends Component {
1919
<div className='sh-hero'>
2020
<div className='sh-hero-wrapper'>
2121
<div className='sh-hero-title'>The future of intelligent hospitality and connected workplace</div>
22+
<div className='sh-hero-subtitle'>Download the App</div>
2223
<ul className='sh-hero-buttons'>
2324
<li className='sh-hero-button'>
24-
<a href="https://aka.ms/smarthotel360uwp">
25-
<div className='sh-hero-download_app sh-hero-download_app--win'></div>
25+
<a className='sh-hero-button-link' href="https://aka.ms/smarthotel360uwp">
26+
<div className='sh-hero-download_app'>
27+
<div className='sh-hero-download_app-subtitle'>Get it now for</div>
28+
Windows 10
29+
</div>
2630
</a>
2731
</li>
2832
<li className='sh-hero-button'>
29-
<a href="https://aka.ms/smarthotel360ios">
30-
<div className='sh-hero-download_app sh-hero-download_app--apple'></div>
33+
<a className='sh-hero-button-link' href="https://aka.ms/smarthotel360ios">
34+
<div className='sh-hero-download_app'>
35+
<div className='sh-hero-download_app-subtitle'>Get it now for</div>
36+
Android
37+
</div>
3138
</a>
3239
</li>
3340
<li className='sh-hero-button'>
34-
<a href="https://aka.ms/smarthotel360android">
35-
<div className='sh-hero-download_app sh-hero-download_app--google'></div>
41+
<a className='sh-hero-button-link' href="https://aka.ms/smarthotel360android">
42+
<div className='sh-hero-download_app'>
43+
<div className='sh-hero-download_app-subtitle'>Get it now for</div>
44+
iOS
45+
</div>
3646
</a>
3747
</li>
3848
</ul>

Source/SmartHotel360.Website/ClientApp/src/scss/components/_sh-hero.scss

+29-17
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,12 @@
66
height: 43rem;
77
width: 100%;
88

9+
10+
911
&-buttons {
1012
display: flex;
1113
list-style: none;
12-
margin-top: 7rem;
14+
margin-top: 2rem;
1315
padding: 0;
1416
}
1517

@@ -24,31 +26,33 @@
2426
background-color: rgba($color-background-brighter, .25);
2527
transition: background-color $animation-speed-default ease;
2628
}
29+
30+
&-link {
31+
&:hover {
32+
text-decoration: none;
33+
}
34+
}
2735
}
2836

2937
&-download_app {
30-
background-position-x: center;
31-
background-position-y: center;
32-
background-repeat: no-repeat;
33-
background-size: contain;
34-
height: 1rem;
38+
height: 2rem;
3539
width: 6rem;
40+
justify-content: center;
41+
color: $color-foreground-brighter;
42+
font-size: $font-size-m;
3643

37-
@media screen and (min-width: $media-screen-m) {
38-
height: 1.5rem;
44+
@media screen and (min-width: $media-screen-s) {
45+
height: 2rem;
3946
width: 7.5rem;
47+
font-size: $font-size-l;
4048
}
4149

42-
&--win {
43-
background-image: url('/assets/images/windows.png');
44-
}
45-
46-
&--apple {
47-
background-image: url('/assets/images/app_store.png');
48-
}
50+
&-subtitle {
51+
font-size: $font-size-xxs;
4952

50-
&--google {
51-
background-image: url('/assets/images/google_play.png');
53+
@media screen and (min-width: $media-screen-s) {
54+
font-size: $font-size-xs;
55+
}
5256
}
5357
}
5458

@@ -66,6 +70,14 @@
6670
}
6771
}
6872

73+
&-subtitle {
74+
text-transform: uppercase;
75+
color: $color-background-brighter;
76+
font-size: $font-size-xl;
77+
font-weight: $font-weight-light;
78+
margin-top: 4rem;
79+
}
80+
6981
&-wrapper {
7082
$distance: 14rem;
7183

0 commit comments

Comments
 (0)