about summary refs log tree commit diff
path: root/app/lib
diff options
context:
space:
mode:
authorTakeshi Umeda <noel.yoshiba@gmail.com>2020-05-12 22:28:29 +0900
committerGitHub <noreply@github.com>2020-05-12 15:28:29 +0200
commit5daae6dc610bad24eb0030cfaf124930a34805b1 (patch)
treefb33d8aa73d8b9d545bddb0582bff500ca4631b7 /app/lib
parent78202e9138bd605c76d19d5b9d7121d1ae6b5e06 (diff)
Fix keybase config serializer (#13742)
Diffstat (limited to 'app/lib')
-rw-r--r--app/lib/proof_provider/keybase/config_serializer.rb7
1 files changed, 6 insertions, 1 deletions
diff --git a/app/lib/proof_provider/keybase/config_serializer.rb b/app/lib/proof_provider/keybase/config_serializer.rb
index 2840f1823..fbce7aeee 100644
--- a/app/lib/proof_provider/keybase/config_serializer.rb
+++ b/app/lib/proof_provider/keybase/config_serializer.rb
@@ -22,7 +22,12 @@ class ProofProvider::Keybase::ConfigSerializer < ActiveModel::Serializer
   end
 
   def logo
-    { svg_black: full_asset_url(asset_pack_path('media/images/logo_transparent_black.svg')), svg_full: full_asset_url(asset_pack_path('media/images/logo.svg')) }
+    {
+      svg_black: full_asset_url(asset_pack_path('media/images/logo_transparent_black.svg')),
+      svg_white: full_asset_url(asset_pack_path('media/images/logo_transparent_white.svg')),
+      svg_full: full_asset_url(asset_pack_path('media/images/logo.svg')),
+      svg_full_darkmode: full_asset_url(asset_pack_path('media/images/logo.svg')),
+    }
   end
 
   def brand_color