From 49aa39d4218a7d1ae6e08666168a6c47d2eda36b Mon Sep 17 00:00:00 2001 From: wodeni Date: Wed, 3 Jan 2024 12:39:27 -0500 Subject: [PATCH] chore: footer and more history --- src/App.tsx | 25 +++++++++-- src/News.tsx | 118 +++++++++++++++++++++++++++++++++++++++++++++------ 2 files changed, 127 insertions(+), 16 deletions(-) diff --git a/src/App.tsx b/src/App.tsx index 92aa572..8fdfe82 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -47,10 +47,7 @@ const NewsFeed = () => { {isScrolled && (
)} -
+
{news // .filter( // ({ time }) => time.getUTCFullYear() >= today.getUTCFullYear() - 1 @@ -317,6 +314,25 @@ const Section = ({
); }; +const Footer = () => ( +
+ + Β© {new Date().getUTCFullYear()} Wode "Nimo" Ni. + {/* Last updated on{" "} + {new Date(document.lastModified).toLocaleString("default", { + month: "long", + day: "numeric", + year: "numeric", + })} + . */} + +
+ + + +
+
+); const App: React.FC = () => { const [darkMode, setDarkMode] = useState( @@ -413,6 +429,7 @@ const App: React.FC = () => {
+