diff --git a/Gemfile.lock b/Gemfile.lock index 89abd50e9..d8493d960 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -787,3 +787,9 @@ DEPENDENCIES webpacker (~> 5.4) webpush (~> 0.3) xorcist (~> 1.1) + +RUBY VERSION + ruby 2.7.4p191 + +BUNDLED WITH + 2.2.31 diff --git a/app/javascript/images/bliss/home.jpg b/app/javascript/images/bliss/home.jpg new file mode 100644 index 000000000..418033a2d Binary files /dev/null and b/app/javascript/images/bliss/home.jpg differ diff --git a/app/javascript/styles/application.scss b/app/javascript/styles/application.scss index 8ebc45b62..e248acd98 100644 --- a/app/javascript/styles/application.scss +++ b/app/javascript/styles/application.scss @@ -6,6 +6,7 @@ @import 'mastodon/reset'; @import 'mastodon/basics'; +@import 'mastodon/custom'; @import 'mastodon/containers'; @import 'mastodon/lists'; @import 'mastodon/footer'; diff --git a/app/javascript/styles/mastodon/_custom.scss b/app/javascript/styles/mastodon/_custom.scss new file mode 100644 index 000000000..65d720bd1 --- /dev/null +++ b/app/javascript/styles/mastodon/_custom.scss @@ -0,0 +1,6 @@ +.custom-img img{ + width: 100%; + max-width: 50vw; + display: block; + margin: 0 auto; +} diff --git a/app/views/about/show.html.haml b/app/views/about/show.html.haml index 6ae9e6ae0..6d4f6c63e 100644 --- a/app/views/about/show.html.haml +++ b/app/views/about/show.html.haml @@ -6,6 +6,10 @@ = render partial: 'shared/og' .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 = link_to root_url, class: 'brand' do = svg_logo_full