├── public ├── favicon.ico ├── logo192.png ├── logo512.png ├── robots.txt ├── manifest.json └── index.html ├── src ├── assets │ └── User2.png ├── index.css ├── setupTests.js ├── App.test.js ├── App.js ├── reportWebVitals.js ├── index.js ├── Components │ ├── TextNews.js │ ├── LatestArticle.js │ ├── TheLatest.jsx │ ├── TopPost.js │ ├── FromSerian.js │ ├── topPost.css │ ├── footer.css │ ├── theLatest.css │ ├── Featured.js │ ├── latestArticle.css │ ├── featured.css │ ├── Header.js │ ├── Footer.js │ └── header.css ├── App.css ├── Routes │ └── RouterComp.js ├── logo.svg ├── Pages │ ├── blogPage.css │ ├── Home.js │ ├── Hollywood.js │ ├── Bollywood.js │ ├── Fitness.js │ ├── Food.js │ ├── Technology.js │ └── BlogPage.js └── Context │ └── ContextData.jsx ├── .gitignore ├── package.json └── README.md /public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitinrajputind/React-Blog/HEAD/public/favicon.ico -------------------------------------------------------------------------------- /public/logo192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitinrajputind/React-Blog/HEAD/public/logo192.png -------------------------------------------------------------------------------- /public/logo512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitinrajputind/React-Blog/HEAD/public/logo512.png -------------------------------------------------------------------------------- /public/robots.txt: -------------------------------------------------------------------------------- 1 | # https://www.robotstxt.org/robotstxt.html 2 | User-agent: * 3 | Disallow: 4 | -------------------------------------------------------------------------------- /src/assets/User2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nitinrajputind/React-Blog/HEAD/src/assets/User2.png -------------------------------------------------------------------------------- /src/index.css: -------------------------------------------------------------------------------- 1 | 2 | *{ 3 | margin: 0; 4 | padding: 0; 5 | box-sizing: border-box; 6 | text-decoration: none; 7 | list-style: none; 8 | font-family: 'Poppins', sans-serif; 9 | } 10 | 11 | body{ 12 | width: 100%; 13 | min-height: 100% !important; 14 | } -------------------------------------------------------------------------------- /src/setupTests.js: -------------------------------------------------------------------------------- 1 | // jest-dom adds custom jest matchers for asserting on DOM nodes. 2 | // allows you to do things like: 3 | // expect(element).toHaveTextContent(/react/i) 4 | // learn more: https://github.com/testing-library/jest-dom 5 | import '@testing-library/jest-dom'; 6 | -------------------------------------------------------------------------------- /src/App.test.js: -------------------------------------------------------------------------------- 1 | import { render, screen } from '@testing-library/react'; 2 | import App from './App'; 3 | 4 | test('renders learn react link', () => { 5 | render(); 6 | const linkElement = screen.getByText(/learn react/i); 7 | expect(linkElement).toBeInTheDocument(); 8 | }); 9 | -------------------------------------------------------------------------------- /src/App.js: -------------------------------------------------------------------------------- 1 | import './App.css'; 2 | import Footer from './Components/Footer'; 3 | import Header from './Components/Header'; 4 | import RouterComp from './Routes/RouterComp'; 5 | 6 | 7 | function App() { 8 | return ( 9 | <> 10 |
11 | 12 |