code4sac / sacramento-campaign-finance

Dataset and dashboard of money in local politics
https://sacramento-campaign-cash.netlify.app/
2 stars 5 forks source link

Make official cards on homepage link to the proper section on the legislative body page #40

Closed jeremiak closed 1 year ago

jeremiak commented 1 year ago

Right now the elected official cards just show who is in office but don't provide any detailed information about them. So I made them links to specific parts of the legislative body page - if you click on Mai Vang you'll go to the bottom of the city council page because she represents district 8.

I also used the configuration file to generate this information instead of having it in the relevant +page.svelte file so that everything that has to do with people (candidates or legislators) comes from the same place (config.js).

netlify[bot] commented 1 year ago

Deploy Preview for sacramento-campaign-cash ready!

Name Link
Latest commit af37dbf63bf76e41e68c8ff9026c0b6ff83e71e5
Latest deploy log https://app.netlify.com/sites/sacramento-campaign-cash/deploys/652cb53daa80b90008cb89bb
Deploy Preview https://deploy-preview-40--sacramento-campaign-cash.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.