File tree Expand file tree Collapse file tree 4 files changed +14
-5
lines changed
Expand file tree Collapse file tree 4 files changed +14
-5
lines changed Original file line number Diff line number Diff line change 1+ import styled from 'styled-components'
2+
3+ const HighlightedText = styled . span `
4+ background: linear-gradient(234.45deg, #12c6ff 0%, #6184c9 68.23%);
5+ -webkit-background-clip: text;
6+ background-clip: text;
7+ -webkit-text-fill-color: transparent;
8+ color: #54ffff;
9+ `
10+
11+ export default HighlightedText
Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ export { default as CompanyLogo } from './company-logo'
55export { default as Footer } from './footer'
66export { default as Form } from './form'
77export { default as Heading } from './heading'
8+ export { default as HighlightedText } from './highlighted-text'
89export { default as Input } from './input'
910export { default as SiteHeader } from './site-header'
1011export { default as Testimonials } from './testimonials'
Original file line number Diff line number Diff line change 55 Footer ,
66 Testimonials ,
77 Heading ,
8+ HighlightedText ,
89 Text ,
910 SiteHeader ,
1011} from 'components'
@@ -26,8 +27,7 @@ const Home = () => (
2627 < div className = { styles . heroContent } >
2728 < Heading className = { styles . heroHeading } >
2829 We are the community for{ ' ' }
29- < span className = { styles . highlight } > remote-first</ span > Software
30- Engineers
30+ < HighlightedText > remote-first</ HighlightedText > Software Engineers
3131 </ Heading >
3232 < Text sectionText className = { styles . heroText } >
3333 Commit is designing the future of work and we're putting Engineers
Original file line number Diff line number Diff line change @@ -92,9 +92,6 @@ h1.heroHeading {
9292 margin-top : 200px ;
9393 margin-bottom : 4.5rem ;
9494}
95- h1 .heroHeading .highlight {
96- color : # 54ffff ;
97- }
9895p .heroText {
9996 font-family : Montserrat;
10097 font-size : 1.5rem ;
You can’t perform that action at this time.
0 commit comments