Roughly layed out the Map page for a trecipe. The map itself is actually just an image right now, this is to be implemented in another issue.
Major changes:
DestinationCard for Map page is implemented to follow closely the Trecipe Card styling. Each DestinationCard comes with two edit options: Remove and Complete. For destinations that are already completed, the Complete edit button should be disabled.
Took out the on hover overlay from StaticMap and lifted it up to Trecipe page so to make linking with Map page easier
Some changes to default card menu position since the previous right-to-card position had some issue with elements that are set as position: sticky (Thanks @knox153 for helping me fix this!)
Things not addressed in this PR for the interest of time:
Page redirection after Trecipe actions (ie. Deleting the trecipe from map page should redirect user back to MyTrecipes page, and duplicating a Trecipe from map page should direct user to the duplicated trecipe's map page)
Issue has been created to address this. #70
Roughly layed out the Map page for a trecipe. The map itself is actually just an image right now, this is to be implemented in another issue.
Major changes:
DestinationCard
for Map page is implemented to follow closely the Trecipe Card styling. Each DestinationCard comes with two edit options: Remove and Complete. For destinations that are already completed, the Complete edit button should be disabled.StaticMap
and lifted it up toTrecipe
page so to make linking with Map page easierThings not addressed in this PR for the interest of time:
Closes #64