cncf / dot-org-hugo-theme

Hugo theme ideal for Organizations to use. Built initially for the TODO site redesign.
https://dot-org-hugo-theme-demo.netlify.app/
MIT License
43 stars 14 forks source link

People profile listing with map #58

Open cjyabraham opened 1 week ago

cjyabraham commented 1 week ago

Issue

Demo page

Note: the exposed Google Maps API key shows on the front-end of the site as well. It is locked down to only a select few referring urls.

netlify[bot] commented 1 week ago

Deploy Preview for dot-org-hugo-theme-demo ready!

Name Link
Latest commit e1f2b65f529515e46c935689c1dcd3c1833a1c49
Latest deploy log https://app.netlify.com/sites/dot-org-hugo-theme-demo/deploys/670fab2346cd4d0008f15f88
Deploy Preview https://deploy-preview-58--dot-org-hugo-theme-demo.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

netlify[bot] commented 1 week ago

Deploy Preview for dot-org-hugo-theme-demo-thetwopct ready!

Name Link
Latest commit e1f2b65f529515e46c935689c1dcd3c1833a1c49
Latest deploy log https://app.netlify.com/sites/dot-org-hugo-theme-demo-thetwopct/deploys/670fab23f4df890008a7ab62
Deploy Preview https://deploy-preview-58--dot-org-hugo-theme-demo-thetwopct.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

cjyabraham commented 1 week ago

@thetwopct I got the map working. I'll leave it for you to style the profile cards and anything else.

cjyabraham commented 1 week ago

I went ahead and styled the profile cards, borrowing from CNCF code, so this is now ready for review.

thetwopct commented 2 days ago

I'm not overly convinced this is suitable for general inclusion in the theme. Its requirements seem very specific, and other than CNCF I've never seen a map + people layout like this used on a website. So all sites using this theme need to carry this odd component as overhead.

If it’s necessary to include, I would suggest the following:

From a design perspective:

Before merging:

Note: I've optimised the images a bit, they seemed very large for simple demo content.