This repository has been archived by the owner on Apr 11, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #90 from monte-hayward/sans-apollo
merge recent fixes into branch Sans apollo
- Loading branch information
Showing
168 changed files
with
28,137 additions
and
11,282 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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
BASE_URL='http://localhost:1337/' | ||
API_URL='http://localhost:3000/' | ||
DEBUG=false |
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,3 +1,8 @@ | ||
app/build/ | ||
app/dist/ | ||
webpack.config.*.js | ||
webpack.config.js | ||
config/ | ||
node_modules | ||
server/ | ||
config/ |
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,25 @@ | ||
[ignore] | ||
.*/node_modules/.* | ||
config/ | ||
|
||
[include] | ||
./app/src/ | ||
./app/src/components/ | ||
./app/src/containers/ | ||
./app | ||
|
||
[libs] | ||
config/flow-typed/npm | ||
|
||
[options] | ||
suppress_comment=.*\\$FlowFixMe | ||
suppress_comment=.*\\$FlowInvalidInputTest | ||
module.name_mapper='\(react-redux\)' -> '<PROJECT_ROOT>/config/flow-typed/GeneralStub.js' | ||
module.name_mapper='\(redux\)' -> '<PROJECT_ROOT>/config/flow-typed/GeneralStub.js' | ||
module.name_mapper='.*\(.scss\|.png\|.md\)' -> '<PROJECT_ROOT>/config/flow-typed/GeneralStub.js' | ||
module.name_mapper='^containers\/\(.*\)$' -> '<PROJECT_ROOT>/app/src/containers/\1' | ||
module.name_mapper='^containers$' -> '<PROJECT_ROOT>/app/src/containers' | ||
module.name_mapper='^components\/\(.*\)$' -> '<PROJECT_ROOT>/app/src/components/\1' | ||
module.name_mapper='^components$' -> '<PROJECT_ROOT>/app/src/components' | ||
module.name_mapper='^utils\/\(.*\)$' -> '<PROJECT_ROOT>/app/src/utils/\1' | ||
module.name_mapper='^utils$' -> '<PROJECT_ROOT>/app/src/utils' |
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
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,62 +1,59 @@ | ||
import React, { PropTypes } from 'react'; | ||
import Box from 'grommet-udacity/components/Box'; | ||
import Paragraph from 'grommet-udacity/components/Paragraph'; | ||
import Article from 'grommet-udacity/components/Article'; | ||
import Heading from 'grommet-udacity/components/Heading'; | ||
import Markdown from 'grommet-udacity/components/Markdown'; | ||
import Section from 'grommet-udacity/components/Section'; | ||
import List from 'grommet-udacity/components/List'; | ||
import ListItem from 'grommet-udacity/components/ListItem'; | ||
import Anchor from 'grommet-udacity/components/Anchor'; | ||
// @flow | ||
import React from 'react'; | ||
import Box from 'grommet/components/Box'; | ||
import Paragraph from 'grommet/components/Paragraph'; | ||
import Article from 'grommet/components/Article'; | ||
import Heading from 'grommet/components/Heading'; | ||
import Markdown from 'grommet/components/Markdown'; | ||
import Section from 'grommet/components/Section'; | ||
import List from 'grommet/components/List'; | ||
import ListItem from 'grommet/components/ListItem'; | ||
import Anchor from 'grommet/components/Anchor'; | ||
import { Divider } from 'components'; | ||
import readme from './_readme.md'; | ||
|
||
const About = ({ | ||
links, | ||
}) => ( | ||
<Box align="center"> | ||
<Article align="center" className="panel" pad="large"> | ||
<Section align="center" justify="center"> | ||
<Heading> | ||
Scalable React Boilerplate | ||
</Heading> | ||
<Divider /> | ||
</Section> | ||
<Section align="center" justify="center"> | ||
<Paragraph> | ||
This project was created to give the Udacity Alumni development team an | ||
incredibly optimized and easy to use React starter project. Included | ||
below is the documentation for the project. | ||
</Paragraph> | ||
<Heading tag="h4" align="center"> | ||
Since making this boilerplate, it has been used in dozens of projects. | ||
</Heading> | ||
<Box align="center" pad="medium"> | ||
<List> | ||
{links.map((link, i) => | ||
<ListItem key={i}> | ||
<Anchor href={link.url}> | ||
{link.name} | ||
</Anchor> | ||
</ListItem>, | ||
)} | ||
</List> | ||
</Box> | ||
</Section> | ||
{typeof readme === 'string' && | ||
<Markdown content={readme} /> | ||
} | ||
</Article> | ||
</Box> | ||
); | ||
|
||
About.propTypes = { | ||
links: PropTypes.arrayOf( | ||
PropTypes.shape({ | ||
name: PropTypes.string.isRequired, | ||
url: PropTypes.string.isRequired, | ||
}), | ||
), | ||
type AboutLink = { | ||
name: string, | ||
url: string | ||
}; | ||
|
||
export default About; | ||
export default function About(props: { | ||
links: AboutLink[], | ||
}) { | ||
return ( | ||
<Box align="center"> | ||
<Article align="center" className="panel" pad="large"> | ||
<Section align="center" justify="center"> | ||
<Heading> | ||
Scalable React Boilerplate | ||
</Heading> | ||
<Divider /> | ||
</Section> | ||
<Section align="center" justify="center"> | ||
<Paragraph> | ||
This project was created to give the Udacity Alumni development team an | ||
incredibly optimized and easy to use React starter project. Included | ||
below is the documentation for the project. | ||
</Paragraph> | ||
<Heading tag="h4" align="center"> | ||
Since making this boilerplate, it has been used in dozens of projects. | ||
</Heading> | ||
<Box align="center" pad="medium"> | ||
<List> | ||
{props.links && props.links.map(link => | ||
<ListItem key={link.url}> | ||
<Anchor href={link.url}> | ||
{link.name} | ||
</Anchor> | ||
</ListItem>, | ||
)} | ||
</List> | ||
</Box> | ||
</Section> | ||
{typeof readme === 'string' && | ||
<Markdown content={readme} /> | ||
} | ||
</Article> | ||
</Box> | ||
); | ||
} |
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
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
Oops, something went wrong.