mirror of
https://github.com/fleetdm/fleet
synced 2026-04-21 13:37:30 +00:00
This is the second PR as part of the Fleet UI Refresh #38. The goal of this PR was to insert all updated Fleet assets and remove all old assets. More style changes, including the exact sizing and placement of the new images, will occur in a future PR.
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-black.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;
|