Skip to content

Commit

Permalink
Remove youtube special handling
Browse files Browse the repository at this point in the history
  • Loading branch information
Earlopain committed Oct 8, 2023
1 parent 7b27794 commit b0070e7
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/logical/sites/simple_definition.rb
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def handles_image_domain?(domain)
end

def icon_class
"site-icon-#{site_type.starts_with?('youtube') ? 'youtube' : site_type}"
"site-icon-#{site_type}"
end

def gallery_url(identifier)
Expand Down
4 changes: 3 additions & 1 deletion app/stylesheet/base/mixins.scss
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,9 @@ $icons: (
"vkontakte"
"weasyl"
"ychart"
"youtube"
"youtube_channel"
"youtube_legacy"
"youtube_vanity"
);

@mixin site_icon($icon_size) {
Expand Down
File renamed without changes
Binary file added public/icons/youtube_legacy.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/icons/youtube_vanity.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit b0070e7

Please sign in to comment.