Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions components/highlighted-text/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import styled from 'styled-components'

const HighlightedText = styled.span`
background: linear-gradient(234.45deg, #12c6ff 0%, #6184c9 68.23%);
-webkit-background-clip: text;
background-clip: text;
-webkit-text-fill-color: transparent;
color: #54ffff;
`

export default HighlightedText
1 change: 1 addition & 0 deletions components/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ export { default as CompanyLogo } from './company-logo'
export { default as Footer } from './footer'
export { default as Form } from './form'
export { default as Heading } from './heading'
export { default as HighlightedText } from './highlighted-text'
export { default as Input } from './input'
export { default as SiteHeader } from './site-header'
export { default as Testimonials } from './testimonials'
Expand Down
4 changes: 2 additions & 2 deletions pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import {
Footer,
Testimonials,
Heading,
HighlightedText,
Text,
SiteHeader,
} from 'components'
Expand All @@ -26,8 +27,7 @@ const Home = () => (
<div className={styles.heroContent}>
<Heading className={styles.heroHeading}>
We are the community for{' '}
<span className={styles.highlight}>remote-first</span> Software
Engineers
<HighlightedText>remote-first</HighlightedText> Software Engineers
</Heading>
<Text sectionText className={styles.heroText}>
Commit is designing the future of work and we're putting Engineers
Expand Down
3 changes: 0 additions & 3 deletions styles/Home.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -92,9 +92,6 @@ h1.heroHeading {
margin-top: 200px;
margin-bottom: 4.5rem;
}
h1.heroHeading .highlight {
color: #54ffff;
}
p.heroText {
font-family: Montserrat;
font-size: 1.5rem;
Expand Down