| Server IP : 66.29.153.156 / Your IP : 216.73.216.226 Web Server : LiteSpeed System : Linux premium322.web-hosting.com 4.18.0-553.50.1.lve.el8.x86_64 #1 SMP Thu Apr 17 19:10:24 UTC 2025 x86_64 User : lastyfjz ( 1521) PHP Version : 8.1.34 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/lastyfjz/www/wp-content/plugins/extendify/src/Library/components/sidebar/ |
Upload File : |
import { Icon } from '@wordpress/icons';
import { CategoryControl } from '@library/components/sidebar/CategoryControl';
import { extendifyLogo } from '@library/icons/extendify-logo';
const { partnerLogo, partnerName } = window.extSharedData;
export const Sidebar = () => {
return (
<div className="hidden flex-shrink-0 flex-col gap-6 md:flex md:w-80">
{partnerLogo ? (
<div className="flex justify-center bg-banner-main p-6 py-0">
<div className="flex h-20 w-40 items-center justify-center py-3">
<img
className="max-h-full max-w-full"
src={partnerLogo}
alt={partnerName}
/>
</div>
</div>
) : (
<div className="-mb-5 hidden px-5 py-3 text-extendify-black sm:flex sm:pt-5">
<Icon icon={extendifyLogo} size={40} />
</div>
)}
<div className="flex flex-col gap-4 overflow-y-auto pb-16">
<div
id="extendify-library-category-control"
data-test="category-control"
className="hidden flex-col overflow-x-hidden px-4 md:flex">
<CategoryControl />
</div>
</div>
</div>
);
};