mirror of
https://github.com/fleetdm/fleet
synced 2026-04-21 21:47:20 +00:00
- 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.
25 lines
577 B
JavaScript
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;
|