@@ -4,33 +4,14 @@ import styled from '@emotion/styled'
4
4
import { sizes } from '../../styles/variables'
5
5
import { projects } from '../../contents/projects'
6
6
import Project from './Project'
7
- import PrefixInput from './PrefixInput '
7
+ import Difference from '../gitpod-vs-codespaces/Difference '
8
8
9
9
const StyledGetStarted = styled . div `
10
10
/* ------------------------------------------- */
11
11
/* ----- Section Get Started ----- */
12
12
/* ------------------------------------------- */
13
13
14
14
.get-started {
15
- padding-top: 0;
16
- text-align: center;
17
-
18
- h3 {
19
- font-weight: 400;
20
- }
21
-
22
- &__prefix {
23
- display: flex;
24
- margin-bottom: 12rem;
25
- text-align: left;
26
- }
27
-
28
- h2 + p {
29
- font-size: 2rem;
30
- }
31
-
32
- /* ----- Projects ----- */
33
-
34
15
&__projects {
35
16
display: flex;
36
17
justify-content: space-between;
@@ -55,35 +36,33 @@ const StyledGetStarted = styled.div`
55
36
`
56
37
57
38
const GetStarted = ( ) => (
58
- < StyledGetStarted className = "row pattern" >
59
- < section className = "get-started" id = "get-started" >
60
- < h2 >
61
- < strong > Get Started</ strong >
62
- </ h2 >
63
- < p >
64
- Prefix any GitLab, GitHub, or Bitbucket URL with < strong > gitpod.io/#</ strong >
65
- </ p >
66
-
67
- < div className = "get-started__prefix" >
68
- < PrefixInput />
69
- </ div >
70
-
71
- < h3 > Or Try an Example Project</ h3 >
72
-
73
- < div className = "get-started__projects" >
74
- { projects . map ( ( project , i ) => (
75
- < Project
76
- key = { i }
77
- image = { < object role = "presentation" tabIndex = { - 1 } data = { project . image } /> }
78
- title = { project . title }
79
- githubUrl = { project . githubUrl }
80
- gitlabUrl = { project . gitlabUrl }
81
- bitbucketUrl = { project . bitbucketUrl }
82
- />
83
- ) ) }
84
- </ div >
39
+ < section style = { { padding : '0' } } >
40
+ < Difference
41
+ spacing = "small"
42
+ title = "Get Started"
43
+ />
44
+ < section
45
+ className = "get-started"
46
+ id = "get-started"
47
+ style = { { padding : '8rem 0' } }
48
+ >
49
+ < StyledGetStarted className = "row" >
50
+ < h3 style = { { textAlign : 'center' , fontWeight : 400 } } > Don’t want to open your own repo? Choose an example.</ h3 >
51
+ < div className = "get-started__projects" >
52
+ { projects . map ( ( project , i ) => (
53
+ < Project
54
+ key = { i }
55
+ image = { < object role = "presentation" tabIndex = { - 1 } data = { project . image } /> }
56
+ title = { project . title }
57
+ githubUrl = { project . githubUrl }
58
+ gitlabUrl = { project . gitlabUrl }
59
+ bitbucketUrl = { project . bitbucketUrl }
60
+ />
61
+ ) ) }
62
+ </ div >
63
+ </ StyledGetStarted >
64
+ </ section >
85
65
</ section >
86
- </ StyledGetStarted >
87
66
)
88
67
89
68
export default GetStarted
0 commit comments