Skip to content

Commit

Permalink
Merge pull request #543 from FluxNotes/remove-patina-references
Browse files Browse the repository at this point in the history
Remove patina references
  • Loading branch information
Dtphelan1 committed Dec 19, 2018
2 parents 28a3add + e51c5ce commit a6a8b31
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 36 deletions.
27 changes: 1 addition & 26 deletions src/components/LandingPage.jsx
@@ -1,7 +1,6 @@
import React, { Component } from 'react';
import FontAwesome from 'react-fontawesome';
import Paper from 'material-ui/Paper';
import Button from '../elements/Button';
import '../styles/LandingPage.css';

export default class LandingPage extends Component {
Expand Down Expand Up @@ -140,33 +139,9 @@ export default class LandingPage extends Component {
</p>
</div>
</div>
</div>
</div>

<div className="landing-clinical-trial-banner">
<div className="landing-clinical-trial-banner-title">
Real World Data Capture for Clinical Trial Endpoints
</div>

<div className="landing-clinical-trial-banner-text">
Enable clinical research by prospectively gathering real world clinical treatment data of the
highest quality.
</div>
</div>

<div className="landing-clinical-trials">
<div className="landing-clinical-trials-section patina">
<Button raised href="/patina" className="landing-clinical-trials-button" id="link-to-patina">
Flux Notes™ for PATINA
</Button>

<div className="landing-clinical-trials-description">
The PATINA trial is a phase 3 trial that is exploring the effect of adding palbociclib, an
investigational medicine, into standard treatments for HR+/HER2+ metastatic breast cancer.
</div>
</div>
</div>

<div className="divider divider-long"></div>

<div className="landing-get-involved">
Expand Down Expand Up @@ -247,8 +222,8 @@ export default class LandingPage extends Component {
<a href="https://www.mitre.org/" alt="MITRE Site" target="_blank">
<img src="./logos/MITRE.png" alt="MITRE Logo" className="landing-partners-logo mitre" />
</a>

</div>

</div>
)
}
Expand Down
15 changes: 7 additions & 8 deletions src/index.css
Expand Up @@ -22,16 +22,15 @@ body {
background-color: #F3F3F3;
-webkit-box-shadow: inset 0 0 5px rgba(0,0,0,0.5);
}

/* Hide scrollbar for IE until a specific height or width is reached */
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
/* Hide scrollbar for IE until a specific height or width is reached (This is for the case in full app, when a note is open)*/
/* Commenting out this line for now because it causes hthe landing page to not be scrollable in IE*/
/* @media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
body {
overflow: hidden;
}
}

} */

/* This line is needed so that users are able to scroll in IE on the landing page */
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) and (max-height: 525px), (max-width: 1160px) {
body {
overflow: auto;
}
}
overflow: auto; } }
2 changes: 0 additions & 2 deletions test/backend/views/Landing.test.js
Expand Up @@ -12,7 +12,5 @@ describe('Landing', function() {
const wrapper = shallow(<LandingPage/>);
const fullAppDiv = wrapper.find('#link-to-full');
expect(fullAppDiv.prop('href')).to.equal('/pilot1')
const patinaDiv = wrapper.find('#link-to-patina');
expect(patinaDiv.prop('href')).to.equal('/patina');
});
});

0 comments on commit a6a8b31

Please sign in to comment.