1
0
mirror of https://github.com/stolksdorf/homebrewery.git synced 2025-12-19 01:31:28 +00:00

MOved the welcome text to it's own file

This commit is contained in:
Scott Tolksdorf
2016-01-13 17:13:59 -05:00
parent 8aca0ef0e8
commit 5b17e19c52
6 changed files with 80 additions and 77 deletions

View File

@@ -13,7 +13,7 @@ var Homebrew = React.createClass({
getDefaultProps: function() {
return {
url : "",
text : "",
welcomeText : "",
brew : {
text : "",
shareId : null,
@@ -31,7 +31,7 @@ var Homebrew = React.createClass({
'/homebrew/share/:id' : (args) => {
return <SharePage id={args.id} entry={this.props.brew} />
},
'/homebrew*' : <HomePage />,
'/homebrew*' : <HomePage welcomeText={this.props.welcomeText} />,
});
},
render : function(){