Development
Goals
Super cool welcome page
- nice jumbotron with nice search zone
- 2 examples of composts
Super cool results show page
- nice show of composts results with cards containing tags, picture, district, owner_name
Changes
-
app/assets/stylesheets/main.scss
: added edited classes -
app/controllers/results_controller.rb
: added vars to new method -
app/views/composts/show.html.erb
: front edited -
app/views/layouts/application.html.erb
: fontawesome link added in head, nav class removed -
app/views/results/_form.html.erb
: front edited -
app/views/results/new.html.erb
: front edited, jumbotron added and 2 example cards put -
app/views/results/show.html.erb
: front edited, results displayed in cards -
app/views/users/show.html.erb
: front edited, messages pane disabled for non owner page and title changed -
db/schema.rb
: changed automatically
Tests
-
jumbotron is displayed in welcome page -
search zone in welcome page is beautiful -
dropdownmenu in welcome page is beautiful and functionnal -
carrot fontawesome is displayed in title under jumbotron -
There is 2 random composts cards under jumbotron -
cards in show results are beautiful too, and buttons are functionnal -
search zone in welcome page is functionnal and beautiful -
messages pane in profil user is present only if current user own profil page -
title in profile page change if current user own the page -
title in profile page change if current user does not own page and profile page user has a username
Edited by Ghost User