mirror of
https://github.com/oceanprotocol/docs.git
synced 2024-11-26 19:49:26 +01:00
Merge pull request #1016 from oceanprotocol/issue-1015-update-home-page
Update homepage
This commit is contained in:
commit
6e117356ed
@ -2,8 +2,6 @@ module.exports = {
|
||||
siteTitle: 'Ocean Developer Documentation',
|
||||
siteShortTitle: 'Docs',
|
||||
siteDescription: 'Tools to Build Data Markets, and Manage ERC20 Data Assets',
|
||||
siteTagline: 'Ocean Protocol V4 public testing kicks off on ',
|
||||
siteTaglineURL: 'https://immunefi.com/bounty/oceanprotocol/',
|
||||
siteUrl: process.env.SITE_URL || 'https://docs.oceanprotocol.com',
|
||||
siteIcon: 'node_modules/@oceanprotocol/art/logo/favicon-black.png',
|
||||
siteCompany: 'Ocean Protocol Foundation Ltd.',
|
||||
|
@ -16,23 +16,16 @@ const HeaderHome = () => (
|
||||
siteMetadata {
|
||||
siteTitle
|
||||
siteDescription
|
||||
siteTagline
|
||||
siteTaglineURL
|
||||
}
|
||||
}
|
||||
}
|
||||
`}
|
||||
render={(data) => {
|
||||
const { siteTitle, siteDescription, siteTagline, siteTaglineURL } =
|
||||
data.site.siteMetadata
|
||||
const { siteTitle, siteDescription } = data.site.siteMetadata
|
||||
|
||||
return (
|
||||
<header className={styles.header}>
|
||||
<Content>
|
||||
<div className={styles.tagline}>
|
||||
{siteTagline}
|
||||
<a href={siteTaglineURL}>Immunefi</a>
|
||||
</div>
|
||||
<Logo className={styles.headerLogo} />
|
||||
<h1 className={styles.headerTitle}>
|
||||
{siteTitle}
|
||||
|
@ -51,10 +51,3 @@
|
||||
margin-top: $spacer * 0.5;
|
||||
align-items: 'center';
|
||||
}
|
||||
|
||||
.tagline {
|
||||
margin-top: $spacer * 0.5;
|
||||
align-items: 'center';
|
||||
font-size: $font-size-h2;
|
||||
margin-bottom: $spacer;
|
||||
}
|
Loading…
Reference in New Issue
Block a user