Added style to background and main object
This commit is contained in:
		| @@ -8,11 +8,23 @@ import FetchData from './FetchData.js'; | ||||
| import ListStrays from './ListStrays.jsx' | ||||
| import SearchRequest from './SearchRequest.jsx'; | ||||
|  | ||||
| import WebFont from 'webfontloader'; | ||||
|  | ||||
| WebFont.load({ | ||||
|   google: { | ||||
|     families: ['Titillium Web:300,400,700', 'sans-serif'] | ||||
|   } | ||||
| }); | ||||
| 	var background = { | ||||
|       backgroundColor: '#fafafa' | ||||
|     } | ||||
|  | ||||
| export default class App extends React.Component { | ||||
|  | ||||
| 	render() { | ||||
| 		return ( | ||||
| 			<div> | ||||
| 				<div style={{textAlign: 'center'}}> | ||||
| 			<div style={background}> | ||||
| 				<div> | ||||
| 					<h1>Welcome to Seasoned</h1> | ||||
| 				</div> | ||||
| 					<ListStrays /> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user