Add new translations and update existing ones

This commit is contained in:
n4ze3m
2024-03-24 14:38:37 +05:30
parent 9a2adbd859
commit d9ce1e2d2c
8 changed files with 116 additions and 37 deletions

View File

@@ -1,12 +1,16 @@
import { Globe } from "lucide-react"
import { useTranslation } from "react-i18next"
export const WebSearch = () => {
const {t} = useTranslation('common')
return (
<div className="gradient-border mt-4 flex w-56 items-center gap-4 rounded-lg bg-neutral-100 p-1ccc text-slate-900 dark:bg-neutral-800 dark:text-slate-50">
<div className="rounded p-1">
<Globe className="w-6 h-6" />
</div>
<div className="text-sm font-semibold">Searching the web</div>
<div className="text-sm font-semibold">
{t('webSearch')}
</div>
</div>
)
}