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

Commit 6f9f39b

Browse files
committed
fix(home): style and image tweaks
1 parent 17499ab commit 6f9f39b

File tree

6 files changed

+18
-5
lines changed

6 files changed

+18
-5
lines changed

src/assets/svg/home-animation-desktop.svg

Lines changed: 1 addition & 1 deletion
Loading

src/components/app-blog-featured-home/app-blog-featured-home.scss

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,12 @@
1313
}
1414
}
1515

16+
.col-title {
17+
@include media-breakpoint-down(sm) {
18+
padding: 0;
19+
}
20+
}
21+
1622
.featured-title {
1723
h2 {
1824
color: $gray-dark;

src/components/app-blog-featured-home/app-blog-featured-home.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export class AppBlogFeaturedHome {
3030
</div>
3131
</div>
3232
<div class="row post">
33-
<div class="col-lg-6 col-md-8">
33+
<div class="col-lg-6 col-md-8 col-title">
3434
<div class="featured-post-title">
3535
<stencil-route-link url={`/blog/${this.blogPost.slug}`}>
3636
<h2 id="featured-blog-title">{this.blogPost.title}</h2>
@@ -72,7 +72,7 @@ export class AppBlogFeaturedHome {
7272

7373
{this.blogPost1 ? (
7474
<div class="row post">
75-
<div class="col-lg-6 col-md-8">
75+
<div class="col-lg-6 col-md-8 col-title">
7676
<div class="featured-post-title">
7777
<stencil-route-link url={`/blog/${this.blogPost1.slug}`}>
7878
<h2 id="featured-blog-title">{this.blogPost1.title}</h2>

src/components/app-footer/app-footer.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,8 @@
171171
width: 100%;
172172

173173
@include media-breakpoint-down(sm) {
174-
max-width: none;
174+
margin-left: auto;
175+
margin-right: auto;
175176
position: initial;
176177
width: initial;
177178
}

src/components/app-footer/app-footer.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ export class AppFooter {
2525
<br />
2626
<a href="mailto:hello@openforge.io">{translate('footer.address.email')}</a>
2727
<br />
28+
<br class="d-none d-md-block" />
2829
<stencil-route-link url="/service-level-agreement">{translate('footer.social.sla')}</stencil-route-link>
2930
<br />
3031
<stencil-route-link url="/service-level-agreement">{translate('footer.social.presskit')}</stencil-route-link>

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

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,16 @@
4242
background: url('assets/svg/home-animation-desktop.svg') center center no-repeat;
4343
height: 542px;
4444
display: block;
45+
background-size: cover;
4546

4647
@include media-breakpoint-up(md) {
4748
display: block;
4849
}
4950

51+
@include media-breakpoint-down(md) {
52+
background-size: contain;
53+
}
54+
5055
@include media-breakpoint-down(sm) {
5156
display: none;
5257
}
@@ -91,7 +96,7 @@
9196
h2 {
9297
color: $gray-dark;
9398
font-family: Muli;
94-
font-size: 47px;
99+
font-size: 45px;
95100
font-weight: 600;
96101
letter-spacing: 1.73px;
97102
line-height: 62px;

0 commit comments

Comments
 (0)