2019-12-23 22:11:22 +00:00
|
|
|
'use strict';
|
|
|
|
|
|
|
|
const { Component, Fragment } = require('inferno');
|
|
|
|
const Index = require('./index');
|
|
|
|
|
|
|
|
module.exports = class extends Component {
|
|
|
|
render() {
|
|
|
|
const { page } = this.props;
|
|
|
|
// TODO
|
|
|
|
const helper = {};
|
|
|
|
const { url_for, _p } = helper;
|
|
|
|
|
|
|
|
return <Fragment>
|
2019-12-23 22:35:21 +00:00
|
|
|
<div className="card">
|
|
|
|
<div className="card-content">
|
|
|
|
<nav className="breadcrumb" aria-label="breadcrumbs">
|
2019-12-23 22:11:22 +00:00
|
|
|
<ul>
|
|
|
|
<li><a href={url_for('/tags')}>{_p('common.tag', Infinity)}</a></li>
|
2019-12-23 22:35:21 +00:00
|
|
|
<li className="is-active"><a href="#" aria-current="page">{page.tag}</a></li>
|
2019-12-23 22:11:22 +00:00
|
|
|
</ul>
|
|
|
|
</nav>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<Index {...this.props} />
|
|
|
|
</Fragment>;
|
|
|
|
}
|
|
|
|
}
|