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', siteTitle: 'Ocean Developer Documentation',
siteShortTitle: 'Docs', siteShortTitle: 'Docs',
siteDescription: 'Tools to Build Data Markets, and Manage ERC20 Data Assets', 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', siteUrl: process.env.SITE_URL || 'https://docs.oceanprotocol.com',
siteIcon: 'node_modules/@oceanprotocol/art/logo/favicon-black.png', siteIcon: 'node_modules/@oceanprotocol/art/logo/favicon-black.png',
siteCompany: 'Ocean Protocol Foundation Ltd.', siteCompany: 'Ocean Protocol Foundation Ltd.',

View File

@ -16,23 +16,16 @@ const HeaderHome = () => (
siteMetadata { siteMetadata {
siteTitle siteTitle
siteDescription siteDescription
siteTagline
siteTaglineURL
} }
} }
} }
`} `}
render={(data) => { render={(data) => {
const { siteTitle, siteDescription, siteTagline, siteTaglineURL } = const { siteTitle, siteDescription } = data.site.siteMetadata
data.site.siteMetadata
return ( return (
<header className={styles.header}> <header className={styles.header}>
<Content> <Content>
<div className={styles.tagline}>
{siteTagline}
<a href={siteTaglineURL}>Immunefi</a>
</div>
<Logo className={styles.headerLogo} /> <Logo className={styles.headerLogo} />
<h1 className={styles.headerTitle}> <h1 className={styles.headerTitle}>
{siteTitle} {siteTitle}

View File

@ -51,10 +51,3 @@
margin-top: $spacer * 0.5; margin-top: $spacer * 0.5;
align-items: 'center'; align-items: 'center';
} }
.tagline {
margin-top: $spacer * 0.5;
align-items: 'center';
font-size: $font-size-h2;
margin-bottom: $spacer;
}