1
0
mirror of https://github.com/mgerb/classic-wow-forums synced 2026-01-10 09:02:50 +00:00

client - thread page work

This commit is contained in:
2018-01-10 23:45:02 -06:00
parent 8eb31b984e
commit 991e1bfe5a
45 changed files with 367 additions and 120 deletions

View File

@@ -2,7 +2,7 @@ import React from 'react';
import { Link, RouteComponentProps } from 'react-router-dom';
import { get } from 'lodash';
import { ThreadService } from '../../services';
import { LoginButton } from '../../components';
import { ForumNav, LoginButton, ScrollToTop } from '../../components';
import { ThreadModel } from '../../model';
import './forum.scss';
@@ -32,12 +32,7 @@ export class Forum extends React.Component<Props, State> {
renderHeader() {
return (
<div className="forum-header">
<div>
<img src={require('../../assets/wow-base-general.gif')}/>
<div className="forum-nav">
<small>Forum Nav:</small><select style={{ minWidth: '194px' }}></select>
</div>
</div>
<ForumNav />
<div style={{ height: '100%' }}>
<LoginButton/>
</div>
@@ -115,10 +110,10 @@ export class Forum extends React.Component<Props, State> {
render() {
return (
<div>
<ScrollToTop>
{this.renderHeader()}
{this.renderBody()}
</div>
</ScrollToTop>
);
}