From 9cb2afd67eb25a4f869b88abcf86f7748b2b6d71 Mon Sep 17 00:00:00 2001 From: Haileyesus <118998054+blackmammoth@users.noreply.github.com> Date: Mon, 15 Jun 2026 13:47:28 +0300 Subject: [PATCH] fix: upgrade gemini logo --- .../llm-logo-provider/GeminiLogo.tsx | 298 +++++++++++++++--- 1 file changed, 257 insertions(+), 41 deletions(-) diff --git a/src/components/llm-logo-provider/GeminiLogo.tsx b/src/components/llm-logo-provider/GeminiLogo.tsx index d0624d99..17212bd1 100644 --- a/src/components/llm-logo-provider/GeminiLogo.tsx +++ b/src/components/llm-logo-provider/GeminiLogo.tsx @@ -1,47 +1,263 @@ +import { useId } from 'react'; + type GeminiLogoProps = { className?: string; }; -const GeminiLogo = ({ className = 'w-5 h-5' }: GeminiLogoProps) => ( - - - - - - - - - - - - - - - - - - - - -); +const GeminiLogo = ({ className = 'w-5 h-5' }: GeminiLogoProps) => { + const id = useId().replace(/:/g, ''); + const maskId = `${id}-gemini-mask`; + const gradientId = `${id}-gemini-gradient`; + const filterIds = Array.from({ length: 11 }, (_, index) => `${id}-gemini-filter-${index}`); + + return ( + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ); +}; export default GeminiLogo;