GhostManSec
Server: LiteSpeed
System: Linux premium197.web-hosting.com 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64
User: parhudrw (1725)
PHP: 7.4.33
Disabled: NONE
Upload Files
File: /home/parhudrw/luca.anqa.it/wp-content/plugins/extendify/src/AutoLaunch/components/Launch.jsx
import { CreatingSite } from '@auto-launch/components/CreatingSite';
import { DescriptionGathering } from '@auto-launch/components/DescriptionGathering';
import { motion } from 'framer-motion';

const MAX_HEIGHT_SMALL = 248;

export const Launch = ({ needsDescription, lastHeight }) => {
	if (needsDescription) {
		return (
			<motion.div
				animate={{ opacity: 1 }}
				exit={{ opacity: 0 }}
				transition={{ duration: 0.4 }}
			>
				<DescriptionGathering />
			</motion.div>
		);
	}

	return (
		<motion.div
			initial={{ opacity: 0, height: lastHeight || 'auto' }}
			animate={{ opacity: 1, height: MAX_HEIGHT_SMALL }}
			transition={{ duration: 0.4 }}
		>
			<CreatingSite height={MAX_HEIGHT_SMALL} />
		</motion.div>
	);
};