diff --git a/frontend2/src/App.tsx b/frontend2/src/App.tsx index d12fbc7d2..ca9abc446 100644 --- a/frontend2/src/App.tsx +++ b/frontend2/src/App.tsx @@ -68,7 +68,6 @@ const router = createBrowserRouter([ return redirect(`/${params.episodeId as string}/home`); }, }, - { path: "/:episodeId/quickstart", element: }, { path: "/:episodeId/*", element: }, { path: "/:episodeId/rankings", element: }, ], diff --git a/frontend2/src/components/BaseCard.tsx b/frontend2/src/components/BaseCard.tsx deleted file mode 100644 index 9c2e38063..000000000 --- a/frontend2/src/components/BaseCard.tsx +++ /dev/null @@ -1,28 +0,0 @@ -import React from 'react'; - -interface BaseCardProps { - GameImage: string; - GameName: string; - GameDescr: string; - GameYear: number; -} - -const YearCard: React.FC = ({ GameImage, GameName, GameDescr, GameYear }) => { - const redirect = (): void => { - console.log(GameYear.toString()); // Redirect to year page - }; - - return ( -
-
- {GameName} -
-
-
{GameName}
-

{GameDescr}

-
-
- ); -}; - -export default YearCard; diff --git a/frontend2/src/components/DocumentationPage.tsx b/frontend2/src/components/DocumentationPage.tsx index 573d7fa2a..27dc3503b 100644 --- a/frontend2/src/components/DocumentationPage.tsx +++ b/frontend2/src/components/DocumentationPage.tsx @@ -4,7 +4,6 @@ import { Link } from "react-router-dom"; const isInternalLink = (to: string): boolean => { const url = new URL(to, window.location.origin); - console.log(url, window.location.hostname); return url.hostname === window.location.hostname; }; diff --git a/frontend2/src/components/sidebar/index.tsx b/frontend2/src/components/sidebar/index.tsx index 0f035f9d3..1740e697b 100644 --- a/frontend2/src/components/sidebar/index.tsx +++ b/frontend2/src/components/sidebar/index.tsx @@ -92,7 +92,7 @@ const Sidebar: React.FC = ({ collapsed }) => { const { episodeId } = useContext(EpisodeContext); return collapsed ? null : ( -