From eaba5936e4654fd370af11dda79e3af213b4e04c Mon Sep 17 00:00:00 2001 From: Renard Date: Mon, 16 Sep 2019 13:55:25 -0300 Subject: Titulos --- src/Board.js | 1 + src/Home.js | 1 + src/Thread.js | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Board.js b/src/Board.js index 31174e2..1e1d8b5 100644 --- a/src/Board.js +++ b/src/Board.js @@ -76,6 +76,7 @@ class Board extends Component { const currentBoard = this.props.boardList.find(board => { return board.dir === this.props.dir; }); + document.title = currentBoard.name + " - B.a.I"; return ( diff --git a/src/Home.js b/src/Home.js index 665a7a5..4069f0d 100644 --- a/src/Home.js +++ b/src/Home.js @@ -60,6 +60,7 @@ class Home extends Component { } const { newThreadsList, lastAgeThreads, latestNews } = this.state; + document.title = "B.a.I Home"; return ( diff --git a/src/Thread.js b/src/Thread.js index 3a964b5..e4694b7 100644 --- a/src/Thread.js +++ b/src/Thread.js @@ -127,11 +127,11 @@ class Thread extends Component { locked, id } = this.state.thread; - document.title = subject; const currentBoard = this.props.boardList.find(board => { return board.dir === this.props.dir; }); + document.title = subject + " - " + currentBoard.name + "@B.a.I"; return ( -- cgit v1.2.1-18-gbd029