@@ -62,56 +62,58 @@ export const GitHub: FunctionComponent = () => {
62
62
63
63
return (
64
64
< MaxWidth >
65
- < Margin vertical = { 1.5 } horizontal = { 1.5 } >
66
- < Container >
67
- < Navigation title = "GitHub Import" />
65
+ < div style = { { minHeight : '100vh' } } >
66
+ < Margin vertical = { 1.5 } horizontal = { 1.5 } >
67
+ < Container >
68
+ < Navigation title = "GitHub Import" />
68
69
69
- < Content horizontal vertical >
70
- < Description >
71
- < Title > Import from GitHub</ Title >
70
+ < Content horizontal vertical >
71
+ < Description >
72
+ < Title > Import from GitHub</ Title >
72
73
73
- < SubTitle >
74
- Enter the URL to your GitHub repository to generate a URL to
75
- your sandbox. The sandbox will stay in sync with your
76
- repository.
77
- < br />
78
- < a
79
- href = "/docs/importing#import-from-github"
80
- rel = "noopener norefereer"
81
- target = "_blank"
82
- >
83
- See the docs
84
- </ a >
85
- </ SubTitle >
86
- </ Description >
74
+ < SubTitle >
75
+ Enter the URL to your GitHub repository to generate a URL to
76
+ your sandbox. The sandbox will stay in sync with your
77
+ repository.
78
+ < br />
79
+ < a
80
+ href = "/docs/importing#import-from-github"
81
+ rel = "noopener norefereer"
82
+ target = "_blank"
83
+ >
84
+ See the docs
85
+ </ a >
86
+ </ SubTitle >
87
+ </ Description >
87
88
88
- < Label htmlFor = "githuburl" >
89
- URL to GitHub Repository (supports branches and paths too)
90
- </ Label >
89
+ < Label htmlFor = "githuburl" >
90
+ URL to GitHub Repository (supports branches and paths too)
91
+ </ Label >
91
92
92
- < Input
93
- name = "githuburl"
94
- onChange = { updateUrl }
95
- placeholder = "Insert GitHub URL..."
96
- value = { url }
97
- />
93
+ < Input
94
+ name = "githuburl"
95
+ onChange = { updateUrl }
96
+ placeholder = "Insert GitHub URL..."
97
+ value = { url }
98
+ />
98
99
99
- { error !== null && < ErrorMessage > { error } </ ErrorMessage > }
100
+ { error !== null && < ErrorMessage > { error } </ ErrorMessage > }
100
101
101
- < Label htmlFor = "sandboxurl" > Converted Sandbox URL</ Label >
102
+ < Label htmlFor = "sandboxurl" > Converted Sandbox URL</ Label >
102
103
103
- < Input
104
- name = "sandboxurl"
105
- placeholder = "The Sandbox URL"
106
- value = { transformedUrl }
107
- />
104
+ < Input
105
+ name = "sandboxurl"
106
+ placeholder = "The Sandbox URL"
107
+ value = { transformedUrl }
108
+ />
108
109
109
- < Button disabled = { ! transformedUrl } to = { gitHubToSandboxUrl ( url ) } >
110
- Open Sandbox
111
- </ Button >
112
- </ Content >
113
- </ Container >
114
- </ Margin >
110
+ < Button disabled = { ! transformedUrl } to = { gitHubToSandboxUrl ( url ) } >
111
+ Open Sandbox
112
+ </ Button >
113
+ </ Content >
114
+ </ Container >
115
+ </ Margin >
116
+ </ div >
115
117
</ MaxWidth >
116
118
) ;
117
119
} ;
0 commit comments