403Webshell
Server IP : 63.250.38.98  /  Your IP : 216.73.216.80
Web Server : LiteSpeed
System : Linux premium291.web-hosting.com 4.18.0-553.45.1.lve.el8.x86_64 #1 SMP Wed Mar 26 12:08:09 UTC 2025 x86_64
User : samejjip ( 1289)
PHP Version : 8.1.32
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/samejjip/www/wp-content/plugins/extendify/src/Assist/components/dashboard/cards/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/samejjip/www/wp-content/plugins/extendify/src/Assist/components/dashboard/cards/DemoCard.jsx
import { useTasksStore } from '@assist/state/tasks';

export const DemoCard = ({ task }) => {
	const { completeTask, isCompleted } = useTasksStore();
	return (
		<div
			className="flex h-full w-full bg-cover bg-right-bottom bg-no-repeat"
			style={{
				backgroundImage: `url(${task?.backgroundImage})`,
			}}>
			<div className="flex h-full w-full grow flex-col bg-black/10 px-8 py-8 text-white lg:mr-20 lg:bg-transparent">
				<div className="title text-2xl font-semibold md:mt-32 md:text-4xl md:leading-10">
					{task.title}
				</div>
				<div className="description mt-2 text-sm md:text-base lg:mr-16">
					{task.description}
				</div>
				<div className="cta mt-8 flex flex-wrap items-center text-sm md:gap-3">
					<a
						target="_blank"
						className="min-w-24 cursor-pointer rounded-sm bg-design-main px-4 py-2.5 text-center text-sm font-medium text-design-text no-underline hover:opacity-90 md:block"
						href={task.link}
						onClick={() => completeTask(task.slug)}
						rel="noreferrer">
						{isCompleted(task.slug)
							? task.buttonLabels.completed
							: task.buttonLabels.notCompleted}
					</a>
				</div>
			</div>
		</div>
	);
};

Youez - 2016 - github.com/yon3zu
LinuXploit