Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

Table of Contents

...

Currently, white label homepage footer displays a link to "Livro de reclamações" webpage for BK-PT market.

...

Today, Sanity has the footer content configured in Marketing Content → Features → Feature Footer, where managers can include different rows and columns with the information they need. For BK-PT, this includes the image and link for “livro de reclamações”.

...

Changing all widget images with link to be clickable. The ImageWidget object in GraphQL has the fields Image, ImageDescription, Caption and attributionLink, providing all the necessary information. The attributionLink is optional, therefore, only the ones which have a registered link will be clickcable. The code will be hidden behind a feature toggle untill properly tested.

...

  • If a bussiness case where an Footer Image Widget has to have a link but cannot be clickable exists, this solution won’t work.

Create a new Option object for ImageLinks or add a new field to imageWidget. The first requires adding a new case in the footer column switch, and implementing a new component for images with link. The second is very similar to Option 1, except that the condition for the link would be the new field instead of attributionLink. Both cases will require changes in the sanity schema, that in turn, might impact any automatic synchronization between sanity and other systems.

...