Skip to content

Commit

Permalink
fan translations
Browse files Browse the repository at this point in the history
  • Loading branch information
ncase committed Aug 2, 2017
1 parent 7da3cb1 commit 8910906
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 1 deletion.
16 changes: 16 additions & 0 deletions css/slides.css
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,22 @@ s{
text-decoration: line-through;
}

#translations{
margin: 10px auto;
font-size: 16px;
line-height: 21px;
color: #fff;
text-align: center;
}
#translations a{
color:#dd4040;
}
#translations a:hover{
color:#ee5151;
}



/*************************/
/******* SOUND *******/
/*************************/
Expand Down
11 changes: 10 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -76,11 +76,20 @@
<div id="select"></div>

<!-- TRANSLATE "title" & "text". Make sure it's less than 112 characters, for Twitter's sake -->
<!-- Also, "link" will be changed later to whatever the link for the translated version will be. -->
<!-- Also, change "link" to whatever the link for the translated version will be! -->
<sharing title="The Evolution of Trust"
text="People no longer trust each other. Why? And how can we fix it? An interactive guide to the game theory of trust:"
link="http://ncase.me/trust/"></sharing>

<!-- List of translations thus far! -->
<div id="translations">
fan-translations so far:
<a href="https://github.com/ncase/trust#how-to-translate-this-thang" target="_blank">(add your own!)</a>
<br>
<a href="http://sekai.co/trust/">中文</a> |
<a href="https://brunolemos.github.io/trust/">Português do Brasil</a>
</div>

</div>
</body>
</html>
Expand Down
1 change: 1 addition & 0 deletions js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ window.onload = function(){
slideSelect.dom.style.display = "none";
subscribe("start/game", function(){
slideSelect.dom.style.display = "block";
$("#translations").style.display = "none";

// [FOR DEBUGGING]
publish("slideshow/next");
Expand Down

0 comments on commit 8910906

Please sign in to comment.