Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix jagged image rendering in IE11 by using low-res versions of images #700

Merged
merged 3 commits into from
Feb 10, 2020
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/assets/logos/png/hr-logo-white-sm.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 2 additions & 3 deletions src/Components/Footer/Footer.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,9 @@
import React from 'react';
import { Link } from 'react-router-dom';
import { getAssetPath } from 'utilities';
import logo from '../../assets/logos/png/horizontal_color.png';

const hrFooterLogo = getAssetPath('/assets/logos/png/hr-logo-white.png');
const tmFooterLogo = getAssetPath('/assets/logos/png/horizontal_white_thin.png');
const hrFooterLogo = getAssetPath('/assets/logos/png/hr-logo-white-sm.png');
const tmFooterLogo = getAssetPath('/assets/logos/png/horizontal_white_thin-sm.png');

const version = process.env.VERSION;

Expand Down
4 changes: 2 additions & 2 deletions src/Components/Header/Header.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ import InteractiveElement from '../InteractiveElement';
import BetaHeader from './BetaHeader';
import ClientHeader from '../ClientHeader';

const logo = getAssetPath('/assets/logos/png/horizontal_white_thin.png');
const hrFooterLogo = getAssetPath('/assets/logos/png/hr-logo-white.png');
const logo = getAssetPath('/assets/logos/png/horizontal_white_thin-sm.png');
const hrFooterLogo = getAssetPath('/assets/logos/png/hr-logo-white-sm.png');

export class Header extends Component {
constructor(props) {
Expand Down
2 changes: 1 addition & 1 deletion src/Components/HomePageBanner/HomePageBanner.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import LinkButton from '../LinkButton';
import { positionCountFetchData } from '../../actions/positionCount';
import { getAssetPath } from '../../utilities';

const logo = getAssetPath('/assets/logos/png/horizontal_color_thin.png');
const logo = getAssetPath('/assets/logos/png/horizontal_color_thin-sm.png');

export const formatNum = n => numeral(n).format('0,0');

Expand Down