1
0
mirror of https://github.com/oceanprotocol/docs.git synced 2024-11-26 19:49:26 +01:00

Merge pull request #220 from oceanprotocol/fix/footer-links

use capitalized writing for social key names
This commit is contained in:
Troy McConaghy 2019-04-18 11:41:38 +02:00 committed by GitHub
commit 19b3ce69e3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 13 additions and 13 deletions

View File

@ -8,12 +8,12 @@ module.exports = {
siteCompany: 'Ocean Protocol Foundation Ltd.',
analyticsId: 'UA-60614729-11',
social: {
site: 'https://oceanprotocol.com',
blog: 'https://blog.oceanprotocol.com',
github: 'https://github.com/oceanprotocol',
twitter: 'https://twitter.com/oceanprotocol',
gitter: 'https://gitter.im/oceanprotocol/Lobby',
telegram: 'https://t.me/joinchat/GUyxrE0Hi154D0NrlOqLFg'
Site: 'https://oceanprotocol.com',
Blog: 'https://blog.oceanprotocol.com',
GitHub: 'https://github.com/oceanprotocol',
Twitter: 'https://twitter.com/oceanprotocol',
Gitter: 'https://gitter.im/oceanprotocol/Lobby',
Telegram: 'https://t.me/joinchat/GUyxrE0Hi154D0NrlOqLFg'
},
githubContentPath:
'https://github.com/oceanprotocol/docs/blob/master/content',

View File

@ -10,12 +10,12 @@ const query = graphql`
siteMetadata {
siteCompany
social {
site
blog
github
twitter
gitter
telegram
Site
Blog
GitHub
Twitter
Gitter
Telegram
}
}
}
@ -26,7 +26,7 @@ const FooterSocial = ({ social }) => (
<nav className={styles.links}>
{Object.keys(social).map(key => (
<a key={key} href={social[key]}>
{key.charAt(0).toUpperCase() + key.slice(1)}
{key}
</a>
))}
</nav>