From 3d303333096352a76160f6378010b8da14f5c92b Mon Sep 17 00:00:00 2001 From: lonkaars Date: Sun, 25 Apr 2021 22:39:48 +0200 Subject: added github issues to the home page instead of fixing them --- pages/_app.tsx | 1 + pages/index.tsx | 17 +++++++++++------ 2 files changed, 12 insertions(+), 6 deletions(-) (limited to 'pages') diff --git a/pages/_app.tsx b/pages/_app.tsx index 45e00ab..7c2e39a 100644 --- a/pages/_app.tsx +++ b/pages/_app.tsx @@ -6,6 +6,7 @@ import { ToastContextWrapper } from '../components/toast'; import '../styles/disk.css'; import '../styles/footer.css'; import '../styles/global.css'; +import '../styles/issues.css'; import '../styles/navbar.css'; import '../styles/notifications.css'; import '../styles/recentGames.css'; diff --git a/pages/index.tsx b/pages/index.tsx index 87a7bc1..d6cc829 100644 --- a/pages/index.tsx +++ b/pages/index.tsx @@ -5,6 +5,7 @@ import { Footer } from '../components/footer'; import { SocketContext } from '../components/socketContext'; import { AccountAvatar } from '../components/account'; +import { IssueList } from '../components/issues'; import { NavBar } from '../components/navbar'; import { CenteredPage, PageTitle } from '../components/page'; import RecentGames from '../components/recentGames'; @@ -125,17 +126,21 @@ export default function HomePage(props: { : } - <> - {loggedIn - && - - } - + {loggedIn + && + + } +
{props.posts.map(post => { return ; })}
+ + +

Github Issues

+ +