Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c2b4d33

Browse files
vjeuxzpao
authored andcommitted
Integrate twitter in the support page
1 parent b148b12 commit c2b4d33

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

docs/_layouts/default.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,8 @@
7979
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
8080
ga('create', 'UA-41298772-1', 'facebook.github.io');
8181
ga('send', 'pageview');
82+
83+
!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="https://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");
8284
</script>
8385
</body>
8486
</html>

docs/support.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,9 @@ id: support
1313
## IRC
1414

1515
Many developers and users idle on Freenode.net's IRC network in **[#reactjs on freenode](irc://chat.freenode.net/reactjs)**.
16+
17+
## Twitter
18+
19+
<a href="https://twitter.com/search?q=%23reactjs"><strong>#reactjs</strong> hash tag on Twitter</a> is used to keep up with the latest React news.
20+
21+
<center><a class="twitter-timeline" data-dnt="true" data-chrome="nofooter noheader transparent" href="https://twitter.com/search?q=%23reactjs" data-widget-id="342522405270470656"></a></center>

0 commit comments

Comments
 (0)