File tree Expand file tree Collapse file tree 6 files changed +31
-6
lines changed
views/layouts/maglev/admin Expand file tree Collapse file tree 6 files changed +31
-6
lines changed Original file line number Diff line number Diff line change @@ -52,9 +52,9 @@ def editor_primary_rgb_color
52
52
def editor_logo_url
53
53
case maglev_config . logo
54
54
when nil
55
- editor_asset_path ( nil , 'logo.png ' )
55
+ editor_asset_path ( nil , 'logo.svg ' )
56
56
when String
57
- editor_asset_path ( maglev_config . logo , 'logo.png ' )
57
+ editor_asset_path ( maglev_config . logo , 'logo.svg ' )
58
58
when Proc
59
59
instance_exec ( maglev_site , &maglev_config . logo )
60
60
end
@@ -63,9 +63,9 @@ def editor_logo_url
63
63
def editor_favicon_url
64
64
case maglev_config . favicon
65
65
when nil
66
- editor_asset_path ( nil , 'favicon.png ' )
66
+ editor_asset_path ( nil , 'favicon.svg ' )
67
67
when String
68
- editor_asset_path ( maglev_config . favicon , 'favicon.png ' )
68
+ editor_asset_path ( maglev_config . favicon , 'favicon.svg ' )
69
69
when Proc
70
70
instance_exec ( maglev_site , &maglev_config . favicon )
71
71
end
Original file line number Diff line number Diff line change 9
9
<%= vite_javascript_tag 'admin' %>
10
10
<%= vite_stylesheet_tag 'admin.scss' %>
11
11
12
- <%= favicon_link_tag vite_asset_path 'images/favicon.png ' %>
12
+ <%= favicon_link_tag vite_asset_path 'images/favicon.svg ' %>
13
13
</ head >
14
14
< body class ="bg-gray-100 ">
15
15
< main role ="main " class ="container mx-auto ">
Original file line number Diff line number Diff line change @@ -79,7 +79,7 @@ def maglev_site; end
79
79
subject { helper . editor_logo_url }
80
80
81
81
it 'returns the default logo url' do
82
- expect ( helper ) . to receive ( :vite_asset_path ) . with ( 'images/logo.png ' )
82
+ expect ( helper ) . to receive ( :vite_asset_path ) . with ( 'images/logo.svg ' )
83
83
subject
84
84
end
85
85
You can’t perform that action at this time.
0 commit comments