Remove keysmash elephant from 404 page and replace with the name of the instance

This commit is contained in:
Emma Winston 2019-10-01 18:44:35 +01:00
parent 3d09d6369d
commit 08f6148334
2 changed files with 9 additions and 2 deletions

View File

@ -109,6 +109,12 @@ body {
height: auto; height: auto;
margin-top: -120px; margin-top: -120px;
} }
h1 {
a.brand {
font-size: 36px;
}
}
} }
h1 { h1 {

View File

@ -8,10 +8,11 @@
= stylesheet_pack_tag 'common', media: 'all' = stylesheet_pack_tag 'common', media: 'all'
= stylesheet_pack_tag Setting.default_settings['theme'], media: 'all' = stylesheet_pack_tag Setting.default_settings['theme'], media: 'all'
= javascript_pack_tag 'common', integrity: true, crossorigin: 'anonymous' = javascript_pack_tag 'common', integrity: true, crossorigin: 'anonymous'
= javascript_pack_tag 'error', integrity: true, crossorigin: 'anonymous'
%body.error %body.error
.dialog .dialog
.dialog__illustration .dialog__illustration
%img{ alt: Setting.default_settings['site_title'], src: '/oops.png' }/ %h1
= link_to root_url, class: 'brand' do
= site_title
.dialog__message .dialog__message
%h1= yield :content %h1= yield :content