PluginProbe
Extendify / trunk
Extendify vtrunk
3.2.1 3.2.0 3.1.6 3.1.5 3.1.4 3.1.3 3.1.2 3.1.1 3.1.0 3.0.6 3.0.5 3.0.4 trunk 0.1.0 0.10.0 0.10.1 0.10.2 0.11.0 0.11.1 0.2.0 0.3.0 0.3.1 0.4.0 0.5.0 0.6.0 All 127 releases
extendify / src / AutoLaunch / components / Logo.jsx

Logo.jsx in Extendify trunk, at src/AutoLaunch/components/Logo.jsx

26 lines 604 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 import { extendify } from '@auto-launch/icons';
2 import { Icon } from '@wordpress/icons';
3
4 export const Logo = ({ src, name }) => {
5 if (src) {
6 return (
7 <div className="flex h-ui-logo max-w-52 items-center overflow-hidden rounded-ui-logo md:max-w-72">
8 <img
9 className="h-full w-auto max-w-full rounded-ui-logo object-contain"
10 src={src}
11 alt={name ?? ''}
12 />
13 </div>
14 );
15 }
16
17 // Drawn in currentColor, so it stays legible on any page color a partner picks.
18 return (
19 <Icon
20 width={undefined}
21 icon={extendify}
22 className="h-ui-mark w-auto text-ui-page-text"
23 />
24 );
25 };
26