fea13bdc88
The previous version was trying to fetch an optimized image with the exact size required, but the URL given was pre-optimized, so it wasn't working correctly. The additional work is also slow (seems to lock up mobile a bit), and since it wasn't functional, just removed it entirely. It will be easier to just pre-reduce the image size to something suitable for a 1080p screen (the most common screen size at the moment).
15 lines
317 B
JavaScript
15 lines
317 B
JavaScript
// @flow
|
|
import React from 'react';
|
|
import { SITE_NAME, LOGIN_IMG_URL } from 'config';
|
|
|
|
function LoginGraphic(props: any) {
|
|
const alt = __('%SITE_NAME% login', { SITE_NAME });
|
|
|
|
return (
|
|
<div className="signup-image">
|
|
<img alt={alt} src={LOGIN_IMG_URL} />
|
|
</div>
|
|
);
|
|
}
|
|
|
|
export default LoginGraphic;
|