Skip to content

Commit e8ba9bc

Browse files
committed
feat: Improve web search component styling and icon size
This commit enhances the visual appearance of the web search component by: - Replacing the shimmer effect with an animated gradient border for a more modern look. - Increasing the size of the Globe icon for better visibility. - Removing the `shimmer-text` class and adjusting text styling. - Adding `!important` to the rounded corners to ensure they are applied correctly.
1 parent ad05dfa commit e8ba9bc

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/components/Common/Playground/WebSearch.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@ import { Globe } from "lucide-react"
22
import { useTranslation } from "react-i18next"
33

44
export const WebSearch = () => {
5-
const { t } = useTranslation("common")
5+
const {t} = useTranslation('common')
66
return (
7-
<div className="shimmer-container mt-4 flex w-56 items-center gap-4 rounded-lg bg-neutral-100 p-1 text-slate-900 dark:bg-neutral-800 dark:text-slate-50">
7+
<div className="animated-gradient-border mt-4 flex w-56 items-center gap-4 !rounded-lg bg-neutral-100 p-1 text-slate-900 dark:bg-neutral-800 dark:text-slate-50">
88
<div className="rounded p-1">
9-
<Globe className="size-4" />
9+
<Globe className="w-6 h-6" />
1010
</div>
11-
<div className="shimmer-text text-sm font-semibold text-gray-500 dark:text-gray-500 line-clamp-1 text-wrap">
12-
{t("webSearch")}
11+
<div className="text-sm font-semibold">
12+
{t('webSearch')}
1313
</div>
1414
</div>
1515
)

0 commit comments

Comments
 (0)