Permalink
Browse files

Remove all warnings

  • Loading branch information...
marcomontalbano committed Dec 20, 2018
1 parent 64c53ed commit fcce82bf20b25e5f5deab6275710ec366c0ca62f
@@ -45,7 +45,7 @@ export default class ItemComponent extends Component {

renderCard() {
return (
<a className="uk-card uk-card-default uk-card-hover" onClick={this.onClickModal}>
<div className="uk-card uk-card-default uk-card-hover" onClick={this.onClickModal}>
<div className="uk-card-body">
<div className="uk-card-badge uk-label" style={this.labelStyle}>{this.props.item.status}</div>
<h3 className="uk-card-title">{this.props.item.name}</h3>
@@ -54,17 +54,17 @@ export default class ItemComponent extends Component {
<div className="uk-card-footer">
{this.tags()}
</div>
</a>
</div>
);
}

renderModal() {
return (
<div className={`uk-modal ${this.state.modalOpen ? 'uk-open' : ''}`} onClick={this.onClickModal}>
<div className="uk-modal-dialog">
<a className="uk-close uk-modal-close-default" onClick={this.onClickModal}>
<button className="uk-close uk-modal-close-default" onClick={this.onClickModal}>
<i className="fa fa-close" aria-hidden="true"></i>
</a>
</button>
<div className="uk-modal-header">
<h3 className="uk-modal-title">{this.props.item.name}</h3>
</div>
@@ -8,7 +8,7 @@ export default class NavbarComponent extends Component {
return (
<nav className="uk-navbar-container uk-navbar-fixed uk-navbar-brand">
<div className="uk-container">
<a href="">
<a href="/">
<img alt="Technology Radar logo" src="images/logo.png" />
<h1>Technology Radar</h1>
</a>
@@ -74,7 +74,7 @@ export default class SearchComponent extends Component {
<div>

<form onSubmit={this.onSubmitSearchHandler}>
<a className="uk-form-icon uk-form-icon-flip" onClick={this.onClickOffcanvasHandler}><i className="fa fa-filter" /></a>
<button className="uk-form-icon uk-form-icon-flip" onClick={this.onClickOffcanvasHandler}><i className="fa fa-filter" /></button>
<input type="search" placeholder="Search" className="uk-input" onChange={(event) => { SearchActions.changeQuery(event.target.value) }} />
</form>

@@ -28,8 +28,8 @@ export default class ViewComponent extends Component {
render() {
return (
<div className="view-component">
<a className={this.props.viewStore.view === ViewConstants.VIEW_GRID ? 'active' : ''} onClick={this.onClickViewGrid}><i className="fa fa-th-large" /></a>
<a className={this.props.viewStore.view === ViewConstants.VIEW_LIST ? 'active' : ''} onClick={this.onClickViewList}><i className="fa fa-bars" /></a>
<button className={this.props.viewStore.view === ViewConstants.VIEW_GRID ? 'active' : ''} onClick={this.onClickViewGrid}><i className="fa fa-th-large" /></button>
<button className={this.props.viewStore.view === ViewConstants.VIEW_LIST ? 'active' : ''} onClick={this.onClickViewList}><i className="fa fa-bars" /></button>
</div>
);
}
@@ -10,7 +10,7 @@
}
}

a.uk-modal-close-default {
.uk-modal-close-default {
width: 32px;
height: 32px;
box-sizing: border-box;
@@ -8,9 +8,10 @@
.navbar-fixed() {};

.uk-navbar-brand {
a {
a, .uk-form-icon {
display: inline-block;
margin: 0 10px;
cursor: pointer;
}
img {
width: 50px;
@@ -5,7 +5,7 @@
background-color: rgba(51, 51, 51, 0.25);
border-radius: 3px;

> a {
> button {
float: left;
border-radius: 2px;
background-color: transparent;
@@ -16,7 +16,7 @@
height: 35px;
line-height: 35px;
margin: 2px 2px 2px 1px;

&:first-child {
margin: 2px 1px 2px 2px;
}
@@ -6,6 +6,14 @@ body {
}
}

button {
padding: 0;
border: none;
font-size: @global-font-size;
outline: none;
background: transparent;
}

footer {
text-align: center;
padding-top: 15px;

0 comments on commit fcce82b

Please sign in to comment.