From 307e8349f35d44a9868cc8c5eb46dca63ce42c54 Mon Sep 17 00:00:00 2001 From: Tanner Collin Date: Thu, 30 Jun 2022 00:00:30 +0000 Subject: [PATCH] Change header based on page --- webclient/src/App.js | 16 +++++++++++++++- webclient/src/Article.js | 2 +- webclient/src/Comments.js | 1 + webclient/src/Feed.js | 2 +- 4 files changed, 18 insertions(+), 3 deletions(-) diff --git a/webclient/src/App.js b/webclient/src/App.js index d5ebac2..bd28115 100644 --- a/webclient/src/App.js +++ b/webclient/src/App.js @@ -56,7 +56,21 @@ class App extends React.Component {

- QotNews - Feed + + + QotNews - Feed + + + QotNews - Search + + + QotNews - Article + + + QotNews - Comments + + + Theme: this.light()}>Light - this.dark()}>Dark
Hacker News, Reddit, Lobsters, and Tildes articles rendered in reader mode. diff --git a/webclient/src/Article.js b/webclient/src/Article.js index 09959c1..7167bf3 100644 --- a/webclient/src/Article.js +++ b/webclient/src/Article.js @@ -68,7 +68,7 @@ class Article extends React.Component {

{story.title} - QotNews - +

{story.title}

diff --git a/webclient/src/Comments.js b/webclient/src/Comments.js index 633b6f5..1c1292f 100644 --- a/webclient/src/Comments.js +++ b/webclient/src/Comments.js @@ -116,6 +116,7 @@ class Article extends React.Component {
{story.title} - QotNews Comments +

{story.title}

diff --git a/webclient/src/Feed.js b/webclient/src/Feed.js index 7ccacd2..14cbe48 100644 --- a/webclient/src/Feed.js +++ b/webclient/src/Feed.js @@ -53,7 +53,7 @@ class Feed extends React.Component {
Feed - QotNews - + {error &&

Connection error?

} {stories ?