This repository was archived by the owner on Dec 9, 2025. It is now read-only.
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 11import React , { Component } from 'react' ;
22import PropTypes from 'prop-types' ;
3+ import { Adsense } from '@ctrl/react-adsense' ;
34
45import { connect } from 'react-redux' ;
56
@@ -83,6 +84,14 @@ class App extends Component {
8384 hasObfuscatedCode = { hasObfuscatedCode }
8485 />
8586
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+
8695 < OptionsContainer />
8796
8897 < ConsentHandler />
Original file line number Diff line number Diff line change 11import React , { Component } from 'react' ;
22import PropTypes from 'prop-types' ;
3- import { Adsense } from '@ctrl/react-adsense' ;
43
54import { connect } from 'react-redux' ;
65
@@ -173,32 +172,15 @@ class CodeContainer extends Component {
173172 render : ( ) => (
174173 < Pane >
175174 < EditorContainer onBlur = { ::this . onCodeChange } value = { code } />
176-
177175 < 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 >
202184 </ Segment >
203185 </ Pane >
204186 )
You can’t perform that action at this time.
0 commit comments