mirror of
https://github.com/mgerb/classic-wow-forums
synced 2026-01-12 10:02:49 +00:00
trying to improve seo
This commit is contained in:
@@ -37,6 +37,8 @@ export class ForumNav extends React.Component<Props, State> {
|
||||
|
||||
setSelectedCategory(categoryList: CategoryModel[], categoryId: number) {
|
||||
const selectedCategory = find(categoryList, { id: categoryId });
|
||||
// set page title here
|
||||
document.title = selectedCategory!.title;
|
||||
this.setState({ selectedCategory });
|
||||
}
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@ export class Header extends React.Component<Props, State> {
|
||||
<div>
|
||||
<div className="wowlogo2">
|
||||
<Link to="/">
|
||||
<img src={wowlogo2}/>
|
||||
<img src={wowlogo2} alt="Classic WoW Forums"/>
|
||||
</Link>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user