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

Creative Works
We Done

    { projects.types.map((type, index) => (
  • )) }
{ projects.tabs.map((tab, index) => (
{ load && ( { tab.projects.map((project, i) => ( )) } ) }
)) } More Projects
) } export default Projects