python-sprints / python-sprints.github.io

Python Sprints website
https://python-sprints.github.io/
12 stars 55 forks source link

Display chapters' cards for detected user's location at the top of the list #116

Open Tomasz-Kluczkowski opened 6 years ago

Tomasz-Kluczkowski commented 6 years ago

Once the chapters cards are automatically displayed out of chapters data I would like to show the ones in users area first at the top of the list. We should be able to determine user's location by their IP address using one of the free of charge APIs (I do not want to use geolocation as it is too invasive). We should just focus on displaying chapters from user's country first (we have country code in the chapters yml), then we can go more sophisticated and do an actual radius search if possible.