2017-09-15 21:38:11 +00:00
|
|
|
import React from 'react';
|
|
|
|
import './PreFooter.scss';
|
2018-03-23 16:58:33 +00:00
|
|
|
import translate, { translateRaw } from 'translations';
|
2017-09-15 21:38:11 +00:00
|
|
|
|
2018-02-10 18:56:05 +00:00
|
|
|
interface Props {
|
|
|
|
openModal(): void;
|
|
|
|
}
|
|
|
|
|
|
|
|
const PreFooter: React.SFC<Props> = ({ openModal }) => {
|
2017-09-15 21:38:11 +00:00
|
|
|
return (
|
|
|
|
<section className="pre-footer">
|
|
|
|
<div className="container">
|
|
|
|
<p>
|
2018-03-22 03:50:25 +00:00
|
|
|
{translate('PREFOOTER_WARNING')}{' '}
|
2018-03-23 16:58:33 +00:00
|
|
|
<a onClick={openModal}>{translateRaw('PREFOOTER_SECURITY_WARNING')}</a>
|
2017-09-15 21:38:11 +00:00
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
</section>
|
|
|
|
);
|
|
|
|
};
|
|
|
|
|
|
|
|
export default PreFooter;
|