Merge pull request #284 from josways/main

support Baidu search engine
pull/302/head
Jason Fischer 2 years ago committed by GitHub
commit 1765a97f31
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,7 +1,7 @@
import { useState } from "react";
import { useTranslation } from "react-i18next";
import { FiSearch } from "react-icons/fi";
import { SiDuckduckgo, SiMicrosoftbing, SiGoogle } from "react-icons/si";
import { SiDuckduckgo, SiMicrosoftbing, SiGoogle, SiBaidu } from "react-icons/si";
const providers = {
google: {
@ -19,6 +19,11 @@ const providers = {
url: "https://www.bing.com/search?q=",
icon: SiMicrosoftbing,
},
baidu: {
name: "Baidu",
url: "https://www.baidu.com/s?wd=",
icon: SiBaidu,
},
custom: {
name: "Custom",
url: false,

Loading…
Cancel
Save