<commit_before><commit_msg>Add ne alert banner component<commit_after>'use strict';

import React from 'react';
import {Link} from 'react-router';
import { strings } from '../../../lib/i18n';

class AlertBanner extends React.Component {

    render() {
        if (!this.props.message) {
            return null
        } else {
            return (
                <div className='alert__banner p3 center'>
                    <div className='section__container center'>
                        <div className='inline bold underline'>ALERT:</div>
                        &nbsp;
                        {this.props.message}
                    </div>
                </div>
            )
        }
    }
}

export default AlertBanner
{'fraction_non_alphanumeric': 0.11186903137789904, 'fraction_numerical': 0.004092769440654843, 'mean_word_length': 1.4965986394557824, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5622823', 'n_tokens_mistral': 191, 'n_tokens_neox': 179, 'n_words': 47}