Skip to content

Commit

Permalink
Add per-language links to wikipedia
Browse files Browse the repository at this point in the history
  • Loading branch information
joelpurra committed Dec 9, 2017
1 parent cbe719a commit f654933
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 0 deletions.
5 changes: 5 additions & 0 deletions resources/style/demo.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions resources/wikipedia-logo/wikipedia-w.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 8 additions & 0 deletions resources/wikipedia-logo/wikipedia-w.webloc
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>URL</key>
<string>https://wikimediafoundation.org/wiki/File:Wikipedia%27s_W.svg</string>
</dict>
</plist>
7 changes: 7 additions & 0 deletions src/demo/components/sections/voices.jsx
Expand Up @@ -283,6 +283,13 @@ export default class Voices extends React.Component {
{this.getSampleTextForLanguage(languageGroup)}
</textBase.blockquote>

<textBase.p>
<textBase.a href={`https://${languageGroup}.wikipedia.org/`}>
<Icon className="icon-wikipedia-w" />
{languageGroup}.wikipedia.org
</textBase.a>
</textBase.p>

<listBase.ul>
{this.getFilteredLanguagesAndVoicesTree(voicesByLanguagesByLanguageGroupFromVoices, languagesPerGroup, languagesFilter, languageGroup)}
</listBase.ul>
Expand Down

0 comments on commit f654933

Please sign in to comment.