From 9010510aa9f09958083c50898be398e923a39ad9 Mon Sep 17 00:00:00 2001 From: plebbitor Date: Sun, 23 Apr 2023 11:57:13 +0200 Subject: [PATCH] added versioning to all views --- src/components/views/Board.jsx | 9 ++++++++- src/components/views/Catalog.jsx | 8 ++++++++ src/components/views/Home.jsx | 2 +- src/components/views/NotFound.jsx | 7 ++----- src/components/views/Pending.jsx | 8 ++++++++ src/components/views/Thread.jsx | 8 ++++++++ 6 files changed, 35 insertions(+), 7 deletions(-) diff --git a/src/components/views/Board.jsx b/src/components/views/Board.jsx index 2094354e..cc63df8c 100644 --- a/src/components/views/Board.jsx +++ b/src/components/views/Board.jsx @@ -21,7 +21,6 @@ import handleStyleChange from '../../utils/handleStyleChange'; import renderComments from '../../utils/renderComments'; import useClickForm from '../../hooks/useClickForm'; import useError from '../../hooks/useError'; -import useSuccess from '../../hooks/useSuccess'; const Board = () => { @@ -921,6 +920,14 @@ const Board = () => { )} +
+ plebchan v0.1.0. GPL-2.0 +
); diff --git a/src/components/views/Catalog.jsx b/src/components/views/Catalog.jsx index a6125b25..030997dd 100644 --- a/src/components/views/Catalog.jsx +++ b/src/components/views/Catalog.jsx @@ -410,6 +410,14 @@ const Catalog = () => { )} +
+ plebchan v0.1.0. GPL-2.0 +
); } diff --git a/src/components/views/Home.jsx b/src/components/views/Home.jsx index ca662f1b..baee4859 100644 --- a/src/components/views/Home.jsx +++ b/src/components/views/Home.jsx @@ -134,7 +134,7 @@ const Home = () => { fontSize: "11px", marginBottom: "2em", }}> - Plebchan v.0.1.0 is free and open-source software distributed under GPL-2.0 license. + plebchan v0.1.0. GPL-2.0 diff --git a/src/components/views/NotFound.jsx b/src/components/views/NotFound.jsx index fc131af6..9521de68 100644 --- a/src/components/views/NotFound.jsx +++ b/src/components/views/NotFound.jsx @@ -44,14 +44,11 @@ const NotFound = ({ setBodyStyle }) => {
- v.0.1.0 -
- Plebchan is free and open-source software distributed under GPL-2.0 license. + plebchan v0.1.0. GPL-2.0
diff --git a/src/components/views/Pending.jsx b/src/components/views/Pending.jsx index e54bbfe4..19023a94 100644 --- a/src/components/views/Pending.jsx +++ b/src/components/views/Pending.jsx @@ -375,6 +375,14 @@ const Pending = () => { )} +
+ plebchan v0.1.0. GPL-2.0 +
); diff --git a/src/components/views/Thread.jsx b/src/components/views/Thread.jsx index e4cdc1ed..3087cfcd 100644 --- a/src/components/views/Thread.jsx +++ b/src/components/views/Thread.jsx @@ -935,6 +935,14 @@ const Thread = () => { )} +
+ plebchan v0.1.0. GPL-2.0 +
);