From 4f42b5a2b35cf61d6042562195755699f9de177f Mon Sep 17 00:00:00 2001 From: Renard Date: Sun, 22 Sep 2019 00:28:21 -0300 Subject: Nightmode --- src/Thread.js | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) (limited to 'src/Thread.js') diff --git a/src/Thread.js b/src/Thread.js index b390f54..fe9efff 100644 --- a/src/Thread.js +++ b/src/Thread.js @@ -6,7 +6,8 @@ import { Message, Comment, Breadcrumb, - Divider + Divider, + Container } from "semantic-ui-react"; import Moment from "react-moment"; import "moment/locale/es"; @@ -100,6 +101,7 @@ class Thread extends Component { render() { const { isLoading, error } = this.state; + const { nightMode } = this.props; if (isLoading) { return ( @@ -135,8 +137,8 @@ class Thread extends Component { document.title = subject + " - " + currentBoard.name + "@B.a.I"; return ( - - + + Home @@ -147,7 +149,7 @@ class Thread extends Component { {subject} -
+
{subject} {locked ? : null} @@ -162,7 +164,7 @@ class Thread extends Component {
- + {posts.map((post, index) => ( - + API Link - + ); } } -- cgit v1.2.1-18-gbd029