23 lines
651 B
JavaScript
23 lines
651 B
JavaScript
import React from 'react';
|
|
import KilnPress from './../components/KilnPress';
|
|
import LiquidTrend from './../components/LiquidTrend';
|
|
|
|
import { motion } from 'framer-motion';
|
|
|
|
import cls from './index.module.scss';
|
|
|
|
export default function index() {
|
|
return (
|
|
<motion.div
|
|
className={cls.leftBar}
|
|
initial={{ opacity: 0, position: 'absolute' }}
|
|
animate={{ opacity: 1, position: 'relative' }}
|
|
exit={{ opacity: 0, position: 'relative' }}
|
|
transition={{ type: 'tween' }}
|
|
>
|
|
<KilnPress style={{ flex: 1, width: '100%', marginTop: '24px' }} />
|
|
<LiquidTrend style={{ flex: 1, width: '100%', marginTop: '24px' }} />
|
|
</motion.div>
|
|
);
|
|
}
|