Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions src/assets/App.css
Original file line number Diff line number Diff line change
Expand Up @@ -413,10 +413,6 @@ a {
.dark .blockHeaderWhite {
color: white;
}
.dark .SELogo {
fill: white;
}


.light .blockHeaderWhite {
color: black;
Expand Down
2 changes: 1 addition & 1 deletion src/assets/baidu_logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,7 @@
width: 100%;
height: 100%;
}

.dark .searchEngineLogo .themeAdaptiveFillColor {
fill: white;
}
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ export const SearchBarWithLogo = () => {

return (
<div className="searchBarWithLogo">
{userSearchEngine && userSearchEngine.logo && (
{userSearchEngine?.logo && (
<div className="searchEngineLogo">
<userSearchEngine.logo />
<userSearchEngine.logo className={userSearchEngine?.className} />
</div>
)}
<SearchBar />
Expand Down
6 changes: 4 additions & 2 deletions src/config/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ import { ReactComponent as DuckDuckGoLogo } from 'src/assets/duckduckgo_logo.svg
import { ReactComponent as GoogleLogo } from 'src/assets/google_logo.svg'
import HashNodeIcon from 'src/assets/icon_hashnode.png'
import LobstersIcon from 'src/assets/icon_lobsters.png'
import { ReactComponent as PhindLogo } from 'src/assets/phind_logo.svg'
import { ReactComponent as StartPageLogo } from 'src/assets/startpage_logo.svg'
import { ReactComponent as YahooLogo } from 'src/assets/yahoo_logo.svg'
import { ReactComponent as YandexLogo } from 'src/assets/yandex_logo.svg'
import { ReactComponent as PhindLogo } from 'src/assets/phind_logo.svg'

import {
ConferencesCard,
Expand Down Expand Up @@ -75,6 +75,7 @@ export const SUPPORTED_SEARCH_ENGINES = [
label: 'Yandex',
url: 'https://yandex.ru/search/?text=',
logo: YandexLogo,
className: 'themeAdaptiveFillColor',
},
{
label: 'Startpage',
Expand All @@ -84,7 +85,8 @@ export const SUPPORTED_SEARCH_ENGINES = [
{
label: 'Phind',
url: 'https://phind.com/search?q=',
logo: <PhindLogo className={"SELogo"} />,
logo: PhindLogo,
className: 'themeAdaptiveFillColor',
},
]
export const SUPPORTED_CARDS: SupportedCardType[] = [
Expand Down