Layout changes
This commit is contained in:
@@ -2,6 +2,9 @@ import React from 'react';
|
||||
import { observer } from 'mobx-react';
|
||||
import { browserHistory } from 'react-router'
|
||||
|
||||
import { Flex } from 'reflexbox';
|
||||
import Layout from 'components/Layout';
|
||||
import CenteredContent from 'components/CenteredContent';
|
||||
import SlackAuthLink from 'components/SlackAuthLink';
|
||||
|
||||
import styles from './Home.scss';
|
||||
@@ -20,26 +23,28 @@ export default class Home extends React.Component {
|
||||
|
||||
render() {
|
||||
return (
|
||||
<div className={ styles.container }>
|
||||
<div className={ styles.content }>
|
||||
<div className={ styles.intro }>
|
||||
<h1>Atlas</h1>
|
||||
<p>Simple, fast, markdown.</p>
|
||||
<p>We're building a modern wiki for engineering teams.</p>
|
||||
</div>
|
||||
<div className={ styles.action }>
|
||||
<SlackAuthLink>
|
||||
<img
|
||||
alt="Sign in with Slack"
|
||||
height="40"
|
||||
width="172"
|
||||
src="https://platform.slack-edge.com/img/sign_in_with_slack.png"
|
||||
srcSet="https://platform.slack-edge.com/img/sign_in_with_slack.png 1x, https://platform.slack-edge.com/img/sign_in_with_slack@2x.png 2x"
|
||||
/>
|
||||
</SlackAuthLink>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<Flex auto>
|
||||
<Layout>
|
||||
<CenteredContent>
|
||||
<div className={ styles.intro }>
|
||||
<h1>Atlas</h1>
|
||||
<p>Simple, fast, markdown.</p>
|
||||
<p>We're building a modern wiki for engineering teams.</p>
|
||||
</div>
|
||||
<div className={ styles.action }>
|
||||
<SlackAuthLink>
|
||||
<img
|
||||
alt="Sign in with Slack"
|
||||
height="40"
|
||||
width="172"
|
||||
src="https://platform.slack-edge.com/img/sign_in_with_slack.png"
|
||||
srcSet="https://platform.slack-edge.com/img/sign_in_with_slack.png 1x, https://platform.slack-edge.com/img/sign_in_with_slack@2x.png 2x"
|
||||
/>
|
||||
</SlackAuthLink>
|
||||
</div>
|
||||
</CenteredContent>
|
||||
</Layout>
|
||||
</Flex>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user