-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add careers page on /careers. - Added some reusable components: UnorderedList, OrderedList, TwoColumn Points - Added a link to the sitewide header - Added a Backend Engineer role
- Loading branch information
Showing
19 changed files
with
588 additions
and
72 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,3 +2,4 @@ | |
package.json | ||
package-lock.json | ||
public | ||
yarn.lock |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
import React from 'react'; | ||
import classnames from 'classnames'; | ||
|
||
import { useStyles } from './home/Button'; | ||
|
||
const ButtonLink = ({ text = 'Go', ...props }) => { | ||
const classes = useStyles(); | ||
|
||
return ( | ||
<a className={classnames('typography-mono', classes.root)} {...props}> | ||
<span>{text}</span> | ||
</a> | ||
); | ||
}; | ||
|
||
export default ButtonLink; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import React from 'react'; | ||
import isFunction from 'lodash/isFunction'; | ||
|
||
const OrderedList = ({ content }) => ( | ||
<ol> | ||
{content.map((point) => ( | ||
<li key={point} dangerouslySetInnerHTML={{ __html: isFunction(point) ? point() : point }} /> | ||
))} | ||
</ol> | ||
); | ||
|
||
export default OrderedList; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
import React from 'react'; | ||
import classnames from 'classnames'; | ||
import { createUseStyles } from 'react-jss'; | ||
import isFunction from 'lodash/isFunction'; | ||
|
||
const useStyles = createUseStyles((theme) => ({ | ||
root: {}, | ||
|
||
col: { | ||
paddingLeft: 16, | ||
paddingEight: 16, | ||
}, | ||
|
||
strong: { | ||
marginTop: 0, | ||
lineHeight: '1.75rem', | ||
}, | ||
|
||
[`@media (min-width: ${theme.breakpoints.values.md}px)`]: { | ||
root: { | ||
display: 'flex', | ||
margin: 'auto', | ||
}, | ||
|
||
col: { | ||
flex: 1, | ||
}, | ||
}, | ||
})); | ||
|
||
const Point = ({ title, text, classes }) => { | ||
return ( | ||
<div> | ||
<strong className={classes.strong}>{isFunction(title) ? title() : title}</strong> | ||
<p>{text}</p> | ||
</div> | ||
); | ||
}; | ||
|
||
const TwoColumnPoints = ({ content = [[], []] }) => { | ||
const classes = useStyles(); | ||
|
||
return ( | ||
<div className={classes.root}> | ||
<div className={classnames(classes.col, classes.leftCol)}> | ||
{content[0].map((props) => ( | ||
<Point {...props} key={props.title} classes={classes} /> | ||
))} | ||
</div> | ||
|
||
<div className={classnames(classes.col, classes.rightCol)}> | ||
{content[1].map((props) => ( | ||
<Point {...props} key={props.title} classes={classes} /> | ||
))} | ||
</div> | ||
</div> | ||
); | ||
}; | ||
|
||
export default TwoColumnPoints; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import React from 'react'; | ||
import isFunction from 'lodash/isFunction'; | ||
|
||
const UnorderedList = ({ content }) => ( | ||
<ul> | ||
{content.map((point) => ( | ||
<li key={point} dangerouslySetInnerHTML={{ __html: isFunction(point) ? point() : point }} /> | ||
))} | ||
</ul> | ||
); | ||
|
||
export default UnorderedList; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
import React from 'react'; | ||
|
||
const Mission = () => ( | ||
<div> | ||
<p> | ||
Roadie enables companies to get a grip on their microservices by helping them to adopt{' '} | ||
<a href="https://backstage.io" target="__blank"> | ||
Backstage | ||
</a> | ||
. Backstage is a service catalog which was created inside Spotify and has been battle-tested | ||
in production since 2016. Every day, thousands of Spotify engineers use Backstage to do | ||
critical development and operations work. | ||
</p> | ||
|
||
<p> | ||
We are a talented group of engineers who experienced the problems of microservice sprawl | ||
first-hand and decided that there is a better way. By unlocking the power of Backstage, we can | ||
make microservice development easier, faster and more enjoyable. | ||
</p> | ||
</div> | ||
); | ||
|
||
export default Mission; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,16 @@ | ||
export { default as LayoutControl } from './LayoutControl'; | ||
export { default as SitewideHeader } from './SitewideHeader'; | ||
export { default as SEO } from './seo'; | ||
export { default as SitewideFooter } from './SitewideFooter'; | ||
export { default as StickyFooter } from './layouts/StickyFooter'; | ||
|
||
export { default as SEO } from './seo'; | ||
|
||
export { default as Headline } from './Headline'; | ||
export { default as Lead } from './Lead'; | ||
export { default as InterstitialTitle } from './InterstitialTitle'; | ||
|
||
export { default as CodeBlock } from './CodeBlock'; | ||
export { default as TwoColumnPoints } from './TwoColumnPoints'; | ||
export { default as UnorderedList } from './UnorderedList'; | ||
export { default as OrderedList } from './OrderedList'; | ||
export { default as ButtonLink } from './ButtonLink'; |
Oops, something went wrong.