alpalma95 / dont-waste-food

0 stars 1 forks source link

created dashboard and landing page placeholder #32

Closed alpalma95 closed 2 years ago

alpalma95 commented 2 years ago

Also moved the search to a separate view, accesible through the navbar

alpalma95 commented 2 years ago

The idea is that the home route will be the Landing page if the user is not logged in. If the user is logged in, the home route will be the dashboard.

Additionally, if the user is not logged in, the search button should not appear (as the user will be redirected from the landing page). For development purposes, I just left it but in red so we remember that we have to return an empty fragment.