Add babel polyfill and tweak some styles for firefox

This commit is contained in:
Tom Raithel
2017-03-08 21:01:38 +01:00
parent 1e703d8746
commit 0ed3d78de4
7 changed files with 35 additions and 15 deletions

View File

@@ -1,3 +1,4 @@
import 'babel-polyfill';
import React from 'react';
import { render } from 'react-dom';
import { createStore, applyMiddleware } from 'redux';

View File

@@ -1,22 +1,21 @@
import React from 'react';
import classNames from 'classnames';
import Branding from './Branding';
import { getItemPageNames } from '../../common/config';
export default function Footer({ items, pageName }) {
if (getItemPageNames(items).includes(pageName)) {
return null;
}
return (
<Branding
logoContent={<img src="/assets/logo.svg" width="150px" height="60px" />}
>
<span className="footnote">
AOE is a leading provider of Enterprise Open Source web solutions.
Using current agile development methods, more than 250+ developers
and consultants in 8 global locations develop customized Open Source
solutions for global companies and corporations.
</span>
</Branding>
<div className={classNames('footer', {'is-hidden': getItemPageNames(items).includes(pageName)})}>
<Branding
logoContent={<img src="/assets/logo.svg" width="150px" height="60px" />}
>
<span className="footnote">
AOE is a leading provider of Enterprise Open Source web solutions.
Using current agile development methods, more than 250+ developers
and consultants in 8 global locations develop customized Open Source
solutions for global companies and corporations.
</span>
</Branding>
</div>
);
}