earmuff-jam / mashed

Mashed - A community care application for local communities.
1 stars 0 forks source link

Add location support #136

Closed mohit2530 closed 4 months ago

mohit2530 commented 4 months ago

Adds location support for home page. Users who do not choose a default location will be provided with standard 0,0 location and users are able to retrieve their approximate location based on the browser navigator.

closes https://github.com/earmuff-jam/mashed/issues/129

mohit2530 commented 4 months ago

Redirecting should not have to repopulate the location, can we just use local storage to manage this ?

earmuff-jam commented 4 months ago

I think I agree here, using local storage to store the client location, we get the benefit of having the location at all times and the user does not have to click the button all the time.