mirror of
https://github.com/ItzCrazyKns/Perplexica.git
synced 2025-06-23 18:28:34 +00:00
add math and translator
This commit is contained in:
@ -1,5 +1,5 @@
|
|||||||
import {
|
import {
|
||||||
BadgePercent,
|
BadgePercent, Calculator,
|
||||||
ChevronDown,
|
ChevronDown,
|
||||||
Globe,
|
Globe,
|
||||||
Pencil,
|
Pencil,
|
||||||
@ -13,7 +13,7 @@ import {
|
|||||||
PopoverPanel,
|
PopoverPanel,
|
||||||
Transition,
|
Transition,
|
||||||
} from '@headlessui/react';
|
} from '@headlessui/react';
|
||||||
import { SiReddit, SiYoutube } from '@icons-pack/react-simple-icons';
|
import {SiGoogletranslate, SiReddit, SiYoutube} from '@icons-pack/react-simple-icons';
|
||||||
import { Fragment } from 'react';
|
import { Fragment } from 'react';
|
||||||
|
|
||||||
const focusModes = [
|
const focusModes = [
|
||||||
@ -29,6 +29,12 @@ const focusModes = [
|
|||||||
description: 'Search in published academic papers',
|
description: 'Search in published academic papers',
|
||||||
icon: <SwatchBook size={20} />,
|
icon: <SwatchBook size={20} />,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
key: 'wolframAlphaSearch',
|
||||||
|
title: 'Wolfram Alpha',
|
||||||
|
description: 'Computational knowledge engine',
|
||||||
|
icon: <BadgePercent size={20} />,
|
||||||
|
},
|
||||||
{
|
{
|
||||||
key: 'writingAssistant',
|
key: 'writingAssistant',
|
||||||
title: 'Writing',
|
title: 'Writing',
|
||||||
@ -36,11 +42,24 @@ const focusModes = [
|
|||||||
icon: <Pencil size={16} />,
|
icon: <Pencil size={16} />,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: 'wolframAlphaSearch',
|
key: 'mathAssistant',
|
||||||
title: 'Wolfram Alpha',
|
title: 'Math',
|
||||||
description: 'Computational knowledge engine',
|
description: 'Chat without searching the web',
|
||||||
icon: <BadgePercent size={20} />,
|
icon: <Calculator size={25} />,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
key: 'translator',
|
||||||
|
title: 'Trasnlator',
|
||||||
|
description: 'Chat without searching the web',
|
||||||
|
icon: (
|
||||||
|
<SiGoogletranslate
|
||||||
|
className="h-5 w-auto mr-0.5"
|
||||||
|
onPointerEnterCapture={undefined}
|
||||||
|
onPointerLeaveCapture={undefined}
|
||||||
|
/>
|
||||||
|
),
|
||||||
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
key: 'youtubeSearch',
|
key: 'youtubeSearch',
|
||||||
title: 'Youtube',
|
title: 'Youtube',
|
||||||
|
Reference in New Issue
Block a user