CodeForBoulder / upswyng

UpSwyng is a mobile-ready, digital directory of resources to assist the unhoused and at-risk communities of Boulder, CO
https://www.upswyng.org
MIT License
19 stars 21 forks source link

Dynamic page titles #503

Open dschwindt opened 2 years ago

dschwindt commented 2 years ago

This PR closes #501

What does this PR do?

When a user navigates to a different page on the site, this code dynamically updates the page titles in English and Spanish using react-helmet and react-i18next so that the titles can be reflected in analytics. The code also includes a description for the home page for SEO in both languages.

How does this PR make you feel? :link:

dog in helmet

netlify[bot] commented 2 years ago

👷 Deploy request for upswyng accepted.

🔨 Explore the source changes: 2bf51fe113e29ef0ded2d2e8f296a14f4064053a

🔍 Inspect the deploy log: https://app.netlify.com/sites/upswyng/deploys/619bc578ef736a0007887a67

jacobvenable commented 2 years ago

Looking good! I think we should try to add a utility that automatically appends - UpSwyng to each title, but otherwise everything looks great!

jacobvenable commented 2 years ago

ℹī¸ Heads up to anyone who stumbles on this PR.

I was made aware that this developer won't be able to finish this ticket and will be taking on my minor nits. I appreciate @dschwindt for getting it this far!