Skip to content

Commit b2f0788

Browse files
committed
added Scam lert to home
1 parent db3f579 commit b2f0788

File tree

1 file changed

+21
-11
lines changed

1 file changed

+21
-11
lines changed

libs/remix-ui/home-tab/src/lib/remix-ui-home-tab.tsx

Lines changed: 21 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -266,18 +266,28 @@ export const RemixUiHomeTab = (props: RemixUiHomeTabProps) => {
266266
</ModalDialog>
267267
<Toaster message={state.toasterMsg} />
268268
<div className="d-flex flex-column ml-4" id="remixUiRightPanel">
269-
<div className="border-bottom d-flex justify-content-between mr-4 pb-3 mb-3">
270-
<div className="mx-4 my-4 d-flex">
271-
<label style={ { fontSize: 'xxx-large', height: 'auto', alignSelf: 'flex-end' } }>Remix IDE</label>
269+
270+
<div className="border-bottom d-flex flex-column mr-4 pb-3 mb-3">
271+
<div className="d-flex justify-content-between ">
272+
<div className="mx-4 my-4 d-flex">
273+
<label style={ { fontSize: 'xxx-large', height: 'auto', alignSelf: 'flex-end' } }>Remix IDE</label>
274+
</div>
275+
<div className="mr-4 d-flex">
276+
<img className="mt-4 mb-2 remixui_home_logoImg" src="assets/img/guitarRemiCroped.webp" onClick={ () => playRemi() } alt=""></img>
277+
<audio
278+
id="remiAudio"
279+
muted={false}
280+
src="assets/audio/remiGuitar-single-power-chord-A-minor.wav"
281+
ref={remiAudioEl}
282+
></audio>
283+
</div>
272284
</div>
273-
<div className="mr-4 d-flex">
274-
<img className="mt-4 mb-2 remixui_home_logoImg" src="assets/img/guitarRemiCroped.webp" onClick={ () => playRemi() } alt=""></img>
275-
<audio
276-
id="remiAudio"
277-
muted={false}
278-
src="assets/audio/remiGuitar-single-power-chord-A-minor.wav"
279-
ref={remiAudioEl}
280-
></audio>
285+
<div>
286+
<i className="text-danger fas fa-exclamation-triangle"></i>
287+
<span className="px-2 remixui_home_text text-danger mt-4 pt-4">
288+
Scam Alert: Beware of Youtube videos promoting "liquidity front runner bots" saying to paste contract code into Remix IDE.
289+
</span>
290+
<a className="remixui_home_text" target="__blank" href="https://medium.com/remix-ide/remix-in-youtube-crypto-scams-71c338da32d">More here</a>
281291
</div>
282292
</div>
283293
<div className="row mx-2 mr-4" data-id="landingPageHpSections">

0 commit comments

Comments
 (0)