You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 11, 2023. It is now read-only.
Since we are using server rendered react in some parts, we can set in the call or use a query selector to give specific OG data
for example okcandidate.code4hr.org?mayor=sessoms
and it would show a picture of the candidate.
Edit:
the above apprach is broken because we can't use the mayors last name like the photos, a solution is to use their unique candidateIDs instead so that the router can handle this better.
However another better solution is just to leave this up to the backend and can be revisited also below.
The text was updated successfully, but these errors were encountered:
Since we are using server rendered react in some parts, we can set in the call or use a query selector to give specific OG data
for example
okcandidate.code4hr.org?mayor=sessoms
and it would show a picture of the candidate.
Edit:
the above apprach is broken because we can't use the mayors last name like the photos, a solution is to use their unique candidateIDs instead so that the router can handle this better.
However another better solution is just to leave this up to the backend and can be revisited also below.
The text was updated successfully, but these errors were encountered: