summaryrefslogtreecommitdiff
path: root/frontend/src/layouts/HomeLayout.js
blob: 33167679e6d651054867d32dc3f5c92d97d6c17b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// @flow
import React from 'react';
import type { Children } from 'react';
import { Banner } from 'rebass';
import logo from './logo-7-wonders.png';
import background from './background-zeus-temple.jpg';
import ErrorToastContainer from '../components/errors/errorToastContainer';

export default ({ children }: { children: Children }) => (
  <div>
    <Banner align="center" backgroundImage={background}>
      <img src={logo} alt="Seven Wonders" />
      {children}
    </Banner>
    <ErrorToastContainer />
  </div>
);
bgstack15