From cd0594f25be9c3c361ac93d4da9af1cc7b3de661 Mon Sep 17 00:00:00 2001 From: VividTruthKeeper Date: Mon, 20 Feb 2023 16:29:59 +0500 Subject: [PATCH] search result --- src/App.tsx | 2 + src/assets/icons/loop-black.svg | 3 ++ src/components/global/CustomNewsScroll.tsx | 52 ++++++++++++++++++ src/components/header/Search.tsx | 11 ++-- src/pages/SearchResult.tsx | 63 ++++++++++++++++++++++ src/reducers/dataReducer.ts | 14 +++++ src/store/functionality.ts | 7 ++- src/styles/_category.scss | 1 + src/styles/_search-result.scss | 16 ++++++ src/styles/style.scss | 1 + 10 files changed, 166 insertions(+), 4 deletions(-) create mode 100644 src/assets/icons/loop-black.svg create mode 100644 src/components/global/CustomNewsScroll.tsx create mode 100644 src/pages/SearchResult.tsx create mode 100644 src/styles/_search-result.scss diff --git a/src/App.tsx b/src/App.tsx index 7d421bc..c3b5dec 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -15,6 +15,7 @@ import "./styles/style.scss"; import Main from "./pages/Main"; import NewsArticle from "./pages/NewsArticle"; import Category from "./pages/Category"; +import SearchResult from "./pages/SearchResult"; // Components import Header from "./components/header/Header"; @@ -31,6 +32,7 @@ const App = () => { } /> } /> } /> + } />