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