From 3c452f9ad1a79c09b17fc26fcc9dc6685616f2f7 Mon Sep 17 00:00:00 2001 From: VividTruthKeeper Date: Thu, 23 Feb 2023 09:30:32 +0500 Subject: [PATCH] all posts --- src/App.tsx | 3 +- src/components/global/NewsScroll.tsx | 2 +- src/pages/AllPosts.tsx | 42 ++++++++++++++++++++++++++++ 3 files changed, 45 insertions(+), 2 deletions(-) create mode 100644 src/pages/AllPosts.tsx diff --git a/src/App.tsx b/src/App.tsx index 4ec1c65..c10d915 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -17,12 +17,12 @@ import Main from "./pages/Main"; import NewsArticle from "./pages/NewsArticle"; import Category from "./pages/Category"; import SearchResult from "./pages/SearchResult"; +import AllPosts from "./pages/AllPosts"; // Components import Header from "./components/header/Header"; import Footer from "./components/footer/Footer"; import { Api } from "./api/Api"; -// import { useEffect } from "react"; const App = () => { const location = useLocation(); @@ -42,6 +42,7 @@ const App = () => { } /> } /> } /> + } />