change scam alerte

pull/4837/head
filip mertens 7 months ago
parent 732cfa3835
commit c86bb69db5
  1. 7
      libs/remix-ui/home-tab/src/lib/components/homeTabScamAlert.tsx

@ -1,10 +1,12 @@
/* eslint-disable @typescript-eslint/no-unused-vars */ /* eslint-disable @typescript-eslint/no-unused-vars */
import React from 'react' import { appPlatformTypes, platformContext } from '@remix-ui/app'
import React, { useContext } from 'react'
import {FormattedMessage} from 'react-intl' import {FormattedMessage} from 'react-intl'
const _paq = (window._paq = window._paq || []) // eslint-disable-line const _paq = (window._paq = window._paq || []) // eslint-disable-line
function HomeTabScamAlert() { function HomeTabScamAlert() {
const platform = useContext(platformContext)
return ( return (
<div className="" id="hTScamAlertSection"> <div className="" id="hTScamAlertSection">
<label className="pl-2 text-danger" style={{fontSize: '1.2rem'}}> <label className="pl-2 text-danger" style={{fontSize: '1.2rem'}}>
@ -15,9 +17,10 @@ function HomeTabScamAlert() {
<i style={{fontSize: 'xxx-large', fontWeight: 'lighter'}} className="pr-2 text-danger far fa-exclamation-triangle"></i> <i style={{fontSize: 'xxx-large', fontWeight: 'lighter'}} className="pr-2 text-danger far fa-exclamation-triangle"></i>
</span> </span>
<div className="d-flex flex-column"> <div className="d-flex flex-column">
{platform === appPlatformTypes.web && (
<span className="pl-4 mt-1"> <span className="pl-4 mt-1">
<FormattedMessage id="home.scamAlertText" /> <FormattedMessage id="home.scamAlertText" />
</span> </span>)}
<span className="pl-4 mt-1"> <span className="pl-4 mt-1">
<FormattedMessage id="home.scamAlertText2" />: <FormattedMessage id="home.scamAlertText2" />:
<a <a

Loading…
Cancel
Save