Open natashawatkins opened 6 years ago
Nice idea. Probably just "Share" would be enough to give people the idea.
The only problem is that I don't remember any email addresses --- I've outsourced that part of my brain to Google too. And I'm too lazy to look them up...
A lot of websites just use a mailto:
link I guess, and we could also have a twitter link like we have on QuantEcon.lectures... which is surprisingly used quite often
@natashawatkins @jstac we can implement share button that would link to the available social media corresponding to the same social media that we have i.e. Google and Twitter. I am not sure what you mean by the mailto:
link?
@DrDrij what styles should the Share
notebook button have ? I see that Download
, Notebook
and Comments
they all have their styles but Notebook
and Comments
are the same.
@natashawatkins Good suggestion! I reckon the key here is to share the page
rather than the notebook
. This way we promote traffic back to the site? I'd be happy with this being added to the button row as suggested with the action sharing a link to the corresponding notebook page on Notes. Any thoughts?
Ideally the share icon could bring up options to share on twitter/FB/email. We could latch onto https://www.addthis.com/ (or similar) to make this easier. I've implemented AddThis on a lot of corporate sites in the past. This is all client-side and leverages their services so we don't need to write this functionality.
@AtlasMaxima I'd suggest for now to use the same style as the Download
button. The colour differentiation being orange buttons correspond with actions on the site whereas the black button corresponds with "external" actions (being download and share).
<li><a class="alt">Share</a></li>
Perhaps once the functionality is in we could review the design of this button row altogether (adding icons for each action).
@DrDrij sharing the page sounds better than the notebook! I'll look into https://www.addthis.com/ or something similar. Thanks!
@AtlasMaxima Cool! If you implement it generally - I'm happy to "hack" the styling a bit so it matches the styling of the site.
I think we should add a 'Share Notebook' button here, which would bring up a link to copy or a way to enter an email address - something to encourage sharing