AnonSec Shell
Server IP : 198.54.125.146  /  Your IP : 18.191.240.134   [ Reverse IP ]
Web Server : LiteSpeed
System : Linux business38.web-hosting.com 4.18.0-513.18.1.lve.el8.x86_64 #1 SMP Thu Feb 22 12:55:50 UTC 2024 x86_64
User : engixevu ( 716)
PHP Version : 8.1.31
Disable Function : NONE
Domains : 1 Domains
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/engixevu/smartjobbox.com/wp-content/themes/astra/admin/assets/components/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     [ BACKUP SHELL ]     [ JUMPING ]     [ MASS DEFACE ]     [ SCAN ROOT ]     [ SYMLINK ]     

Current File : /home/engixevu/smartjobbox.com/wp-content/themes/astra/admin/assets/components/PromoCard.js
import { classNames } from "@astra-utils/helpers";

const PromoCard = ({
	className = "",
	id,
	icon,
	title,
	description,
	linkHRef,
	linkText,
	children,
}) => {
	return (
		<section aria-labelledby={`section-${id}-title`}>
			<h2 className="sr-only" id={`section-${id}-title`}>
				{title}
			</h2>
			<div
				className={classNames(
					"relative box-border rounded-md bg-white shadow-sm overflow-hidden transition hover:shadow-hover",
					className
				)}
			>
				<div className="p-6">
					{/* Card Icon */}
					{icon && <span className="inline-block mb-2">{icon}</span>}

					{/* Card Title */}
					<h3 className="relative flex items-center text-slate-800 text-base font-semibold pb-2">
						<span className="flex-1">{title}</span>
					</h3>

					{/* Card Description */}
					{!children && (
						<p className="text-slate-500 text-sm pb-5">
							{description}
						</p>
					)}

					{/* Card Content */}
					{children}

					{/* Card Link */}
					{linkText && (
						<a
							className="text-sm text-astra focus:text-astra focus-visible:text-astra-hover active:text-astra-hover hover:text-astra-hover no-underline"
							href={linkHRef}
							target="_blank"
							rel="noreferrer"
						>
							{linkText}
						</a>
					)}
				</div>
			</div>
		</section>
	);
};

export default PromoCard;

Anon7 - 2022
AnonSec Team