nofurtherinformation / mn-explorer

https://mn-explorer.vercel.app
MIT License
0 stars 2 forks source link

Add image that appears in metatags #7

Closed nmarchio closed 1 year ago

nmarchio commented 1 year ago

I added a placeholder image to the /public directory however it doesn't seem be appearing in the social media banner.

Any ideas on best way to hook it up?

Found this site which is a good way to test: https://www.opengraph.xyz/ Apparently the optimal aspect ratio is 1200x630px

Also in case there is a way to cycle through different views of the map here are links to specific cities that give pretty cool views:

Lagos: https://www.millionneighborhoods.africa/#11.63/6.4673/3.3842 Dar es Salaam: https://www.millionneighborhoods.africa/#11.16/-6.8413/39.2718 Kinshasa: https://www.millionneighborhoods.africa/#11.77/-4.3178/15.2685 Nairobi: https://www.millionneighborhoods.africa/#12.33/-1.29349/36.82689 Dakar: https://www.millionneighborhoods.africa/#11.59/14.7386/-17.3777 Freetown: https://www.millionneighborhoods.africa/#11.81/8.43171/-13.23846 Accra: https://www.millionneighborhoods.africa/#11.24/5.57/-0.2304 Luanda: https://www.millionneighborhoods.africa/#11.54/-8.8478/13.2923 Windhoek: https://www.millionneighborhoods.africa/#11.83/-22.55722/17.06952 Cape Town: https://www.millionneighborhoods.africa/#11.1/-33.9857/18.5339 Maputo: https://www.millionneighborhoods.africa/#11/-25.8812/32.5637 Harare: https://www.millionneighborhoods.africa/#11.66/-17.8571/31.0533 Lusaka: https://www.millionneighborhoods.africa/#11.57/-15.4122/28.2952 Blantyre: https://www.millionneighborhoods.africa/#11.73/-15.7973/35.018 Kampala: https://www.millionneighborhoods.africa/#11.12/0.2641/32.5417 Addis Ababa: https://www.millionneighborhoods.africa/#11.81/8.99783/38.76702 Mogadishu: https://www.millionneighborhoods.africa/#13.04/2.0422/45.34075 Abidjan: https://www.millionneighborhoods.africa/#10.86/5.3374/-3.9717 Ouagadougou: https://www.millionneighborhoods.africa/#11.79/12.3592/-1.53824 Antananarivo: https://www.millionneighborhoods.africa/#11.35/-18.9118/47.5239

nmarchio commented 1 year ago

https://www.millionneighborhoods.africa/card-image.png