ES6 Plato on Github
Report Home
Summary Display
components/Footer.js
Maintainability
85.92
Lines of code
23
Difficulty
6.56
Estimated Errors
0.06
Function weight
By Complexity
By SLOC
import React from 'react'; import { Navbar } from 'react-bootstrap'; import { Link } from 'react-router-dom'; import logo from '../images/ebs.gif'; export class Footer extends React.Component { render() { /*if ((!this.props.user) || (!this.props.user.sessionId)){ return null; }*/ return (<Navbar inverse fixedBottom > <Navbar.Header> <Navbar.Brand > <Link to="/" style={{ fontSize: '15px' }}><img alt="" src={logo} className='logo' />European Synchrotron Radiation Facility</Link> </Navbar.Brand> </Navbar.Header> </Navbar>) } } export default Footer