Fix hardcoded localhost image on auth layout background

This commit is contained in:
nogafam.es Admin 2021-10-21 14:07:55 +02:00
parent a7ba9b2866
commit a9e65fc687
2 changed files with 2 additions and 2 deletions

View File

@ -1,10 +1,9 @@
div#auth-bground {
div#auth-bground > img {
position: fixed;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
background: url(http://localhost:3000/packs/media/images/preview-5df98290371ead9a70bc3cd4733bbfa7.jpg);
z-index: -5;
filter: blur(50px) opacity(0.5);
}

View File

@ -3,6 +3,7 @@
- content_for :content do
%div#auth-bground
= image_tag @instance_presenter.hero&.file&.url || @instance_presenter.thumbnail&.file&.url || asset_pack_path('media/images/preview.jpg'), alt: @instance_presenter.site_title
.container-alt
.logo-container{ "style" => "margin:0 !important"}
= link_to root_url, class: 'brand' do