import React, { useState, useEffect } from 'react'; import { Swiper, SwiperSlide } from 'swiper/react'; import SwiperCore, { Autoplay, Keyboard, Navigation } from 'swiper'; import projects from 'data/DataAnalysis/projects.json'; import "swiper/css"; import 'swiper/css/autoplay'; import 'swiper/css/keyboard'; import 'swiper/css/navigation'; SwiperCore.use([Autoplay, Keyboard, Navigation]); const Projects = () => { const [load, setLoad] = useState(false); useEffect(() => { setTimeout(() => { setLoad(true); }); }, []); return (
case study

Completed Projects

{ load && ( { projects.map((project, index) => (

{project.title}

{project.text}

Client Name

{project.client.name}

Budget

{project.client.budget}

Estimate

{project.client.estimate}
)) }
) }
) } export default Projects