Skip to content
This repository was archived by the owner on Feb 5, 2022. It is now read-only.

Commit 33ae353

Browse files
fix(app-home): minor tweaks per design request
1 parent bfa025f commit 33ae353

File tree

2 files changed

+37
-14
lines changed

2 files changed

+37
-14
lines changed

src/pages/app-home/app-home.scss

Lines changed: 27 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,14 @@
22
font-family: 'Muli', sans-serif;
33
width: auto;
44

5+
@include media-breakpoint-down(sm) {
6+
overflow-x: hidden;
7+
}
8+
59
.hero {
610
background-color: white;
711
height: auto;
8-
margin-top: 75px;
12+
margin-top: 115px;
913

1014
.svg-header-desktop {
1115
display: initial;
@@ -60,15 +64,14 @@
6064
font-weight: 600;
6165
font-style: normal;
6266
font-stretch: normal;
63-
height: 60px;
6467
line-height: normal;
6568
letter-spacing: 1.5px;
6669
text-align: center;
6770
text-transform: uppercase;
6871

6972
@include media-breakpoint-down(sm) {
7073
height: 0;
71-
margin-top: 20px;
74+
margin-bottom: 50px;
7275
}
7376
}
7477
}
@@ -134,7 +137,7 @@
134137
align-items: center;
135138
background-color: $gray-100;
136139
display: flex;
137-
height: 65vh;
140+
height: 75vh;
138141
justify-content: center;
139142

140143
.panel-inner-text {
@@ -151,6 +154,10 @@
151154
font-size: 42px;
152155
font-weight: bold;
153156
line-height: 1.19;
157+
158+
@include media-breakpoint-down(sm) {
159+
font-size: 30px;
160+
}
154161
}
155162

156163
h3 {
@@ -165,6 +172,10 @@
165172
line-height: 1.78;
166173
}
167174
}
175+
176+
@include media-breakpoint-down(sm) {
177+
height: 95vh;
178+
}
168179
}
169180

170181
.content-panel-image {
@@ -190,6 +201,10 @@
190201
margin-left: auto;
191202
margin-right: auto;
192203
}
204+
205+
@include media-breakpoint-down(xs) {
206+
display: none;
207+
}
193208
}
194209

195210
.behind-right {
@@ -203,6 +218,10 @@
203218
margin-left: auto;
204219
margin-right: auto;
205220
}
221+
222+
@include media-breakpoint-down(xs) {
223+
display: none;
224+
}
206225
}
207226

208227
.front-center {
@@ -213,6 +232,10 @@
213232
margin-left: auto;
214233
margin-right: auto;
215234
z-index: 1;
235+
236+
@include media-breakpoint-down(xs) {
237+
position: relative;
238+
}
216239
}
217240

218241
.store-buttons {

src/pages/app-home/app-home.tsx

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -123,16 +123,16 @@ export class AppHome {
123123
<header class="hero">
124124
<div class="container">
125125
<div class="row align-items-center">
126-
<div class="hero-content col-12">
127-
<object data="/assets/svg/home-graphic-header.svg" class="svg-header-desktop" aria-label="header" />
128-
<object data="/assets/svg/home-graphic-header-mobile.svg" class="svg-header-mobile" aria-label="header" />
129-
<h1>
130-
<app-translate key="home.hero.title" />
131-
</h1>
132-
<h2>
133-
<app-translate key="home.hero.subTitle" />
134-
</h2>
135-
</div>
126+
<div class="col-12 flex-column">
127+
<h1>
128+
<app-translate key="home.hero.title" />
129+
</h1>
130+
<h2>
131+
<app-translate key="home.hero.subTitle" />
132+
</h2>
133+
<object data="/assets/svg/home-graphic-header.svg" class="svg-header-desktop" aria-label="header" />
134+
<object data="/assets/svg/home-graphic-header-mobile.svg" class="svg-header-mobile" aria-label="header" />
135+
</div>
136136
</div>
137137
</div>
138138
</header>

0 commit comments

Comments
 (0)