Skip to content

nassimtaghipour/Blog-Reactjs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Blog web app developed by React.js and Bootstrap4

Layout

⦁ The page is responsive and adapt to the screen size of the user‘s device.The page should not be larger than 1280px in width and be horizontally centered.

⦁ The page has four sections: a header (yellow), the main content area (green), an area providing context (red) and a footer (purple).

⦁ On small devices,the areas should be vertically stacked

⦁ On larger screens, the context area should be next to the main area on the right side of the page.

Screen width is larger than or equal to 640px Screen width is smaller than 640px

Navigation

⦁ The header section should contain a horizontal navigation with 6 top-level items

⦁ Each top-level navigation item should have a list of sub-items which are displayed when hovering the top-level item (see image below).

⦁ On small screens, there won‘t be enough space to fit 6 items next to each other so used sandwitch menu as an solution.

Posts

⦁ The website consists of two types of pages: an overview page and detail pages for fake blog posts

⦁ The data should come from http://jsonplaceholder.typicode.com/

Overview

The overview page should list the titles of all posts. Each post title should link to a detail page for that post. The data can be found here: http://jsonplaceholder.typicode.com/posts/ Detail page

The detail page should display the post title and post content in the main area. The data for a single post can be found here: http://jsonplaceholder.typicode.com/posts/

The context area should display the name and website of the post author. The data for that can be fetched based on the userId of the post from here: http://jsonplaceholder.typicode.com/users/

Project setup:

npm install

npm start