Skip to content

Commit 6205138

Browse files
Remove Title component
1 parent 64b3a11 commit 6205138

File tree

3 files changed

+12
-8
lines changed

3 files changed

+12
-8
lines changed

components/layout/Hero.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ export default function Hero({
3434
objectPosition='center'
3535
priority
3636
/>
37-
<Container className={styles.header__content}>
37+
<Container customClass={styles.header__content}>
3838
<div className={styles.header__content__upper}>
3939
<h1 className={titleClass ? `${styles[titleClass]}` : ''}>
4040
{title}

components/snippets/Title.js

Lines changed: 0 additions & 5 deletions
This file was deleted.

styles/TwoColumn.module.scss

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,11 @@
7272
//About us
7373
&.our-background {
7474
.inner__image {
75-
height: 18rem;
75+
height: 14rem;
76+
77+
@include desktop {
78+
height: 18rem;
79+
}
7680

7781
.img {
7882
object-fit: contain;
@@ -82,7 +86,12 @@
8286

8387
&.about-content {
8488
.inner__image {
85-
height: 15rem;
89+
height: 10rem;
90+
91+
@include desktop {
92+
height: 15rem;
93+
}
94+
8695
.img {
8796
max-width: 14rem;
8897
object-fit: contain;

0 commit comments

Comments
 (0)