PluginProbe
Extendify / 3.0.5
Extendify v3.0.5
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 / Launch.jsx

Launch.jsx in Extendify 3.0.5, at src/AutoLaunch/components/Launch.jsx

30 lines 731 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 import { CreatingSite } from '@auto-launch/components/CreatingSite';
2 import { DescriptionGathering } from '@auto-launch/components/DescriptionGathering';
3 import { motion } from 'framer-motion';
4
5 const MAX_HEIGHT_SMALL = 400;
6
7 export const Launch = ({ skipDescription, lastHeight }) => {
8 if (!skipDescription) {
9 return (
10 <motion.div
11 animate={{ opacity: 1 }}
12 exit={{ opacity: 0 }}
13 transition={{ duration: 0.4 }}
14 >
15 <DescriptionGathering />
16 </motion.div>
17 );
18 }
19
20 return (
21 <motion.div
22 initial={{ opacity: 0, height: lastHeight || 'auto' }}
23 animate={{ opacity: 1, height: MAX_HEIGHT_SMALL }}
24 transition={{ duration: 0.4 }}
25 >
26 <CreatingSite height={MAX_HEIGHT_SMALL} />
27 </motion.div>
28 );
29 };
30