diff --git a/app/javascript/entrypoints/error.ts b/app/javascript/entrypoints/error.ts index db68484f3..97bdb5d4a 100644 --- a/app/javascript/entrypoints/error.ts +++ b/app/javascript/entrypoints/error.ts @@ -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); diff --git a/app/javascript/mastodon/features/ui/components/bundle_column_error.jsx b/app/javascript/mastodon/features/ui/components/bundle_column_error.jsx index eb6682d77..881d94ca8 100644 --- a/app/javascript/mastodon/features/ui/components/bundle_column_error.jsx +++ b/app/javascript/mastodon/features/ui/components/bundle_column_error.jsx @@ -140,7 +140,7 @@ class BundleColumnError extends PureComponent { return (
- +

{title}

diff --git a/app/views/layouts/error.html.haml b/app/views/layouts/error.html.haml index 0e4a27d1f..a7036f475 100644 --- a/app/views/layouts/error.html.haml +++ b/app/views/layouts/error.html.haml @@ -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 diff --git a/public/error-anim.gif b/public/error-anim.gif new file mode 100644 index 000000000..acb30793c Binary files /dev/null and b/public/error-anim.gif differ diff --git a/public/error-static.png b/public/error-static.png new file mode 100644 index 000000000..e1102dfc2 Binary files /dev/null and b/public/error-static.png differ