diff --git a/components/DynamicLogo.tsx b/components/DynamicLogo.tsx index 73a1f58..d66c2ff 100644 --- a/components/DynamicLogo.tsx +++ b/components/DynamicLogo.tsx @@ -1,5 +1,7 @@ "use client"; +import openinaryLoader from '../lib/openinary-loader'; + interface DynamicLogoProps { src: string; color?: string; @@ -17,13 +19,16 @@ export default function DynamicLogo({ size = "contain", className = "" }: DynamicLogoProps) { + + const imageUrl = src.startsWith('/') ? openinaryLoader({ src, width: 800 }) : src; + return (