@@ -5,7 +5,6 @@ import Img from "gatsby-image"
5
5
import styled from "styled-components"
6
6
7
7
import { getLangContentVersion , getDefaultMessage } from "../utils/translations"
8
- import Morpher from "../components/Morpher"
9
8
import PageMetadata from "../components/PageMetadata"
10
9
import Translation from "../components/Translation"
11
10
import Link from "../components/Link"
@@ -51,19 +50,11 @@ const OldHeader = styled.header`
51
50
margin: 0 auto;
52
51
`
53
52
54
- const Title = styled . div `
55
- display: flex;
56
- justify-content: space-between;
57
- width: 100%;
58
- max-width: 100%;
59
- `
60
-
61
53
const H1 = styled . h1 `
62
54
line-height: 1.4;
63
55
font-weight: 400;
64
56
font-size: 1.5rem;
65
57
margin: 1.5rem 0;
66
-
67
58
max-width: 80%;
68
59
@media (max-width: ${ ( props ) => props . theme . breakpoints . m } ) {
69
60
max-width: 100%;
@@ -148,18 +139,6 @@ const OldTitle = styled.h3`
148
139
}
149
140
`
150
141
151
- const H3 = styled . h3 `
152
- margin-top: 1.5rem;
153
- margin-bottom: 1.5rem;
154
- @media (max-width: ${ ( props ) => props . theme . breakpoints . m } ) {
155
- display: none;
156
- }
157
- `
158
-
159
- const OldH3 = styled . h3 `
160
- margin-top: 2.5rem;
161
- `
162
-
163
142
const HomePage = ( { data } ) => {
164
143
const intl = useIntl ( )
165
144
const contentVersion = getLangContentVersion ( intl . locale )
@@ -340,14 +319,9 @@ const HomePage = ({ data }) => {
340
319
{ contentVersion > 1.1 && (
341
320
< >
342
321
< Header >
343
- < Title >
344
- < H1 >
345
- < Translation id = "page-home-title" />
346
- </ H1 >
347
- < H3 >
348
- < Morpher />
349
- </ H3 >
350
- </ Title >
322
+ < H1 >
323
+ < Translation id = "page-home-title" />
324
+ </ H1 >
351
325
< Description >
352
326
< Translation id = "page-home-subtitle" />
353
327
</ Description >
@@ -357,9 +331,6 @@ const HomePage = ({ data }) => {
357
331
) }
358
332
{ contentVersion <= 1.1 && (
359
333
< OldHeader >
360
- < OldH3 >
361
- < Morpher />
362
- </ OldH3 >
363
334
< H1 >
364
335
< Translation id = "page-home-title" />
365
336
</ H1 >
0 commit comments