Switch page title for different pages

This commit is contained in:
Tom Raithel
2017-03-21 21:30:03 +01:00
parent 3fedd01d42
commit 169bfc74ec
9 changed files with 42 additions and 9 deletions

View File

@@ -4,6 +4,7 @@ import Badge from './Badge';
import ItemList from './ItemList';
import Link from './Link';
import Fadeable from './Fadeable';
import SetTitle from './SetTitle';
import { createAnimation, createAnimationRunner } from '../animation';
import { translate } from '../../common/config';
@@ -150,6 +151,7 @@ class PageItem extends React.Component {
const itemsInRing = this.getItemsInRing(this.props);
return (
<div>
<SetTitle {...this.props} title={item.title} />
<div className="item-page">
<div className="item-page__nav">
<div className="item-page__nav__inner">