import { Job } from "@/lib/types";
import ExperienceTimeline from "@/components/experience-timeline";

const Experience = ({ jobs }: { jobs: Job[] }) => (
  <div
    id="experience"
    className="flex flex-col items-center gap-8 p-4 w-full"
  >
    <h3 className="mt-4 text-5xl font-bold tracking-tight text-white">
      Experience
    </h3>
    <ExperienceTimeline jobs={jobs} />
  </div>
);

export default Experience;
