Skip to content

Commit

Permalink
Update DMSPolicyInfo.jsx
Browse files Browse the repository at this point in the history
  • Loading branch information
hams7504 authored Oct 24, 2023
1 parent 9bc5b32 commit 39512f0
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/pages/DMSPolicyInfo.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,12 @@ function DMSPolicyInfo(props) {
} = props;

const renderSectionImage = (url, alt) => (
<img src={url} alt={alt} />
<img src={url} alt={alt}/>
);

const renderInfoBox = (text, index) => (
<div className="info-box" key={`${index}`}>
<CheckCircleIcon htmlColor="#74ae43" fontSize='large' />
<CheckCircleIcon htmlColor="#74ae43" fontSize='large'/>
<div>
{text}
</div>
Expand Down Expand Up @@ -119,8 +119,8 @@ function DMSPolicyInfo(props) {
break;
}

return (
<div className="base-style" style={{ ...styles.baseStyle, ...backgroundStyle }}>
return(
<div className="base-style" style={{...styles.baseStyle, ...backgroundStyle}}>
<div className="section title-text">
<div className="section-text">
<div className="centered" style={Styles.TITLE}>
Expand All @@ -136,7 +136,7 @@ function DMSPolicyInfo(props) {
</div>

<div className="section subtitle-section">
<img src={subtitleImage} />
<img src={subtitleImage}/>
<div className="section-text">
<div className="centered">
{subtitleText}
Expand Down Expand Up @@ -247,5 +247,5 @@ function DMSPolicyInfo(props) {
);
}

export const NIHDMSPolicyInfo = (props) => (<DMSPolicyInfo {...props} variant="NIH" />);
export const AnVILDMSPolicyInfo = (props) => (<DMSPolicyInfo {...props} variant="ANVIL" />);
export const NIHDMSPolicyInfo = (props) => (<DMSPolicyInfo {...props} variant="NIH"/>);
export const AnVILDMSPolicyInfo = (props) => (<DMSPolicyInfo {...props} variant="ANVIL"/>);

0 comments on commit 39512f0

Please sign in to comment.