upswyng icon indicating copy to clipboard operation
upswyng copied to clipboard

implement dynamic page titles

Open jacobvenable opened this issue 2 years ago • 2 comments

When a user navigates to a different page on the site, we'd like to dynamically update the page titles so that it can be reflected in analytics. While we're adding page titles, we may as well also add a page description to home page for SEO purposes.

Pages to Update

  • [ ] Home
    • English
      • Title: UpSwyng
      • Description: UpSwyng is a mobile-ready, digital directory of resources to assist the unhoused and at-risk communities.
    • Spanish
      • Title: UpSwyng
      • Description: UpSwyng es un directorio digital para dispositivos móviles, que continue recursos para ayudar a personas que están a punto de perder su hogar o que ya se encuentran sin hogar.
  • [ ] About
    • English
      • Title: About - Upswyng
    • Spanish
      • Title: Acerca - UpSwyng
  • [ ] Terms of Use
    • English
      • Title: Terms of Use - Upswyng
    • Spanish
      • Title: Condiciones De Uso - UpSwyng
  • [ ] Privacy Policy
    • English
      • Title: Privacy Policy - Upswyng
    • Spanish
      • Title: Política de Privacidad - UpSwyng
  • [ ] Favorites
    • English
      • Title: Favorites - Upswyng
    • Spanish
      • Title: Favoritos - UpSwyng
  • [ ] Category
    • English/Spanish
      • Title: [Category Name] - Upswyng
        • Replace [Category Name] with the currently active sub-category's name
  • [ ] Sub-category
    • English/Spanish
      • Title: [Sub-Category Name] - Upswyng
        • Replace [Sub-Category Name] with the currently active sub-category's name
  • [ ] Resource
    • English/Spanish
      • Title: [Resource Name] - Upswyng
        • Replace [Resource Name] with the currently active resource's name

Tech Notes

  • a simple package we could implement to do this is react-helmet
  • Some of these translations already exist within our translations. In many circumstances, it may be better to use those that already exist rather than create a new entry.

jacobvenable avatar Nov 02 '21 01:11 jacobvenable

I'd like to work on this.

dschwindt avatar Nov 09 '21 02:11 dschwindt

Is this something I could work on as well?

aliza614 avatar Dec 30 '21 01:12 aliza614