cnap-cobre/synapse

View on GitHub
frontend/src/components/SecondaryNavigation/SecondaryNavigation.js

Summary

Maintainability
A
1 hr
Test Coverage
// @flow
 
import React from 'react';
 
 
Function `SecondaryNavigation` has 35 lines of code (exceeds 25 allowed). Consider refactoring.
export default function SecondaryNavigation() {
return (
<ul className="nav navbar-nav navbar-right">
<li>
<a href="#stats" className="dropdown-toggle btn-magnify" data-toggle="dropdown">
<i className="ti-panel" />
<p>Stats</p>
</a>
</li>
<li className="dropdown">
<a href="#notifications" className="dropdown-toggle btn-rotate" data-toggle="dropdown">
<i className="ti-bell" />
<span className="notification">5</span>
<p className="hidden-md hidden-lg">
Notifications
<b className="caret" />
</p>
</a>
<ul className="dropdown-menu">
<li><a href="#not1">Notification 1</a></li>
<li><a href="#not2">Notification 2</a></li>
<li><a href="#not3">Notification 3</a></li>
<li><a href="#not4">Notification 4</a></li>
<li><a href="#another">Another notification</a></li>
</ul>
</li>
<li>
<a href="#settings" className="btn-rotate">
<i className="ti-settings" />
<p className="hidden-md hidden-lg">
Settings
</p>
</a>
</li>
</ul>
);
}