1
0
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:
Akshay 2022-06-07 17:17:39 +02:00 committed by GitHub
commit 6e117356ed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 1 additions and 17 deletions

View File

@ -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.',

View File

@ -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}

View File

@ -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;
}