Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create some way for subsites to pull Event banner data from CNCF.io #598

Closed
cjyabraham opened this issue Sep 16, 2022 · 4 comments
Closed
Assignees

Comments

@cjyabraham
Copy link
Collaborator

  • Create some kind of API call that returns a json of Event ad data so the same widget can be recreated on subsites; we'll need to see if sites like the store can support this kind of code
  • JSON could include desktop image url, mobile image url, alt text, and event link for each entry
  • As a simpler option we could not bother with the whole slider but just display the soonest event
@cjyabraham cjyabraham self-assigned this Sep 16, 2022
@thetwopct thetwopct added needs design requires design to move forward and removed needs design requires design to move forward labels Oct 20, 2022
@cjyabraham cjyabraham added the idea idea for the future label Oct 24, 2022
@cjyabraham cjyabraham moved this to Later in CNCF.io Jun 2, 2024
@cjyabraham cjyabraham moved this from Later to Soon in CNCF.io Sep 16, 2024
@cjyabraham
Copy link
Collaborator Author

cjyabraham commented Sep 16, 2024

Craig has asked we implement a hello bar on all these subsites. Perhaps we could do this so that when we set a hello bar on the CNCF.io site, all subsites will follow suit and inherit the setting.

I propose creating a js script that queries the WP API for the hello bar settings. If found, it inserts a hello bar on the subsite.

For the utm_source=www in the url we'll replace "www" with "glossary" or whatever the subsite subdomain is

@cjyabraham cjyabraham moved this from Soon to In progress in CNCF.io Sep 16, 2024
cjyabraham added a commit that referenced this issue Sep 16, 2024
@cjyabraham
Copy link
Collaborator Author

I've created the REST call: https://www.cncf.io/wp-json/lf/v1/get_hello

@cjyabraham
Copy link
Collaborator Author

cjyabraham commented Sep 30, 2024

This is ready to be deployed across all subsites such as done here on Glossary:

  • Architecture
  • Store
  • Maturity Model PR
  • Glossary PR
  • Observability
  • Runtime
  • Sustainability PR
  • Contributors PR
  • App Delivery PR
  • Security PR

@cjyabraham
Copy link
Collaborator Author

This is done

@github-project-automation github-project-automation bot moved this from In progress to Done in CNCF.io Oct 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

No branches or pull requests

2 participants