project-icp / bee-pollinator-app

The web application front end for the ICP Pollinator Decision Support Tool 🐝
Apache License 2.0
6 stars 1 forks source link

Add landing pages for different survey tab states #394

Closed fungjj92 closed 5 years ago

fungjj92 commented 5 years ago

Overview

Scaffold sections and states for the survey page. There are 3 states: not logged in; logged in, 0 apiaries; logged in, 1+ apiaries.

Connects #330

Demo

screen shot 2018-12-21 at 3 26 19 pm screen shot 2018-12-21 at 3 52 58 pm screen shot 2018-12-21 at 3 27 09 pm

Notes

There's a flash of the 2nd scenario page if you log in with a user that has apiaries on the survey page. Not significant enough to address at the moment.

Testing Instructions

Hit http://localhost:8000/survey/?beekeepers at various stages of logged in/out and 0-1 apiaries.

fungjj92 commented 5 years ago

Great, thanks! To make my life easier with #337, which I'm doing next, I set up the SurveyView component here. Merging.