|
|
|
@ -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,
|
|
|
|
|