dewaldreynecke/betterme

Clickable location text on entry card

Closed this issue · 0 comments

Make the location text on the entry card clickable.

  • it should take you to the same page as it would when you click a pin on the map
  • make sure styling does not change

Challenge / Keep in mind
The map pin click uses a route the includes the latitude and longitude so that information (which also exists in the entry model in addition to the address) will have to be brought into the view to be able to create an appropriate link that will make use of the existing route.

Example of route: http://localhost:3000/location?lat=-33.8192894&lng=18.6596441

entry card