Skip to content

Commit

Permalink
small cleanup. update top nav dropdown url for blogs
Browse files Browse the repository at this point in the history
  • Loading branch information
4eyes52 committed Sep 2, 2024
1 parent dd24838 commit 6cfc706
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions apps/nextjs/src/app/(app)/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@ import { reader } from "@/utils/keystatic";
export default async function Home() {
const games = await reader.collections.games.all();
const carouselItems = games
// not sure why this filter is needed. commenting it out for now.
// .filter((a) => a.entry.status === "beta" || a.entry.status === "mainnet")
.filter((a) => a.entry.status === "beta" || a.entry.status === "mainnet")
.map((game) => ({
alt: game.entry.title,
src: `/games/${game.slug}/cover.webp`,
Expand Down
2 changes: 1 addition & 1 deletion apps/nextjs/src/app/_components/TopNav.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export const TopNav = () => {
},
{
title: "Blog",
href: "/blog",
href: "/blogs",
icon: <Bookmark className="w-5" />,
},
{
Expand Down

0 comments on commit 6cfc706

Please sign in to comment.