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.', siteCompany: 'Ocean Protocol Foundation Ltd.',
analyticsId: 'UA-60614729-11', analyticsId: 'UA-60614729-11',
social: { social: {
site: 'https://oceanprotocol.com', Site: 'https://oceanprotocol.com',
blog: 'https://blog.oceanprotocol.com', Blog: 'https://blog.oceanprotocol.com',
github: 'https://github.com/oceanprotocol', GitHub: 'https://github.com/oceanprotocol',
twitter: 'https://twitter.com/oceanprotocol', Twitter: 'https://twitter.com/oceanprotocol',
gitter: 'https://gitter.im/oceanprotocol/Lobby', Gitter: 'https://gitter.im/oceanprotocol/Lobby',
telegram: 'https://t.me/joinchat/GUyxrE0Hi154D0NrlOqLFg' Telegram: 'https://t.me/joinchat/GUyxrE0Hi154D0NrlOqLFg'
}, },
githubContentPath: githubContentPath:
'https://github.com/oceanprotocol/docs/blob/master/content', 'https://github.com/oceanprotocol/docs/blob/master/content',

View File

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