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:
commit
19b3ce69e3
12
config.js
12
config.js
@ -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',
|
||||||
|
@ -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>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user