From 969e28f26ec11d5069b0600cf864869cca007961 Mon Sep 17 00:00:00 2001 From: MOHAMED RIAD Date: Fri, 10 Dec 2021 22:45:43 +0100 Subject: [PATCH 1/2] MRI: Adding some styling for NotFound component --- src/AppRouter.js | 39 +++-- src/pages/NotFound.js | 16 +- src/pages/Search.js | 175 ++++++++++++---------- src/static/sass/components/_notfound.scss | 9 ++ src/static/sass/style.scss | 23 +-- 5 files changed, 144 insertions(+), 118 deletions(-) create mode 100644 src/static/sass/components/_notfound.scss diff --git a/src/AppRouter.js b/src/AppRouter.js index 48aa069..809a3a0 100644 --- a/src/AppRouter.js +++ b/src/AppRouter.js @@ -1,23 +1,22 @@ -import React from 'react' -import { BrowserRouter, Route, Switch, Redirect } from 'react-router-dom' - -import Home from './pages/Home' -import NotFound from './pages/NotFound' -import Search from './pages/Search' -import Navbar from './components/Navbar' -import Footer from './components/Footer' +import React from 'react'; +import { BrowserRouter, Redirect, Route, Switch } from 'react-router-dom'; +import Footer from './components/Footer'; +import Navbar from './components/Navbar'; +import Home from './pages/Home'; +import NotFound from './pages/NotFound'; +import Search from './pages/Search'; const AppRouter = () => ( - - - - } /> - - - - -