diff --git a/src/app/[game]/page.tsx b/src/app/[game]/page.tsx index e590a843..8167d151 100644 --- a/src/app/[game]/page.tsx +++ b/src/app/[game]/page.tsx @@ -85,7 +85,6 @@ export default async function GamePage({ params }: Readonly) { url={`https://cdn.wanderer.moe/${response.game}/cover.png`} alt={response.game} title={FormatGameName(response.game)} - description={`Last updated ${timeAgo(response.lastUploaded)}`} /> {advisoryGames.includes(response.game) && (
diff --git a/src/components/desc-image.tsx b/src/components/desc-image.tsx index 0e4dc7de..88c7d2e5 100644 --- a/src/components/desc-image.tsx +++ b/src/components/desc-image.tsx @@ -23,7 +23,9 @@ export function DescriptionImage({

{title}

-

{description}

+ {description ? ( +

{description}

+ ) : null}
diff --git a/src/components/games/games-categories.tsx b/src/components/games/games-categories.tsx index 3bbdc192..eadfb950 100644 --- a/src/components/games/games-categories.tsx +++ b/src/components/games/games-categories.tsx @@ -36,14 +36,14 @@ function CategoryEntry({ {FormatCategoryName(category.name)} -
+ {/*

- Updated {timeAgo(category.lastUploaded)} + {category.fileCount} files

-

{category.fileCount} files

-
+

{category.fileCount} files

+
*/} ); diff --git a/src/components/games/games-grid.tsx b/src/components/games/games-grid.tsx index 3bea363e..0c1a1e60 100644 --- a/src/components/games/games-grid.tsx +++ b/src/components/games/games-grid.tsx @@ -24,12 +24,6 @@ export function GamesGrid() { React.useEffect(() => { getGames().then((data) => { - data.response.games.sort((a, b) => { - return ( - new Date(b.lastUploaded).getTime() - - new Date(a.lastUploaded).getTime() - ); - }); setGames(data.response.games); }); }, []); @@ -70,9 +64,6 @@ export function GameEntry({ game }: Readonly) {

{FormatGameName(game.name)}

-

- Updated {timeAgo(game.lastUploaded)} -

diff --git a/src/components/nav/nav-bar.tsx b/src/components/nav/nav-bar.tsx index 0404b86e..52d437d4 100644 --- a/src/components/nav/nav-bar.tsx +++ b/src/components/nav/nav-bar.tsx @@ -10,19 +10,10 @@ import { CommandSearch } from "./command"; export default function NavBar() { return (
- {/* -
- wanderer.moe needs financial support to keep running{" "} - -
- */} +
+ wanderer.moe will be undergoing heavy updates for the next + couple days - the site will stay up, bugs may occur!{" "} +