From 4c52d67a66834cb5546c92305b5a87b7bdb23e33 Mon Sep 17 00:00:00 2001 From: exstral Date: Sun, 24 May 2020 23:15:26 +0200 Subject: [PATCH] use the hometown logo on public pages --- app/helpers/accounts_helper.rb | 6 +----- app/views/layouts/application.html.haml | 1 - 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/app/helpers/accounts_helper.rb b/app/helpers/accounts_helper.rb index 134217734..37b75a5b1 100644 --- a/app/helpers/accounts_helper.rb +++ b/app/helpers/accounts_helper.rb @@ -99,10 +99,6 @@ module AccountsHelper end def svg_logo - content_tag(:svg, tag(:use, 'xlink:href' => '#mastodon-svg-logo'), 'viewBox' => '0 0 216.4144 232.00976') - end - - def svg_logo_full - content_tag(:svg, tag(:use, 'xlink:href' => '#mastodon-svg-logo-full'), 'viewBox' => '0 0 713.35878 175.8678') + content_tag(:svg, tag(:use, 'xlink:href' => '#hometownlogo'), 'viewBox' => '0 0 216.4144 232.00976') end end diff --git a/app/views/layouts/application.html.haml b/app/views/layouts/application.html.haml index d0f4fb47f..d12e0d430 100755 --- a/app/views/layouts/application.html.haml +++ b/app/views/layouts/application.html.haml @@ -38,4 +38,3 @@ .logo-resources = render file: Rails.root.join('app', 'javascript', 'images', 'hometown.svg') - = render file: Rails.root.join('app', 'javascript', 'images', 'logo_full.svg')