File tree Expand file tree Collapse file tree 2 files changed +17
-26
lines changed Expand file tree Collapse file tree 2 files changed +17
-26
lines changed Original file line number Diff line number Diff line change 1
1
import React , { Component } from 'react' ;
2
2
import PropTypes from 'prop-types' ;
3
+ import { Adsense } from '@ctrl/react-adsense' ;
3
4
4
5
import { connect } from 'react-redux' ;
5
6
@@ -83,6 +84,14 @@ class App extends Component {
83
84
hasObfuscatedCode = { hasObfuscatedCode }
84
85
/>
85
86
87
+ < div style = { { width : '100%' , marginTop : '8px' , marginBottom : '8px' } } >
88
+ < Adsense
89
+ client = "ca-pub-5000712498982649"
90
+ slot = "1666508371"
91
+ format = "auto"
92
+ />
93
+ </ div >
94
+
86
95
< OptionsContainer />
87
96
88
97
< ConsentHandler />
Original file line number Diff line number Diff line change 1
1
import React , { Component } from 'react' ;
2
2
import PropTypes from 'prop-types' ;
3
- import { Adsense } from '@ctrl/react-adsense' ;
4
3
5
4
import { connect } from 'react-redux' ;
6
5
@@ -173,32 +172,15 @@ class CodeContainer extends Component {
173
172
render : ( ) => (
174
173
< Pane >
175
174
< EditorContainer onBlur = { ::this . onCodeChange } value = { code } />
176
-
177
175
< Segment basic >
178
- < div style = { {
179
- display : 'flex' ,
180
- alignItems : 'center'
181
- } } >
182
- < Button
183
- loading = { pending }
184
- disabled = { pending }
185
- primary
186
- onClick = { onObfuscateClick }
187
- >
188
- Obfuscate
189
- </ Button >
190
-
191
- < div style = { {
192
- flexGrow : 1 ,
193
- marginLeft : '8px' ,
194
- } } >
195
- < Adsense
196
- client = "ca-pub-5000712498982649"
197
- slot = "1666508371"
198
- format = "horizontal"
199
- />
200
- </ div >
201
- </ div >
176
+ < Button
177
+ loading = { pending }
178
+ disabled = { pending }
179
+ primary
180
+ onClick = { onObfuscateClick }
181
+ >
182
+ Obfuscate
183
+ </ Button >
202
184
</ Segment >
203
185
</ Pane >
204
186
)
You can’t perform that action at this time.
0 commit comments