| 1 |
import { extendify } from '@auto-launch/icons'; |
| 2 |
import { Icon } from '@wordpress/icons'; |
| 3 |
|
| 4 |
export const Logo = () => { |
| 5 |
if (window.extSharedData?.partnerLogo) { |
| 6 |
return ( |
| 7 |
<div className="flex h-10 max-w-52 items-center overflow-hidden md:max-w-72"> |
| 8 |
<img |
| 9 |
className="h-full w-auto max-w-full object-contain" |
| 10 |
src={window.extSharedData.partnerLogo} |
| 11 |
alt={window.extSharedData?.partnerName ?? ''} |
| 12 |
/> |
| 13 |
</div> |
| 14 |
); |
| 15 |
} |
| 16 |
return ( |
| 17 |
<Icon |
| 18 |
width={undefined} |
| 19 |
icon={extendify} |
| 20 |
className="h-8 w-auto text-banner-text" |
| 21 |
/> |
| 22 |
); |
| 23 |
}; |
| 24 |
|