From ee48cb296a7e03cf57c35b8512b39ec7162f5313 Mon Sep 17 00:00:00 2001 From: Nalinhue Date: Thu, 8 Jun 2023 17:17:08 +0800 Subject: [PATCH] Added WolframAlpha to search modified: src/components/widgets/search/search.jsx --- src/components/widgets/search/search.jsx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/components/widgets/search/search.jsx b/src/components/widgets/search/search.jsx index 4689567f..ea6944ed 100644 --- a/src/components/widgets/search/search.jsx +++ b/src/components/widgets/search/search.jsx @@ -1,7 +1,7 @@ import { useState, useEffect, Fragment } from "react"; import { useTranslation } from "next-i18next"; import { FiSearch } from "react-icons/fi"; -import { SiDuckduckgo, SiMicrosoftbing, SiGoogle, SiBaidu, SiBrave } from "react-icons/si"; +import { SiDuckduckgo, SiMicrosoftbing, SiGoogle, SiBaidu, SiBrave, SiWolfram } from "react-icons/si"; import { Listbox, Transition } from "@headlessui/react"; import classNames from "classnames"; @@ -31,6 +31,11 @@ export const searchProviders = { url: "https://search.brave.com/search?q=", icon: SiBrave, }, + wolframalpha: { + name: "WolframAlpha", + url: "https://www.wolframalpha.com/input?i=", + icon: SiWolfram, + }, custom: { name: "Custom", url: false,