-
Notifications
You must be signed in to change notification settings - Fork 128
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Moves changes out from behind mhvPersonalizationEnabled feature toggle (
#29540) * Moves changes out from behind mhvPersonalizationEnabled feature toggle * Update mock feature toggles to reflect production values
- Loading branch information
Showing
6 changed files
with
94 additions
and
80 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
68 changes: 50 additions & 18 deletions
68
src/applications/mhv-landing-page/components/HeaderLayout.jsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,60 @@ | ||
import React from 'react'; | ||
import classnames from 'classnames'; | ||
import PropTypes from 'prop-types'; | ||
import WelcomeContainer from '../containers/WelcomeContainer'; | ||
|
||
const HeaderLayout = () => { | ||
const HeaderLayout = ({ showWelcomeMessage = false }) => { | ||
return ( | ||
<div className="vads-u-display--flex vads-u-justify-content--space-between vads-u-margin-bottom--1 medium-screen:vads-u-margin-bottom--2"> | ||
<div className="vads-l-col medium-screen:vads-l-col--8"> | ||
<h1>My HealtheVet</h1> | ||
<div className="va-introtext"> | ||
<p> | ||
<a href="/resources/my-healthevet-on-vagov-what-to-know"> | ||
Learn more about My HealtheVet on VA.gov, | ||
</a> | ||
where you can manage your VA health care and your health. | ||
</p> | ||
<> | ||
<div | ||
className={classnames( | ||
'vads-u-display--flex', | ||
'vads-u-justify-content--space-between', | ||
'vads-u-margin-bottom--2', | ||
'vads-u-align-items--center', | ||
)} | ||
> | ||
<div className="vads-l-col medium-screen:vads-l-col--8"> | ||
<h1>My HealtheVet</h1> | ||
<div className="va-introtext"> | ||
<p> | ||
<a href="/resources/my-healthevet-on-vagov-what-to-know"> | ||
Learn more about My HealtheVet on VA.gov, | ||
</a> | ||
where you can manage your VA health care and your health. | ||
</p> | ||
</div> | ||
</div> | ||
<div | ||
className={classnames( | ||
'vads-u-display--none', | ||
'medium-screen:vads-u-display--block', | ||
'vads-l-col--4', | ||
'vads-u-text-align--right', | ||
)} | ||
> | ||
<img | ||
src="/img/mhv-logo.png" | ||
className="mhv-logo" | ||
alt="My HealtheVet Logo" | ||
/> | ||
</div> | ||
</div> | ||
<div className="vads-u-display--none medium-screen:vads-u-display--block vads-l-col--4 vads-u-text-align--right"> | ||
<img | ||
src="/img/mhv-logo.png" | ||
className="mhv-logo" | ||
alt="My HealtheVet Logo" | ||
/> | ||
<div | ||
className={classnames( | ||
'vads-u-border-color--gray-light', | ||
'vads-u-border-bottom--1px', | ||
'vads-u-margin-bottom--3', | ||
)} | ||
> | ||
{showWelcomeMessage && <WelcomeContainer />} | ||
</div> | ||
</div> | ||
</> | ||
); | ||
}; | ||
|
||
HeaderLayout.propTypes = { | ||
showWelcomeMessage: PropTypes.bool, | ||
}; | ||
|
||
export default HeaderLayout; |
31 changes: 0 additions & 31 deletions
31
src/applications/mhv-landing-page/components/HeaderLayoutV1.jsx
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters