Routing Component Hierarchy - acabrera100/personal_project GitHub Wiki
Components
Home
- Navbar
- Login Form
- Sign Up Form
Dashboard (Users own page)
- Navbar
- postText *postImage
- Followers
- displaySuggestedPost
Post
- postTextDisplay
- postText
- postImage (based on url)
- postImageDisplay (css on how to display the image)
SearchBar
- Navbar
- displayTaggedPosts (once you choose a tag it will render posts with that tag)
- RenderPostByTextFilterSearch (find posts made by other users based on they keyword(s) you enter in the search bar, different from displayTaggedPosts b/c searches post body)
- SearchBarSuggestions (under search bar past things you have searched for recommendations to click) (Not an MVP) IF search bar is blank onSubmit then it will displayNewPosts
- displayNewPosts(choose random posts from users (limit 10) to render on the page)
Routes
Path | Component |
---|---|
‘/’ | Homepage |
‘/following’ | Following |
‘/dashboard ’ | Dashboard for the user |
‘/tagged’ | Hash Tagged posts route? |
'/search' | Seek out new blogs, |