sources: add rule34.xxx, safebooru.org, and tbib.org site icons.

Fixes these sources incorrectly using the Gelbooru site icon.
This commit is contained in:
evazion
2022-11-28 15:56:54 -06:00
parent 937e6df7f7
commit 096efdee7b
5 changed files with 16 additions and 0 deletions

View File

@@ -138,6 +138,8 @@ module IconHelper
Redbubble Redbubble
Reddit Reddit
Rule34.us Rule34.us
Rule34.xxx
Safebooru
Sakura.ne.jp Sakura.ne.jp
Sankaku\ Complex Sankaku\ Complex
Shopee Shopee
@@ -154,6 +156,7 @@ module IconHelper
SubscribeStar SubscribeStar
Suzuri Suzuri
Tapas Tapas
TBIB
TeePublic TeePublic
Telegram Telegram
The\ Interviews The\ Interviews

View File

@@ -75,6 +75,19 @@ class Source::URL::Gelbooru < Source::URL
end end
end end
def site_name
case domain
in "rule34.xxx"
"Rule34.xxx"
in "tbib.org"
"TBIB"
in "gelbooru.com"
"Gelbooru"
in "safebooru.org"
"Safebooru"
end
end
def image_url? def image_url?
image_type.present? image_type.present?
end end

Binary file not shown.

After

Width:  |  Height:  |  Size: 378 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

BIN
public/images/tbib-logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 316 B