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

updating social tweaks #913

Merged
merged 1 commit into from
Aug 3, 2019
Merged

Conversation

choldgraf
Copy link
Member

This does a couple things for the social images:

  • Makes it so that we have full social meta tags on both the index and loading templates, no more shared tags
  • index page uses long binder logo (so if people only link to mybinder.org and that's it, you'll see the big logo
  • loading page now loads a compact image on twitter (not sure how it behaves on facebook but that's probably way less often). The title is the spec, the description is "binder project" general stuff.

Curious what @betatim thinks about it - we can iterate a bit, this is just a first pass

@betatim betatim merged commit f7fdf76 into jupyterhub:master Aug 3, 2019
@betatim
Copy link
Member

betatim commented Aug 3, 2019

Merged because it is tricky to imagine how it will look and easy to see if we deploy it.

I don't know enough about cards and FB. Is it possible to define several "cards" and each page (FB, twitter, etc) will use the "last one it understands"?

@betatim
Copy link
Member

betatim commented Aug 3, 2019

Should we copy what GitHub does? This is a screenshot of the <head> on https://github.com/jupyterhub/binderhub

Screen Shot 2019-08-03 at 16 12 01

they seem to define one image for twitter and then again using the opengraph method. Maybe that is how you get different sized images for twitter (small/compact) and FB (large)?

@choldgraf
Copy link
Member Author

I do think we can define a twitter-specific image...that should be pretty straightforward. Shall we make that a PR?

@choldgraf
Copy link
Member Author

(fyi it'll be later today or tomorrow for me to implement this, I'm in seattle!)

@choldgraf choldgraf added the maintenance Under the hood improvements and fixes label Oct 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintenance Under the hood improvements and fixes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants