De-elephanting
This commit is contained in:
parent
40e4bdcc47
commit
7867151bd7
5 changed files with 4 additions and 4 deletions
|
@ -7,11 +7,11 @@ ready(() => {
|
|||
if (!image) return;
|
||||
|
||||
image.addEventListener('mouseenter', () => {
|
||||
image.src = '/oops.gif';
|
||||
image.src = '/error-anim.gif';
|
||||
});
|
||||
|
||||
image.addEventListener('mouseleave', () => {
|
||||
image.src = '/oops.png';
|
||||
image.src = '/error-static.png';
|
||||
});
|
||||
}).catch((e: unknown) => {
|
||||
console.error(e);
|
||||
|
|
|
@ -140,7 +140,7 @@ class BundleColumnError extends PureComponent {
|
|||
return (
|
||||
<Column bindToDocument={!multiColumn}>
|
||||
<div className='error-column'>
|
||||
<GIF src='/oops.gif' staticSrc='/oops.png' className='error-column__image' />
|
||||
<GIF src='/error-anim.gif' staticSrc='/error-static.png' className='error-column__image' />
|
||||
|
||||
<div className='error-column__message'>
|
||||
<h1>{title}</h1>
|
||||
|
|
|
@ -11,6 +11,6 @@
|
|||
%body.error
|
||||
.dialog
|
||||
.dialog__illustration
|
||||
%img{ alt: Setting.default_settings['site_title'], src: '/oops.png' }/
|
||||
%img{ alt: Setting.default_settings['site_title'], src: '/error-static.png' }/
|
||||
.dialog__message
|
||||
%h1= yield :content
|
||||
|
|
BIN
public/error-anim.gif
Normal file
BIN
public/error-anim.gif
Normal file
Binary file not shown.
After Width: | Height: | Size: 997 KiB |
BIN
public/error-static.png
Normal file
BIN
public/error-static.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 124 KiB |
Loading…
Reference in a new issue