@@ -142,11 +142,10 @@ function LogoVariantCard({
142142}
143143
144144interface LogoDownloadProps {
145- isHomePage : boolean ;
146145 open : boolean ;
147146}
148147
149- export function LogoDownload ( { isHomePage , open } : LogoDownloadProps ) {
148+ export function LogoDownload ( { open } : LogoDownloadProps ) {
150149 const [ showPopover , setShowPopover ] = React . useState ( false ) ;
151150 const [ mounted , setMounted ] = React . useState ( false ) ;
152151 const triggerRef = React . useRef < HTMLDivElement > ( null ) ;
@@ -190,9 +189,7 @@ export function LogoDownload({ isHomePage, open }: LogoDownloadProps) {
190189 < DatabaseLogo
191190 className = { cx (
192191 "w-28 sm:w-32 transition-colors" ,
193- isHomePage && ! open
194- ? "brightness-0 invert"
195- : "dark:brightness-0 dark:invert" ,
192+ ! open ? "brightness-0 invert" : "dark:brightness-0 dark:invert" ,
196193 ) }
197194 />
198195 </ button >
@@ -201,9 +198,7 @@ export function LogoDownload({ isHomePage, open }: LogoDownloadProps) {
201198 "absolute -bottom-5 left-0 text-[10px] font-medium tracking-wide transition-all duration-200 pointer-events-none whitespace-nowrap" ,
202199 "opacity-0 group-hover:opacity-100 translate-y-0.5 group-hover:translate-y-0" ,
203200 showPopover && "!opacity-0" ,
204- isHomePage && ! open
205- ? "text-white/60"
206- : "text-indigo-400/60 dark:text-white/40" ,
201+ ! open ? "text-white/60" : "text-indigo-400/60 dark:text-white/40" ,
207202 ) }
208203 >
209204 [ Brand Assets ]
@@ -252,7 +247,7 @@ export function LogoDownload({ isHomePage, open }: LogoDownloadProps) {
252247 filenamePrefix = "paradedb-logo-light"
253248 />
254249 < LogoVariantCard
255- label = "Dark "
250+ label = "White "
256251 svgPath = "/brand/paradedb-logo-dark.svg"
257252 bgClass = "bg-slate-950"
258253 logoWidth = { 639 }
0 commit comments