-
Notifications
You must be signed in to change notification settings - Fork 4
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 #1 from Danjavia/develop
v1.0
- Loading branch information
Showing
9 changed files
with
196 additions
and
184 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
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,2 @@ | ||
@import url('https://fonts.googleapis.com/css?family=Roboto:300,400,500'); | ||
@import url('https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css'); |
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,62 @@ | ||
/** | ||
* External Resources | ||
**/ | ||
import React, { Component } from 'react'; | ||
import RaisedButton from 'material-ui/RaisedButton'; | ||
import baseTheme from 'material-ui/styles/baseThemes/lightBaseTheme'; | ||
import getMuiTheme from 'material-ui/styles/getMuiTheme'; | ||
import injectTapEventPlugin from 'react-tap-event-plugin'; | ||
injectTapEventPlugin(); | ||
|
||
/** | ||
* Internal Resources | ||
**/ | ||
import './HomePage.css'; | ||
|
||
/** | ||
* Sample class definition | ||
**/ | ||
class HomePage extends Component { | ||
/** | ||
* childContextTypes | ||
* @property {object} muiTheme MUI integration with component | ||
* */ | ||
static childContextTypes = { | ||
muiTheme: React.PropTypes.object | ||
}; | ||
|
||
/** | ||
* getChildContext | ||
* @return {object} muiTheme MUI theme integration | ||
* */ | ||
getChildContext() { | ||
return { muiTheme: getMuiTheme(baseTheme) }; | ||
} | ||
|
||
/** | ||
* render | ||
* @return {ReactElement} markup | ||
* */ | ||
render() { | ||
return ( | ||
<div className="home-page"> | ||
<h1>React-Apollo-MUI PWA</h1> | ||
<h2>Starter Pack</h2> | ||
<div> | ||
<RaisedButton | ||
label="View Repo" | ||
href="https://github.com/Danjavia/PWA-ReactJS-Starter-Pack" | ||
target="_blank" | ||
secondary={true} | ||
icon={<i className="fa fa-github"></i>} | ||
/> | ||
</div> | ||
</div> | ||
); | ||
} | ||
} | ||
|
||
/** | ||
* Export class | ||
**/ | ||
export default HomePage; |
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,31 @@ | ||
.home-page { | ||
display: flex; | ||
text-align: center; | ||
justify-content: center; | ||
flex-direction: column; | ||
height: 100vh; | ||
margin: auto; | ||
|
||
h1 { | ||
font-size: 35px; | ||
font-weight: 100; | ||
font-family: 'Roboto', sans-serif; | ||
} | ||
|
||
h2 { | ||
font-size: 20px; | ||
font-weight: 100; | ||
font-family: 'Roboto', sans-serif; | ||
} | ||
|
||
> div { | ||
margin-top: 30px; | ||
|
||
i { | ||
position: relative; | ||
top: -2px; | ||
font-size: 20px; | ||
color: white; | ||
} | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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.