'use strict';

import React from 'react';
import WebHeader from './components/header/webHeader.jsx'
import MobileHeader from './components/header/mobileHeader.jsx'
import SecurityBanner from './components/header/securityBanner.jsx'
import AnnounceBanner from './components/header/announceBanner.jsx'

class Header extends React.Component {
    renderSecurityMessage() {
        return
        //return (
        //     <div className='inline'>
        //      <p>
        //         2017-05-09. BU nodes under attack. As temporary countermeasure please disable Xthin.
        //      </p>
        //      <p>
        //        To disable it add <i>use-thinblock=0</i> to your bitcoin.conf or use the command line flag <i>-use-thinblocks=0</i>.
        //      </p>
        //     </div>
        //)
    }

    renderAnnounceMessage() {
        return
        //return (
        //     <div className='inline-block'>
        //       <p> BU x.y.z. has been just released, plese fetch it from the download section</p>
        //     </div>
        //)
    }

    render() {
        return (
            <div>
                <WebHeader />
                <MobileHeader />
                <div className='banner'></div>
                <SecurityBanner message={ this.renderSecurityMessage() }/>
                <AnnounceBanner message={ this.renderAnnounceMessage() }/>
            </div>
        );
    }
};

export default Header

'use strict';

import React from 'react';
import WebHeader from './components/header/webHeader.jsx'
import MobileHeader from './components/header/mobileHeader.jsx'
import SecurityBanner from './components/header/securityBanner.jsx'
import AnnounceBanner from './components/header/announceBanner.jsx'

class Header extends React.Component {
    renderSecurityMessage() {
        return
        //return (
        //     <div className='inline'>
        //      <p>
        //         2017-05-09. BU nodes under attack. As temporary countermeasure please disable Xthin.
        //      </p>
        //      <p>
        //        To disable it add <i>use-thinblock=0</i> to your bitcoin.conf or use the command line flag <i>-use-thinblocks=0</i>.
        //      </p>
        //     </div>
        //)
    }

    renderAnnounceMessage() {
        //return
        return (
             <div className='inline-block'>
               <p> BU 1.0.2.0 has been released, please update your node as soon as possible. </p>
             </div>
        )
    }

    render() {
        return (
            <div>
                <WebHeader />
                <MobileHeader />
                <div className='banner'></div>
                <SecurityBanner message={ this.renderSecurityMessage() }/>
                <AnnounceBanner message={ this.renderAnnounceMessage() }/>
            </div>
        );
    }
};

export default Header

Add announcement about release of BU 1.0.2.0
Add announcement about release of BU 1.0.2.0
