import {
  Heading
} from "./chunk-HK224ADT.js";
import {
  Badge
} from "./chunk-EWD4AO5N.js";
import {
  Box
} from "./chunk-4Y5BEXVN.js";
import {
  Typo
} from "./chunk-52MVZ6AN.js";
import {
  Flex
} from "./chunk-25HMMI7R.js";

// src/molecules/curriculum-card.tsx
import { TimerIcon } from "@radix-ui/react-icons";
import { jsx, jsxs } from "react/jsx-runtime";
function CurriculumCard(props) {
  const { title, imgTitle, imgSrc, description, runningTime } = props;
  return /* @__PURE__ */ jsxs(Box, { children: [
    /* @__PURE__ */ jsx(
      Box,
      {
        height: "165px",
        style: { backgroundImage: `url(${imgSrc})` },
        width: "100%",
        children: /* @__PURE__ */ jsx(Heading, { children: imgTitle })
      }
    ),
    /* @__PURE__ */ jsxs(Box, { children: [
      /* @__PURE__ */ jsxs(Flex, { children: [
        /* @__PURE__ */ jsx(Heading, { children: title }),
        /* @__PURE__ */ jsxs(Badge, { variant: "outline", children: [
          /* @__PURE__ */ jsx(TimerIcon, {}),
          runningTime
        ] })
      ] }),
      /* @__PURE__ */ jsx(Typo, { children: description })
    ] })
  ] });
}

export {
  CurriculumCard
};
//# sourceMappingURL=chunk-3XPEY2OM.js.map