File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -230,6 +230,7 @@ const HeaderComponent = () => {
230230 const searchParams = useSearchParams ( ) ;
231231 const utmSource = searchParams . get ( 'utm_source' ) ;
232232 const { isLightTheme, setIsLightTheme } = useTheme ( ) ;
233+ const logoSrc = isLightTheme ? '/images/bb-logo-light.svg' : '/images/bb-logo.svg' ;
233234 const { collapsed, setCollapsed } : LayoutContextModel =
234235 useContext ( LayoutContext ) ;
235236
@@ -363,7 +364,7 @@ const HeaderComponent = () => {
363364 < div className = "container mx-auto flex items-center justify-between py-3" >
364365 < Link href = { `${ WEB_URL } ` } className = "flex items-center" >
365366 < Image
366- src = "/images/bb-logo.svg"
367+ src = { logoSrc }
367368 width = { 190 }
368369 height = { 32 }
369370 alt = "Logo"
@@ -488,7 +489,7 @@ const HeaderComponent = () => {
488489 </ div >
489490 < Link href = { `${ WEB_URL } ` } >
490491 < Image
491- src = "/images/bb-logo.svg"
492+ src = { logoSrc }
492493 width = { 150 }
493494 height = { 32 }
494495 alt = "Logo"
Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ import { useTheme } from '@/app/contexts/themeContext';
1414
1515const FooterComponent = ( ) => {
1616 const { isLightTheme } = useTheme ( ) ;
17+ const logoSrc = isLightTheme ? '/images/bb-logo-light.svg' : '/images/bb-logo.svg' ;
1718 const pathname = usePathname ( ) ;
1819 const router = useRouter ( ) ;
1920 const [ sectionId , setSectionId ] = useState < string | null > ( null ) ;
@@ -259,7 +260,7 @@ const FooterComponent = () => {
259260 < div className = "flex flex-wrap items-center gap-3 lg:gap-1" >
260261 < Link href = { `${ WEB_URL } ` } className = "flex-shrink-0" >
261262 < Image
262- src = "/images/bb-logo.svg"
263+ src = { logoSrc }
263264 width = { 580 }
264265 height = { 100 }
265266 alt = "Logo"
You can’t perform that action at this time.
0 commit comments