Skip to content

Commit

Permalink
fix: Relocate developer champion badge on landing page (#390)
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Sauble authored Jul 1, 2020
1 parent aad58bf commit f7f68c3
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 27 deletions.
58 changes: 31 additions & 27 deletions src/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -179,33 +179,37 @@ const IndexPage = ({ data, pageContext }) => {
built by the New Relic community.
</p>

<section className={cx(styles.section, styles.stripedSection)}>
<h1>
<img
className={styles.img}
src={devChampionBadge}
alt="developer champion badge"
width="5%"
/>{' '}
New Relic developer champions
</h1>

<p>
New Relic Champions are solving big problems using New Relic as
their linchpin and are recognized as experts and leaders in the New
Relic technical community.
</p>
<Button
as={ExternalLink}
variant={Button.VARIANT.PRIMARY}
href="https://forms.gle/Zkdub5e1x4MNqSKW9"
>
Nominate a Developer Champion
<FeatherIcon
className={styles.externalLinkIcon}
name="external-link"
/>
</Button>
<section
className={cx(
styles.section,
styles.stripedSection,
styles.developerChampions
)}
>
<div>
<h1>New Relic developer champions</h1>
<p>
New Relic Champions are solving big problems using New Relic as
their linchpin and are recognized as experts and leaders in the
New Relic technical community.
</p>
<Button
as={ExternalLink}
variant={Button.VARIANT.PRIMARY}
href="https://forms.gle/Zkdub5e1x4MNqSKW9"
>
Nominate a Developer Champion
<FeatherIcon
className={styles.externalLinkIcon}
name="external-link"
/>
</Button>
</div>
<img
className={styles.img}
src={devChampionBadge}
alt="developer champion badge"
/>
</section>
</Layout>
</PageContext.Provider>
Expand Down
8 changes: 8 additions & 0 deletions src/pages/index.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -106,3 +106,11 @@
border-color: inherit;
}
}

.developerChampions {
display: flex;

img {
height: 9rem;
}
}

0 comments on commit f7f68c3

Please sign in to comment.