forked from realstoman/react-tailwindcss-portfolio
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathProjectSingle.jsx
30 lines (28 loc) · 852 Bytes
/
ProjectSingle.jsx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
import ProjectGallery from '../components/projects/ProjectGallery';
import ProjectHeader from '../components/projects/ProjectHeader';
import ProjectInfo from '../components/projects/ProjectInfo';
import ProjectRelatedProjects from '../components/projects/ProjectRelatedProjects';
import { SingleProjectProvider } from '../context/SingleProjectContext';
import { motion } from 'framer-motion';
const ProjectSingle = () => {
return (
<motion.div
initial={{ opacity: 0 }}
animate={{ opacity: 1, delay: 1 }}
transition={{
ease: 'easeInOut',
duration: 0.6,
delay: 0.15,
}}
className="container mx-auto mt-5 sm:mt-10"
>
<SingleProjectProvider>
<ProjectHeader />
<ProjectGallery />
<ProjectInfo />
<ProjectRelatedProjects />
</SingleProjectProvider>
</motion.div>
);
};
export default ProjectSingle;