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 ListStrays from './ListStrays.jsx' | ||||||
| import SearchRequest from './SearchRequest.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 { | export default class App extends React.Component { | ||||||
|  |  | ||||||
| 	render() { | 	render() { | ||||||
| 		return ( | 		return ( | ||||||
| 			<div> | 			<div style={background}> | ||||||
| 				<div style={{textAlign: 'center'}}> | 				<div> | ||||||
| 					<h1>Welcome to Seasoned</h1> | 					<h1>Welcome to Seasoned</h1> | ||||||
| 				</div> | 				</div> | ||||||
| 					<ListStrays /> | 					<ListStrays /> | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user