aperowebnancy / aperowebnancy-website

Website for Apéro Web Nancy
https://aperowebnancy.netlify.app/
MIT License
11 stars 3 forks source link

Display the number of web mentions in the talk page #54

Closed Luwangel closed 4 years ago

Luwangel commented 4 years ago

What:

I added a web mention counter in the talk page.

See the screenshot below:

Sélection_004

Why:

This counter sums up the number of interactions on Twitter. Then it will be used as a shortcut to the comments section at the bottom of the page. More details on the following issue https://github.com/aperowebnancy/aperowebnancy-website/issues/8

How:

I added a new component named <WebMentionCounter> which fetches and displays the number of likes, reposts and responses returned by webmention.io.

This component is displayed below the share on Twitter button because web mentions are related to social media.

Checklist: