"use client";
import React, { useEffect, useState } from "react";
import {
VerticalTimeline,
VerticalTimelineElement,
} from "react-vertical-timeline-component";
import { AnimatePresence, motion } from "framer-motion";
import "react-vertical-timeline-component/style.min.css";
import { SectionWrapper } from "src/hoc";
import { textVariant } from "src/utils/motion";
import { styles } from "src/style";
import { experiences } from "src/constans";
import { activityFake } from "datacalender";
import ActivityCardFake from "@comp/TaskPage/ActivityCardFake/page";
const ExperienceCard = ({ experience }) => {
const [isMobile, setIsMobile] = useState(false);
useEffect(() => {
// Check window size after the component mounts
const handleResize = () => {
setIsMobile(window.innerWidth < 640);
};
// Run the function initially and also when the window is resized
handleResize();
window.addEventListener("resize", handleResize);
// Clean up event listener on unmount
return () => window.removeEventListener("resize", handleResize);
}, []);
return (
{experience.company_name}
{experience.title}
{experience.points.map((point, index) => (
B
ase logics{" "}
Activities performed with Briz