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.',
|
||||
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',
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user