fleet/frontend/components/AuthenticationFormWrapper/AuthenticationFormWrapper.jsx
noahtalerman 98799fdff8
New styles for 404, 500, Login, User settings, and Confirm invite pages. (#108)
- Kolide404 and Kolide500 components renamed to Fleet404 and Fleet500
- Styling for Login and Confirm invite pages are consistent with the recent changes to the Setup page.
- Add "*" character to the 404 <Route />'s path property. Now the 404 page renders when there is no exact path match.
2020-12-08 17:45:08 -08:00

25 lines
577 B
JavaScript

import React, { Component } from 'react';
import PropTypes from 'prop-types';
import fleetLogoText from '../../../assets/images/fleet-logo-text-white.svg';
const baseClass = 'auth-form-wrapper';
class AuthenticationFormWrapper extends Component {
static propTypes = {
children: PropTypes.node,
};
render () {
const { children } = this.props;
return (
<div className={baseClass}>
<img alt="Fleet" src={fleetLogoText} className={`${baseClass}__logo`} />
{children}
</div>
);
}
}
export default AuthenticationFormWrapper;