add custom logo

This commit is contained in:
Tykayn 2021-11-14 18:45:44 +01:00 committed by tykayn
parent 1114935e64
commit 2494fea90b
5 changed files with 17 additions and 0 deletions

View File

@ -787,3 +787,9 @@ DEPENDENCIES
webpacker (~> 5.4) webpacker (~> 5.4)
webpush (~> 0.3) webpush (~> 0.3)
xorcist (~> 1.1) xorcist (~> 1.1)
RUBY VERSION
ruby 2.7.4p191
BUNDLED WITH
2.2.31

Binary file not shown.

After

Width:  |  Height:  |  Size: 187 KiB

View File

@ -6,6 +6,7 @@
@import 'mastodon/reset'; @import 'mastodon/reset';
@import 'mastodon/basics'; @import 'mastodon/basics';
@import 'mastodon/custom';
@import 'mastodon/containers'; @import 'mastodon/containers';
@import 'mastodon/lists'; @import 'mastodon/lists';
@import 'mastodon/footer'; @import 'mastodon/footer';

View File

@ -0,0 +1,6 @@
.custom-img img{
width: 100%;
max-width: 50vw;
display: block;
margin: 0 auto;
}

View File

@ -6,6 +6,10 @@
= render partial: 'shared/og' = render partial: 'shared/og'
.landing .landing
.landing__custom_img
= link_to root_url, class: 'custom-img' do
= image_tag asset_pack_path('media/images/bliss/home.jpg'), alt: @instance_presenter.site_title
%span.brand__tagline=t 'about.tagline'
.landing__brand .landing__brand
= link_to root_url, class: 'brand' do = link_to root_url, class: 'brand' do
= svg_logo_full = svg_logo_full