boottent-design 0.1.237 → 0.1.238

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (46) hide show
  1. package/dist/DESIGN.md +2 -2
  2. package/dist/article-asset-card-CC9LWxwh.cjs +1 -0
  3. package/dist/article-asset-card-DJ01lgjB.js +83 -0
  4. package/dist/{blog-review-card-BrnrIjoU.js → blog-review-card-5g1rbMJ_.js} +10 -11
  5. package/dist/blog-review-card-D4UJwom2.cjs +1 -0
  6. package/dist/{company-info-card-Cj6cQEKz.js → company-info-card-CpxDQZoa.js} +31 -24
  7. package/dist/company-info-card-Dx_4nPGT.cjs +1 -0
  8. package/dist/components/article-asset-card.cjs.js +1 -1
  9. package/dist/components/article-asset-card.es.js +1 -1
  10. package/dist/components/blog-review-card.cjs.js +1 -1
  11. package/dist/components/blog-review-card.es.js +1 -1
  12. package/dist/components/company-info-card.cjs.js +1 -1
  13. package/dist/components/company-info-card.es.js +1 -1
  14. package/dist/components/event-asset-banner.cjs.js +1 -1
  15. package/dist/components/event-asset-banner.es.js +1 -1
  16. package/dist/components/portfolio-asset-card.cjs.js +1 -1
  17. package/dist/components/portfolio-asset-card.es.js +3 -2
  18. package/dist/components/youtube-video-modal.cjs.js +1 -0
  19. package/dist/components/youtube-video-modal.es.js +5 -0
  20. package/dist/components.cjs.js +1 -1
  21. package/dist/components.es.js +18 -15
  22. package/dist/{event-asset-banner-BH8ebSW8.js → event-asset-banner-C4s2AcNJ.js} +14 -15
  23. package/dist/event-asset-banner-DLKw6TZu.cjs +1 -0
  24. package/dist/portfolio-asset-card-CYRD5Pmy.js +88 -0
  25. package/dist/portfolio-asset-card-ChxZMbNY.cjs +1 -0
  26. package/dist/styles.css +1 -1
  27. package/dist/types/article-asset-card.d.ts +1 -15
  28. package/dist/types/blog-review-card.d.ts +0 -11
  29. package/dist/types/company-info-card.d.ts +2 -15
  30. package/dist/types/components/youtube-video-modal.d.ts +2 -0
  31. package/dist/types/components.d.ts +23 -28
  32. package/dist/types/event-asset-banner.d.ts +1 -16
  33. package/dist/types/portfolio-asset-card.d.ts +8 -15
  34. package/dist/types/youtube-video-modal.d.ts +14 -0
  35. package/dist/youtube-video-modal-CENnr9lf.js +82 -0
  36. package/dist/youtube-video-modal-pooOcDO1.cjs +1 -0
  37. package/package.json +3 -3
  38. package/dist/article-asset-card-C26wmaxu.js +0 -86
  39. package/dist/article-asset-card-DAnjKfe8.cjs +0 -1
  40. package/dist/blog-review-card-CefktFkg.cjs +0 -1
  41. package/dist/company-info-card-B1P2lZ_m.cjs +0 -1
  42. package/dist/event-asset-banner-BjQMwNxl.cjs +0 -1
  43. package/dist/portfolio-asset-card-BaYjpE7Y.cjs +0 -1
  44. package/dist/portfolio-asset-card-nDHPKJlF.js +0 -96
  45. package/dist/shared-C7UgV0HP.js +0 -21
  46. package/dist/shared-CvAG5bqD.cjs +0 -1
package/dist/DESIGN.md CHANGED
@@ -2,8 +2,8 @@
2
2
 
3
3
  > [!WARNING]
4
4
  > **자동 생성된 파일 — 직접 수정 금지**
5
- > 생성 일시: 2026. 5. 19. 오후 2:43:51
6
- > 원본 소스: boottent-design v0.1.237
5
+ > 생성 일시: 2026. 5. 19. 오후 3:53:39
6
+ > 원본 소스: boottent-design v0.1.238
7
7
 
8
8
  ## 1. 개요 (Overview)
9
9
 
@@ -0,0 +1 @@
1
+ "use strict";const e=require("react/jsx-runtime"),s=require("./index-DKCqkplO.cjs");require("./ui/accordion.cjs.js");require("./ui/alert-dialog.cjs.js");require("@radix-ui/react-aspect-ratio");require("./ui/avatar.cjs.js");require("./ui/badge.cjs.js");require("./ui/button.cjs.js");require("./ui/calendar.cjs.js");require("./ui/callout.cjs.js");require("./ui/card.cjs.js");require("./ui/checkbox.cjs.js");require("lucide-react");require("./ui/command.cjs.js");require("./ui/dialog.cjs.js");require("./ui/dropdown-menu.cjs.js");require("./ui/file-uploader.cjs.js");require("./ui/form.cjs.js");const o=require("./ui/icons.cjs.js");require("./ui/input.cjs.js");require("./ui/label.cjs.js");require("./ui/month-picker.cjs.js");require("./ui/multi-select.cjs.js");require("./ui/navigation-menu.cjs.js");require("./ui/popover.cjs.js");require("./ui/radio-group.cjs.js");require("./ui/scroll-area.cjs.js");require("./ui/select.cjs.js");require("./ui/separator.cjs.js");require("@radix-ui/react-slider");require("react");require("./ui/switch.cjs.js");require("./ui/tabs.cjs.js");require("./ui/tag.cjs.js");require("./ui/text.cjs.js");require("./ui/textarea.cjs.js");require("./ui/toast.cjs.js");require("./ui/toggle.cjs.js");require("./ui/toggle-group.cjs.js");require("./ui/tooltip.cjs.js");const t={bootcamp:{text:"부트캠프",color:"",background:""},job:{text:"취업꿀팁",color:s.colors.brown[500],background:s.colors.brown[50]},study:{text:"개념정리",color:s.colors.lime[500],background:s.colors.lime[50]},insight:{text:"인사이트",color:s.colors.blue[500],background:s.colors.blue[50]},webtoon:{text:"개발자툰",color:"",background:""}};function u({children:r,backgroundColor:l,color:i}){return e.jsx("div",{style:{backgroundColor:l,color:i},className:"whitespace-nowrap break-keep rounded bg-grey-100 px-2 py-0.5 text-regular13 text-grey-600 xs:text-regular14",children:r})}function c({article:r,isYoutube:l=!1}){const i=r.category?t[r.category]:void 0;return e.jsx("div",{className:"w-full list-none overflow-hidden rounded-[10px] border border-grey-200 bg-white","data-asset-id":r.assetId,children:e.jsxs("div",{className:"flex w-full flex-col",children:[e.jsxs("div",{className:"relative w-full shrink-0 overflow-hidden",children:[e.jsx("img",{src:r.imageUrl,alt:"image",className:"aspect-video w-full object-cover",loading:"lazy"}),l&&e.jsx("div",{className:"absolute inset-0 flex items-center justify-center bg-white/30",children:e.jsx(o.Icon.Play,{size:"40"})})]}),e.jsxs("div",{className:"flex flex-col items-start gap-2 p-4",children:[i&&e.jsx(u,{backgroundColor:i.background||"",color:i.color||"",children:i.text}),e.jsxs("div",{className:"flex flex-col gap-2",children:[e.jsx("p",{className:"line-clamp-2 text-semibold14 xs:text-semibold16",children:r.title}),e.jsx("p",{className:"line-clamp-3 text-regular13 text-grey-500 xs:text-regular14",children:r.description})]})]})]})})}exports.ArticleAssetCard=c;
@@ -0,0 +1,83 @@
1
+ import { jsx as o, jsxs as i } from "react/jsx-runtime";
2
+ import { c as e } from "./index-BFsbj9HY.js";
3
+ import "./ui/accordion.es.js";
4
+ import "./ui/alert-dialog.es.js";
5
+ import "@radix-ui/react-aspect-ratio";
6
+ import "./ui/avatar.es.js";
7
+ import "./ui/badge.es.js";
8
+ import "./ui/button.es.js";
9
+ import "./ui/calendar.es.js";
10
+ import "./ui/callout.es.js";
11
+ import "./ui/card.es.js";
12
+ import "./ui/checkbox.es.js";
13
+ import "lucide-react";
14
+ import "./ui/command.es.js";
15
+ import "./ui/dialog.es.js";
16
+ import "./ui/dropdown-menu.es.js";
17
+ import "./ui/file-uploader.es.js";
18
+ import "./ui/form.es.js";
19
+ import { Icon as m } from "./ui/icons.es.js";
20
+ import "./ui/input.es.js";
21
+ import "./ui/label.es.js";
22
+ import "./ui/month-picker.es.js";
23
+ import "./ui/multi-select.es.js";
24
+ import "./ui/navigation-menu.es.js";
25
+ import "./ui/popover.es.js";
26
+ import "./ui/radio-group.es.js";
27
+ import "./ui/scroll-area.es.js";
28
+ import "./ui/select.es.js";
29
+ import "./ui/separator.es.js";
30
+ import "@radix-ui/react-slider";
31
+ import "react";
32
+ import "./ui/switch.es.js";
33
+ import "./ui/tabs.es.js";
34
+ import "./ui/tag.es.js";
35
+ import "./ui/text.es.js";
36
+ import "./ui/textarea.es.js";
37
+ import "./ui/toast.es.js";
38
+ import "./ui/toggle.es.js";
39
+ import "./ui/toggle-group.es.js";
40
+ import "./ui/tooltip.es.js";
41
+ const a = {
42
+ bootcamp: { text: "부트캠프", color: "", background: "" },
43
+ job: { text: "취업꿀팁", color: e.brown[500], background: e.brown[50] },
44
+ study: { text: "개념정리", color: e.lime[500], background: e.lime[50] },
45
+ insight: { text: "인사이트", color: e.blue[500], background: e.blue[50] },
46
+ webtoon: { text: "개발자툰", color: "", background: "" }
47
+ };
48
+ function p({ children: r, backgroundColor: l, color: t }) {
49
+ return /* @__PURE__ */ o(
50
+ "div",
51
+ {
52
+ style: { backgroundColor: l, color: t },
53
+ className: "whitespace-nowrap break-keep rounded bg-grey-100 px-2 py-0.5 text-regular13 text-grey-600 xs:text-regular14",
54
+ children: r
55
+ }
56
+ );
57
+ }
58
+ function X({ article: r, isYoutube: l = !1 }) {
59
+ const t = r.category ? a[r.category] : void 0;
60
+ return /* @__PURE__ */ o(
61
+ "div",
62
+ {
63
+ className: "w-full list-none overflow-hidden rounded-[10px] border border-grey-200 bg-white",
64
+ "data-asset-id": r.assetId,
65
+ children: /* @__PURE__ */ i("div", { className: "flex w-full flex-col", children: [
66
+ /* @__PURE__ */ i("div", { className: "relative w-full shrink-0 overflow-hidden", children: [
67
+ /* @__PURE__ */ o("img", { src: r.imageUrl, alt: "image", className: "aspect-video w-full object-cover", loading: "lazy" }),
68
+ l && /* @__PURE__ */ o("div", { className: "absolute inset-0 flex items-center justify-center bg-white/30", children: /* @__PURE__ */ o(m.Play, { size: "40" }) })
69
+ ] }),
70
+ /* @__PURE__ */ i("div", { className: "flex flex-col items-start gap-2 p-4", children: [
71
+ t && /* @__PURE__ */ o(p, { backgroundColor: t.background || "", color: t.color || "", children: t.text }),
72
+ /* @__PURE__ */ i("div", { className: "flex flex-col gap-2", children: [
73
+ /* @__PURE__ */ o("p", { className: "line-clamp-2 text-semibold14 xs:text-semibold16", children: r.title }),
74
+ /* @__PURE__ */ o("p", { className: "line-clamp-3 text-regular13 text-grey-500 xs:text-regular14", children: r.description })
75
+ ] })
76
+ ] })
77
+ ] })
78
+ }
79
+ );
80
+ }
81
+ export {
82
+ X as A
83
+ };
@@ -1,15 +1,15 @@
1
1
  import { jsxs as t, jsx as l } from "react/jsx-runtime";
2
- import { r as h } from "./shared-C7UgV0HP.js";
3
- const f = ["blogthumb.pstatic.net", "naverblog.com"], k = ({ review: e, renderLink: n }) => {
4
- var c;
2
+ const u = ["blogthumb.pstatic.net", "naverblog.com"], b = ({ review: e }) => {
3
+ var a;
5
4
  if (!e.pagemap) return null;
6
- const r = (c = e.pagemap.metatags) == null ? void 0 : c[0], u = (r == null ? void 0 : r["og:description"]) || e.snippet, d = (() => {
7
- var s, o, i, x, m, g;
8
- return (i = (o = (s = e.pagemap) == null ? void 0 : s.cse_thumbnail) == null ? void 0 : o[0]) != null && i.src ? e.pagemap.cse_thumbnail[0].src : (g = (m = (x = e.pagemap) == null ? void 0 : x.cse_image) == null ? void 0 : m[0]) != null && g.src ? e.pagemap.cse_image[0].src : r != null && r["og:image"] ? r["og:image"] : "";
9
- })(), p = f.some((s) => d.includes(s)), a = /* @__PURE__ */ t("div", { className: "flex w-full flex-col gap-2 overflow-hidden rounded-lg border border-grey-200 p-4 xs:h-36 xs:flex-row xs:gap-0 xs:p-0", children: [
5
+ const r = (a = e.pagemap.metatags) == null ? void 0 : a[0], g = (r == null ? void 0 : r["og:description"]) || e.snippet, d = (() => {
6
+ var s, n, o, c, i, x;
7
+ return (o = (n = (s = e.pagemap) == null ? void 0 : s.cse_thumbnail) == null ? void 0 : n[0]) != null && o.src ? e.pagemap.cse_thumbnail[0].src : (x = (i = (c = e.pagemap) == null ? void 0 : c.cse_image) == null ? void 0 : i[0]) != null && x.src ? e.pagemap.cse_image[0].src : r != null && r["og:image"] ? r["og:image"] : "";
8
+ })(), m = u.some((s) => d.includes(s));
9
+ return /* @__PURE__ */ t("div", { className: "flex w-full flex-col gap-2 overflow-hidden rounded-lg border border-grey-200 p-4 xs:h-36 xs:flex-row xs:gap-0 xs:p-0", children: [
10
10
  /* @__PURE__ */ l("h5", { className: "line-clamp-1 block text-semibold16 text-grey-800 xs:hidden", children: e.title }),
11
11
  /* @__PURE__ */ t("div", { className: "flex w-full flex-row items-center gap-4 xs:gap-0", children: [
12
- d && !p ? /* @__PURE__ */ l("div", { className: "flex aspect-square w-20 shrink-0 items-center justify-center overflow-hidden rounded-[10px] border border-grey-200 xs:w-36 xs:rounded-l-lg xs:rounded-r-none xs:border-y-0 xs:border-l-0 xs:border-r", children: /* @__PURE__ */ l(
12
+ d && !m ? /* @__PURE__ */ l("div", { className: "flex aspect-square w-20 shrink-0 items-center justify-center overflow-hidden rounded-[10px] border border-grey-200 xs:w-36 xs:rounded-l-lg xs:rounded-r-none xs:border-y-0 xs:border-l-0 xs:border-r", children: /* @__PURE__ */ l(
13
13
  "img",
14
14
  {
15
15
  src: d,
@@ -20,14 +20,13 @@ const f = ["blogthumb.pstatic.net", "naverblog.com"], k = ({ review: e, renderLi
20
20
  ) }) : /* @__PURE__ */ l("div", { className: "hidden aspect-square w-20 shrink-0 items-center justify-center overflow-hidden rounded-[10px] border border-grey-200 bg-white xs:flex xs:w-36 xs:rounded-l-lg xs:rounded-r-none xs:border-y-0 xs:border-l-0 xs:border-r", children: "BLOG" }),
21
21
  /* @__PURE__ */ t("div", { className: "flex h-full grow flex-col gap-1.5 overflow-hidden p-0 xs:gap-2.5 xs:p-5", children: [
22
22
  /* @__PURE__ */ l("h5", { className: "hidden truncate text-semibold16 text-grey-800 xs:block", children: e.title }),
23
- /* @__PURE__ */ l("div", { className: "line-clamp-4 w-full text-regular14 xs:line-clamp-2 xs:text-regular16", children: u }),
23
+ /* @__PURE__ */ l("div", { className: "line-clamp-4 w-full text-regular14 xs:line-clamp-2 xs:text-regular16", children: g }),
24
24
  /* @__PURE__ */ l("div", { className: "hidden truncate text-regular13 text-violet-600 xs:block xs:text-regular14", children: e.displayLink })
25
25
  ] })
26
26
  ] }),
27
27
  /* @__PURE__ */ l("div", { className: "block truncate rounded bg-grey-100 px-2 py-1 text-regular13 text-violet-600 xs:hidden", children: e.displayLink })
28
28
  ] });
29
- return /* @__PURE__ */ l("li", { className: "w-full", children: n ? n({ href: e.link, children: a }) : h({ href: e.link, children: a }) });
30
29
  };
31
30
  export {
32
- k as B
31
+ b as B
33
32
  };
@@ -0,0 +1 @@
1
+ "use strict";const s=require("react/jsx-runtime"),u=["blogthumb.pstatic.net","naverblog.com"],m=({review:e})=>{var t;if(!e.pagemap)return null;const l=(t=e.pagemap.metatags)==null?void 0:t[0],x=(l==null?void 0:l["og:description"])||e.snippet,d=(()=>{var r,n,a,c,i,o;return(a=(n=(r=e.pagemap)==null?void 0:r.cse_thumbnail)==null?void 0:n[0])!=null&&a.src?e.pagemap.cse_thumbnail[0].src:(o=(i=(c=e.pagemap)==null?void 0:c.cse_image)==null?void 0:i[0])!=null&&o.src?e.pagemap.cse_image[0].src:l!=null&&l["og:image"]?l["og:image"]:""})(),g=u.some(r=>d.includes(r));return s.jsxs("div",{className:"flex w-full flex-col gap-2 overflow-hidden rounded-lg border border-grey-200 p-4 xs:h-36 xs:flex-row xs:gap-0 xs:p-0",children:[s.jsx("h5",{className:"line-clamp-1 block text-semibold16 text-grey-800 xs:hidden",children:e.title}),s.jsxs("div",{className:"flex w-full flex-row items-center gap-4 xs:gap-0",children:[d&&!g?s.jsx("div",{className:"flex aspect-square w-20 shrink-0 items-center justify-center overflow-hidden rounded-[10px] border border-grey-200 xs:w-36 xs:rounded-l-lg xs:rounded-r-none xs:border-y-0 xs:border-l-0 xs:border-r",children:s.jsx("img",{src:d,alt:`${e.title} 썸네일`,className:"h-full w-full object-cover",loading:"lazy"})}):s.jsx("div",{className:"hidden aspect-square w-20 shrink-0 items-center justify-center overflow-hidden rounded-[10px] border border-grey-200 bg-white xs:flex xs:w-36 xs:rounded-l-lg xs:rounded-r-none xs:border-y-0 xs:border-l-0 xs:border-r",children:"BLOG"}),s.jsxs("div",{className:"flex h-full grow flex-col gap-1.5 overflow-hidden p-0 xs:gap-2.5 xs:p-5",children:[s.jsx("h5",{className:"hidden truncate text-semibold16 text-grey-800 xs:block",children:e.title}),s.jsx("div",{className:"line-clamp-4 w-full text-regular14 xs:line-clamp-2 xs:text-regular16",children:x}),s.jsx("div",{className:"hidden truncate text-regular13 text-violet-600 xs:block xs:text-regular14",children:e.displayLink})]})]}),s.jsx("div",{className:"block truncate rounded bg-grey-100 px-2 py-1 text-regular13 text-violet-600 xs:hidden",children:e.displayLink})]})};exports.BlogReviewCard=m;
@@ -1,12 +1,13 @@
1
- import { jsxs as e, jsx as r } from "react/jsx-runtime";
1
+ import { jsxs as t, jsx as i } from "react/jsx-runtime";
2
2
  import "./ui/accordion.es.js";
3
3
  import "./ui/alert-dialog.es.js";
4
+ import { c as l } from "./common-C3JaD1vJ.js";
4
5
  import "@radix-ui/react-aspect-ratio";
5
6
  import "./ui/avatar.es.js";
6
7
  import "./ui/badge.es.js";
7
- import { Button as d } from "./ui/button.es.js";
8
+ import { buttonVariants as s } from "./ui/button.es.js";
8
9
  import "./ui/calendar.es.js";
9
- import { Callout as h } from "./ui/callout.es.js";
10
+ import { Callout as c } from "./ui/callout.es.js";
10
11
  import "./ui/card.es.js";
11
12
  import "./ui/checkbox.es.js";
12
13
  import "lucide-react";
@@ -30,52 +31,58 @@ import "react";
30
31
  import "./ui/switch.es.js";
31
32
  import "./ui/tabs.es.js";
32
33
  import "./ui/tag.es.js";
33
- import { Text as l } from "./ui/text.es.js";
34
+ import { Text as m } from "./ui/text.es.js";
34
35
  import "./ui/textarea.es.js";
35
36
  import "./ui/toast.es.js";
36
37
  import "./ui/toggle.es.js";
37
38
  import "./ui/toggle-group.es.js";
38
39
  import "./ui/tooltip.es.js";
39
- import { r as f } from "./shared-C7UgV0HP.js";
40
- function rr({ intro: i, href: c, roleText: m = "운영", renderLink: a }) {
41
- const { introductionData: t, companyId: n } = i;
42
- if (!t) return null;
43
- const o = `company-info-${n}`, p = c ?? `/partners/${n}`, s = /* @__PURE__ */ e(
44
- h.Outline,
40
+ function Y({ intro: e, roleText: o = "운영", descriptionId: a }) {
41
+ const { introductionData: r, companyId: p } = e;
42
+ if (!r) return null;
43
+ const n = a ?? `company-info-${p}`;
44
+ return /* @__PURE__ */ t(
45
+ c.Outline,
45
46
  {
46
47
  size: "lg",
47
48
  className: "flex max-h-44 min-h-24 shrink-0 items-stretch justify-between gap-4 md:gap-5",
48
49
  children: [
49
- /* @__PURE__ */ e("span", { id: o, className: "sr-only", children: [
50
- i.companyName,
50
+ /* @__PURE__ */ t("span", { id: n, className: "sr-only", children: [
51
+ e.companyName,
51
52
  "은(는) 본 부트캠프의 ",
52
- m,
53
+ o,
53
54
  "사로, 상세 소개 페이지로 이동할 수 있다."
54
55
  ] }),
55
- /* @__PURE__ */ r("div", { className: "flex aspect-square w-16 shrink-0 items-center justify-center self-start overflow-hidden rounded-full border border-grey-200 bg-white", children: /* @__PURE__ */ r(
56
+ /* @__PURE__ */ i("div", { className: "flex aspect-square w-16 shrink-0 items-center justify-center self-start overflow-hidden rounded-full border border-grey-200 bg-white", children: /* @__PURE__ */ i(
56
57
  "img",
57
58
  {
58
- src: t.logo,
59
- alt: `${i.companyName} 로고`,
59
+ src: r.logo,
60
+ alt: `${e.companyName} 로고`,
60
61
  width: 100,
61
62
  height: 100,
62
63
  className: "object-contain",
63
64
  loading: "lazy"
64
65
  }
65
66
  ) }),
66
- /* @__PURE__ */ r("div", { className: "min-h-0 flex-1 self-stretch", children: /* @__PURE__ */ e("div", { className: "flex h-full min-h-0 flex-col items-start gap-1 overflow-y-auto pr-1", children: [
67
- /* @__PURE__ */ e("div", { className: "flex w-full shrink-0 items-center gap-[5px]", children: [
68
- /* @__PURE__ */ r(l, { className: "line-clamp-1 font-semibold", children: t.companyName }),
69
- /* @__PURE__ */ r("span", { "aria-label": "회사 역할", children: m })
67
+ /* @__PURE__ */ i("div", { className: "min-h-0 flex-1 self-stretch", children: /* @__PURE__ */ t("div", { className: "flex h-full min-h-0 flex-col items-start gap-1 overflow-y-auto pr-1", children: [
68
+ /* @__PURE__ */ t("div", { className: "flex w-full shrink-0 items-center gap-[5px]", children: [
69
+ /* @__PURE__ */ i(m, { className: "line-clamp-1 font-semibold", children: r.companyName }),
70
+ /* @__PURE__ */ i("span", { "aria-label": "회사 역할", children: o })
70
71
  ] }),
71
- /* @__PURE__ */ r(l, { className: "whitespace-pre-wrap text-start text-grey-600", children: t.title })
72
+ /* @__PURE__ */ i(m, { className: "whitespace-pre-wrap text-start text-grey-600", children: r.title })
72
73
  ] }) }),
73
- /* @__PURE__ */ r(d, { variant: "outline", theme: "secondary", className: "hidden self-center md:block", "aria-hidden": "true", children: "자세히 보기" })
74
+ /* @__PURE__ */ i(
75
+ "span",
76
+ {
77
+ className: l(s({ variant: "outline", theme: "secondary" }), "hidden self-center md:inline-flex"),
78
+ "aria-hidden": "true",
79
+ children: "자세히 보기"
80
+ }
81
+ )
74
82
  ]
75
83
  }
76
84
  );
77
- return a ? a({ href: p, ariaDescribedBy: o, children: s }) : f({ href: p, ariaDescribedBy: o, children: s });
78
85
  }
79
86
  export {
80
- rr as C
87
+ Y as C
81
88
  };
@@ -0,0 +1 @@
1
+ "use strict";const e=require("react/jsx-runtime");require("./ui/accordion.cjs.js");require("./ui/alert-dialog.cjs.js");const l=require("./common-Ds1lanOg.cjs");require("@radix-ui/react-aspect-ratio");require("./ui/avatar.cjs.js");require("./ui/badge.cjs.js");const c=require("./ui/button.cjs.js");require("./ui/calendar.cjs.js");const o=require("./ui/callout.cjs.js");require("./ui/card.cjs.js");require("./ui/checkbox.cjs.js");require("lucide-react");require("./ui/command.cjs.js");require("./ui/dialog.cjs.js");require("./ui/dropdown-menu.cjs.js");require("./ui/file-uploader.cjs.js");require("./ui/form.cjs.js");require("./ui/input.cjs.js");require("./ui/label.cjs.js");require("./ui/month-picker.cjs.js");require("./ui/multi-select.cjs.js");require("./ui/navigation-menu.cjs.js");require("./ui/popover.cjs.js");require("./ui/radio-group.cjs.js");require("./ui/scroll-area.cjs.js");require("./ui/select.cjs.js");require("./ui/separator.cjs.js");require("@radix-ui/react-slider");require("react");require("./ui/switch.cjs.js");require("./ui/tabs.cjs.js");require("./ui/tag.cjs.js");const n=require("./ui/text.cjs.js");require("./ui/textarea.cjs.js");require("./ui/toast.cjs.js");require("./ui/toggle.cjs.js");require("./ui/toggle-group.cjs.js");require("./ui/tooltip.cjs.js");function q({intro:i,roleText:s="운영",descriptionId:a}){const{introductionData:r,companyId:t}=i;if(!r)return null;const u=a??`company-info-${t}`;return e.jsxs(o.Callout.Outline,{size:"lg",className:"flex max-h-44 min-h-24 shrink-0 items-stretch justify-between gap-4 md:gap-5",children:[e.jsxs("span",{id:u,className:"sr-only",children:[i.companyName,"은(는) 본 부트캠프의 ",s,"사로, 상세 소개 페이지로 이동할 수 있다."]}),e.jsx("div",{className:"flex aspect-square w-16 shrink-0 items-center justify-center self-start overflow-hidden rounded-full border border-grey-200 bg-white",children:e.jsx("img",{src:r.logo,alt:`${i.companyName} 로고`,width:100,height:100,className:"object-contain",loading:"lazy"})}),e.jsx("div",{className:"min-h-0 flex-1 self-stretch",children:e.jsxs("div",{className:"flex h-full min-h-0 flex-col items-start gap-1 overflow-y-auto pr-1",children:[e.jsxs("div",{className:"flex w-full shrink-0 items-center gap-[5px]",children:[e.jsx(n.Text,{className:"line-clamp-1 font-semibold",children:r.companyName}),e.jsx("span",{"aria-label":"회사 역할",children:s})]}),e.jsx(n.Text,{className:"whitespace-pre-wrap text-start text-grey-600",children:r.title})]})}),e.jsx("span",{className:l.cn(c.buttonVariants({variant:"outline",theme:"secondary"}),"hidden self-center md:inline-flex"),"aria-hidden":"true",children:"자세히 보기"})]})}exports.CompanyInfoCard=q;
@@ -1 +1 @@
1
- "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../article-asset-card-DAnjKfe8.cjs");exports.ArticleAssetCard=e.ArticleAssetCard;
1
+ "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../article-asset-card-CC9LWxwh.cjs");exports.ArticleAssetCard=e.ArticleAssetCard;
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { A as s } from "../article-asset-card-C26wmaxu.js";
2
+ import { A as s } from "../article-asset-card-DJ01lgjB.js";
3
3
  export {
4
4
  s as ArticleAssetCard
5
5
  };
@@ -1 +1 @@
1
- "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../blog-review-card-CefktFkg.cjs");exports.BlogReviewCard=e.BlogReviewCard;
1
+ "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../blog-review-card-D4UJwom2.cjs");exports.BlogReviewCard=e.BlogReviewCard;
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { B as r } from "../blog-review-card-BrnrIjoU.js";
2
+ import { B as r } from "../blog-review-card-5g1rbMJ_.js";
3
3
  export {
4
4
  r as BlogReviewCard
5
5
  };
@@ -1 +1 @@
1
- "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../company-info-card-B1P2lZ_m.cjs");exports.CompanyInfoCard=e.CompanyInfoCard;
1
+ "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../company-info-card-Dx_4nPGT.cjs");exports.CompanyInfoCard=e.CompanyInfoCard;
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { C as e } from "../company-info-card-Cj6cQEKz.js";
2
+ import { C as e } from "../company-info-card-CpxDQZoa.js";
3
3
  export {
4
4
  e as CompanyInfoCard
5
5
  };
@@ -1 +1 @@
1
- "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../event-asset-banner-BjQMwNxl.cjs");exports.EventAssetBanner=e.EventAssetBanner;
1
+ "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../event-asset-banner-DLKw6TZu.cjs");exports.EventAssetBanner=e.EventAssetBanner;
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { E as s } from "../event-asset-banner-BH8ebSW8.js";
2
+ import { E as s } from "../event-asset-banner-C4s2AcNJ.js";
3
3
  export {
4
4
  s as EventAssetBanner
5
5
  };
@@ -1 +1 @@
1
- "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../portfolio-asset-card-BaYjpE7Y.cjs");exports.PortfolioAssetCard=e.PortfolioAssetCard;
1
+ "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("../portfolio-asset-card-ChxZMbNY.cjs");exports.PortfolioAssetCard=o.PortfolioAssetCard;exports.PortfolioAssetFooter=o.PortfolioAssetFooter;
@@ -1,5 +1,6 @@
1
1
  "use client";
2
- import { P as r } from "../portfolio-asset-card-nDHPKJlF.js";
2
+ import { P as t, a as e } from "../portfolio-asset-card-CYRD5Pmy.js";
3
3
  export {
4
- r as PortfolioAssetCard
4
+ t as PortfolioAssetCard,
5
+ e as PortfolioAssetFooter
5
6
  };
@@ -0,0 +1 @@
1
+ "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../youtube-video-modal-pooOcDO1.cjs");exports.YoutubeVideoModal=e.YoutubeVideoModal;
@@ -0,0 +1,5 @@
1
+ "use client";
2
+ import { Y as t } from "../youtube-video-modal-CENnr9lf.js";
3
+ export {
4
+ t as YoutubeVideoModal
5
+ };
@@ -1 +1 @@
1
- "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./event-card-DwnP_Qsj.cjs"),r=require("./main-banner-image-Ce2c6ODO.cjs"),t=require("./premium-card-Dk-pTOyb.cjs"),n=require("./title-tag-card-kzgE6S3R.cjs"),a=require("./article-asset-card-DAnjKfe8.cjs"),o=require("./blog-review-card-CefktFkg.cjs"),s=require("./company-info-card-B1P2lZ_m.cjs"),i=require("./environment-asset-photo-DMSQ1Ext.cjs"),d=require("./event-asset-banner-BjQMwNxl.cjs"),C=require("./lecturer-card-DLMnM4fU.cjs"),c=require("./partner-list-card-BNOnHkub.cjs"),u=require("./portfolio-asset-card-BaYjpE7Y.cjs");exports.EventCard=e.EventCard;exports.MainBannerImage=r.MainBannerImage;exports.PremiumCard=t.PremiumCard;exports.TitleTagCard=n.TitleTagCard;exports.ArticleAssetCard=a.ArticleAssetCard;exports.BlogReviewCard=o.BlogReviewCard;exports.CompanyInfoCard=s.CompanyInfoCard;exports.EnvironmentAssetPhoto=i.EnvironmentAssetPhoto;exports.EventAssetBanner=d.EventAssetBanner;exports.LecturerCard=C.LecturerCard;exports.PartnerListCard=c.PartnerListCard;exports.PortfolioAssetCard=u.PortfolioAssetCard;
1
+ "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./event-card-DwnP_Qsj.cjs"),t=require("./main-banner-image-Ce2c6ODO.cjs"),o=require("./premium-card-Dk-pTOyb.cjs"),n=require("./title-tag-card-kzgE6S3R.cjs"),a=require("./article-asset-card-CC9LWxwh.cjs"),s=require("./blog-review-card-D4UJwom2.cjs"),i=require("./company-info-card-Dx_4nPGT.cjs"),d=require("./environment-asset-photo-DMSQ1Ext.cjs"),u=require("./event-asset-banner-DLKw6TZu.cjs"),C=require("./lecturer-card-DLMnM4fU.cjs"),c=require("./partner-list-card-BNOnHkub.cjs"),e=require("./portfolio-asset-card-ChxZMbNY.cjs"),l=require("./youtube-video-modal-pooOcDO1.cjs");exports.EventCard=r.EventCard;exports.MainBannerImage=t.MainBannerImage;exports.PremiumCard=o.PremiumCard;exports.TitleTagCard=n.TitleTagCard;exports.ArticleAssetCard=a.ArticleAssetCard;exports.BlogReviewCard=s.BlogReviewCard;exports.CompanyInfoCard=i.CompanyInfoCard;exports.EnvironmentAssetPhoto=d.EnvironmentAssetPhoto;exports.EventAssetBanner=u.EventAssetBanner;exports.LecturerCard=C.LecturerCard;exports.PartnerListCard=c.PartnerListCard;exports.PortfolioAssetCard=e.PortfolioAssetCard;exports.PortfolioAssetFooter=e.PortfolioAssetFooter;exports.YoutubeVideoModal=l.YoutubeVideoModal;
@@ -3,25 +3,28 @@ import { E as e } from "./event-card-DCs6nu0G.js";
3
3
  import { M as t } from "./main-banner-image-Cwwt6xKE.js";
4
4
  import { P as m } from "./premium-card-BOlG7ZZG.js";
5
5
  import { T as n } from "./title-tag-card-CCInX94f.js";
6
- import { A as x } from "./article-asset-card-C26wmaxu.js";
7
- import { B as d } from "./blog-review-card-BrnrIjoU.js";
8
- import { C as P } from "./company-info-card-Cj6cQEKz.js";
9
- import { E } from "./environment-asset-photo-Dk8pKTD3.js";
10
- import { E as v } from "./event-asset-banner-BH8ebSW8.js";
11
- import { L as c } from "./lecturer-card-DQCphrTD.js";
12
- import { P as u } from "./partner-list-card-Bbynki-W.js";
13
- import { P as T } from "./portfolio-asset-card-nDHPKJlF.js";
6
+ import { A as x } from "./article-asset-card-DJ01lgjB.js";
7
+ import { B as i } from "./blog-review-card-5g1rbMJ_.js";
8
+ import { C as P } from "./company-info-card-CpxDQZoa.js";
9
+ import { E as A } from "./environment-asset-photo-Dk8pKTD3.js";
10
+ import { E as u } from "./event-asset-banner-C4s2AcNJ.js";
11
+ import { L as B } from "./lecturer-card-DQCphrTD.js";
12
+ import { P as g } from "./partner-list-card-Bbynki-W.js";
13
+ import { P as M, a as T } from "./portfolio-asset-card-CYRD5Pmy.js";
14
+ import { Y } from "./youtube-video-modal-CENnr9lf.js";
14
15
  export {
15
16
  x as ArticleAssetCard,
16
- d as BlogReviewCard,
17
+ i as BlogReviewCard,
17
18
  P as CompanyInfoCard,
18
- E as EnvironmentAssetPhoto,
19
- v as EventAssetBanner,
19
+ A as EnvironmentAssetPhoto,
20
+ u as EventAssetBanner,
20
21
  e as EventCard,
21
- c as LecturerCard,
22
+ B as LecturerCard,
22
23
  t as MainBannerImage,
23
- u as PartnerListCard,
24
- T as PortfolioAssetCard,
24
+ g as PartnerListCard,
25
+ M as PortfolioAssetCard,
26
+ T as PortfolioAssetFooter,
25
27
  m as PremiumCard,
26
- n as TitleTagCard
28
+ n as TitleTagCard,
29
+ Y as YoutubeVideoModal
27
30
  };
@@ -1,19 +1,19 @@
1
1
  import { jsxs as t, jsx as l } from "react/jsx-runtime";
2
- import { c as g } from "./common-C3JaD1vJ.js";
3
- import { r as w } from "./shared-C7UgV0HP.js";
4
- const y = {
2
+ import { c as m } from "./common-C3JaD1vJ.js";
3
+ const f = {
5
4
  presentation: { value: "presentation", label: "사전설명회" },
6
5
  seminar: { value: "seminar", label: "세미나" },
7
6
  preNotice: { value: "preNotice", label: "사전알림" },
8
7
  coffeeChat: { value: "coffeeChat", label: "커피챗" }
9
8
  };
10
- function C({ eventValue: o, link: m, buttonClass: b, loading: n, renderLink: i }) {
11
- var f;
12
- const { imageUrl: a, eventImageUrl: r, title: s, eventTitle: c, colors: e, linkUrl: h, eventType: d, eventDate: x } = o, v = ((f = y[d]) == null ? void 0 : f.label) ?? d, p = m ?? h, u = /* @__PURE__ */ t("div", { className: "relative flex aspect-[4.5/1] w-full items-center overflow-hidden rounded-[10px] border border-grey-200 xs:aspect-[5/1] sm:aspect-[6/1] md:aspect-[8/1] lg:aspect-[6/1] xl:aspect-[7/1]", children: [
9
+ function x({ eventValue: o, buttonClass: d }) {
10
+ var i;
11
+ const { imageUrl: a, eventImageUrl: s, title: r, eventTitle: c, colors: e, eventType: n, eventDate: p } = o, u = ((i = f[n]) == null ? void 0 : i.label) ?? n;
12
+ return /* @__PURE__ */ t("div", { className: "relative flex aspect-[4.5/1] w-full items-center overflow-hidden rounded-[10px] border border-grey-200 xs:aspect-[5/1] sm:aspect-[6/1] md:aspect-[8/1] lg:aspect-[6/1] xl:aspect-[7/1]", children: [
13
13
  /* @__PURE__ */ l("div", { className: "relative flex h-full w-1/4 shrink-0 items-center", children: /* @__PURE__ */ l(
14
14
  "img",
15
15
  {
16
- src: (r == null ? void 0 : r.pc) || (a == null ? void 0 : a.pc) || "",
16
+ src: (s == null ? void 0 : s.pc) || (a == null ? void 0 : a.pc) || "",
17
17
  alt: o.companyId,
18
18
  className: "absolute h-full w-full object-cover",
19
19
  loading: "lazy"
@@ -30,11 +30,11 @@ function C({ eventValue: o, link: m, buttonClass: b, loading: n, renderLink: i }
30
30
  children: [
31
31
  /* @__PURE__ */ t("div", { className: "flex h-full grow flex-col items-start justify-center gap-[5px]", children: [
32
32
  /* @__PURE__ */ t("div", { style: { color: e.date }, className: "text-medium14", children: [
33
- v,
33
+ u,
34
34
  "﹒",
35
- x.replaceAll("-", ".")
35
+ p.replaceAll("-", ".")
36
36
  ] }),
37
- /* @__PURE__ */ l("div", { style: { color: e.title }, className: "whitespace-nowrap text-semibold14 xs:text-semibold18", children: (c == null ? void 0 : c.pc) || (s == null ? void 0 : s.pc) }),
37
+ /* @__PURE__ */ l("div", { style: { color: e.title }, className: "whitespace-nowrap text-semibold14 xs:text-semibold18", children: (c == null ? void 0 : c.pc) || (r == null ? void 0 : r.pc) }),
38
38
  /* @__PURE__ */ l(
39
39
  "div",
40
40
  {
@@ -46,13 +46,13 @@ function C({ eventValue: o, link: m, buttonClass: b, loading: n, renderLink: i }
46
46
  )
47
47
  ] }),
48
48
  /* @__PURE__ */ l(
49
- "button",
49
+ "span",
50
50
  {
51
51
  style: {
52
52
  background: e.button,
53
53
  color: e.buttonText
54
54
  },
55
- className: g(
55
+ className: m(
56
56
  "hidden",
57
57
  "rounded",
58
58
  "px-3",
@@ -62,7 +62,7 @@ function C({ eventValue: o, link: m, buttonClass: b, loading: n, renderLink: i }
62
62
  "lg:hidden",
63
63
  "xl:block",
64
64
  "whitespace-nowrap",
65
- b
65
+ d
66
66
  ),
67
67
  children: "자세히 보기 ->"
68
68
  }
@@ -71,8 +71,7 @@ function C({ eventValue: o, link: m, buttonClass: b, loading: n, renderLink: i }
71
71
  }
72
72
  )
73
73
  ] });
74
- return i ? i({ href: p, className: "w-full", children: u, disabled: n }) : w({ href: p, className: "w-full", children: u, disabled: n });
75
74
  }
76
75
  export {
77
- C as E
76
+ x as E
78
77
  };
@@ -0,0 +1 @@
1
+ "use strict";const e=require("react/jsx-runtime"),p=require("./common-Ds1lanOg.cjs"),x={presentation:{value:"presentation",label:"사전설명회"},seminar:{value:"seminar",label:"세미나"},preNotice:{value:"preNotice",label:"사전알림"},coffeeChat:{value:"coffeeChat",label:"커피챗"}};function m({eventValue:r,buttonClass:i}){var o;const{imageUrl:s,eventImageUrl:t,title:a,eventTitle:c,colors:l,eventType:n,eventDate:d}=r,u=((o=x[n])==null?void 0:o.label)??n;return e.jsxs("div",{className:"relative flex aspect-[4.5/1] w-full items-center overflow-hidden rounded-[10px] border border-grey-200 xs:aspect-[5/1] sm:aspect-[6/1] md:aspect-[8/1] lg:aspect-[6/1] xl:aspect-[7/1]",children:[e.jsx("div",{className:"relative flex h-full w-1/4 shrink-0 items-center",children:e.jsx("img",{src:(t==null?void 0:t.pc)||(s==null?void 0:s.pc)||"",alt:r.companyId,className:"absolute h-full w-full object-cover",loading:"lazy"})}),e.jsxs("div",{style:{backgroundColor:l.background,color:l.title},className:"relative flex h-full w-full grow items-center justify-between gap-[5px] p-5",children:[e.jsxs("div",{className:"flex h-full grow flex-col items-start justify-center gap-[5px]",children:[e.jsxs("div",{style:{color:l.date},className:"text-medium14",children:[u,"﹒",d.replaceAll("-",".")]}),e.jsx("div",{style:{color:l.title},className:"whitespace-nowrap text-semibold14 xs:text-semibold18",children:(c==null?void 0:c.pc)||(a==null?void 0:a.pc)}),e.jsx("div",{style:{background:`linear-gradient(to right, transparent, ${l.background})`},className:"absolute right-full h-full w-[2%]"})]}),e.jsx("span",{style:{background:l.button,color:l.buttonText},className:p.cn("hidden","rounded","px-3","py-2","text-regular14","md:block","lg:hidden","xl:block","whitespace-nowrap",i),children:"자세히 보기 ->"})]})]})}exports.EventAssetBanner=m;
@@ -0,0 +1,88 @@
1
+ import { jsxs as s, jsx as t } from "react/jsx-runtime";
2
+ import a, { useMemo as n } from "react";
3
+ import { c } from "./index-BFsbj9HY.js";
4
+ import "./ui/accordion.es.js";
5
+ import "./ui/alert-dialog.es.js";
6
+ import { c as d } from "./common-C3JaD1vJ.js";
7
+ import "@radix-ui/react-aspect-ratio";
8
+ import "./ui/avatar.es.js";
9
+ import "./ui/badge.es.js";
10
+ import { buttonVariants as p } from "./ui/button.es.js";
11
+ import "./ui/calendar.es.js";
12
+ import "./ui/callout.es.js";
13
+ import "./ui/card.es.js";
14
+ import "./ui/checkbox.es.js";
15
+ import "lucide-react";
16
+ import "./ui/command.es.js";
17
+ import "./ui/dialog.es.js";
18
+ import "./ui/dropdown-menu.es.js";
19
+ import "./ui/file-uploader.es.js";
20
+ import "./ui/form.es.js";
21
+ import { Icon as f } from "./ui/icons.es.js";
22
+ import "./ui/input.es.js";
23
+ import "./ui/label.es.js";
24
+ import "./ui/month-picker.es.js";
25
+ import "./ui/multi-select.es.js";
26
+ import "./ui/navigation-menu.es.js";
27
+ import "./ui/popover.es.js";
28
+ import "./ui/radio-group.es.js";
29
+ import "./ui/scroll-area.es.js";
30
+ import "./ui/select.es.js";
31
+ import "./ui/separator.es.js";
32
+ import "@radix-ui/react-slider";
33
+ import "./ui/switch.es.js";
34
+ import "./ui/tabs.es.js";
35
+ import "./ui/tag.es.js";
36
+ import "./ui/text.es.js";
37
+ import "./ui/textarea.es.js";
38
+ import "./ui/toast.es.js";
39
+ import "./ui/toggle.es.js";
40
+ import "./ui/toggle-group.es.js";
41
+ import "./ui/tooltip.es.js";
42
+ function te({ portfolio: r, isYoutube: e = !1 }) {
43
+ const l = n(
44
+ () => r.tags.split(",").map((i) => i.trim()).filter(Boolean),
45
+ [r.tags]
46
+ );
47
+ return /* @__PURE__ */ s("div", { className: "flex h-full flex-col overflow-hidden rounded-2xl border border-grey-200 bg-white shadow-sm", children: [
48
+ /* @__PURE__ */ s("div", { className: "relative w-full overflow-hidden bg-grey-100", style: { aspectRatio: "4/3" }, children: [
49
+ /* @__PURE__ */ t("img", { src: r.imageUrl, alt: r.title, loading: "lazy", className: "h-full w-full object-cover" }),
50
+ e && /* @__PURE__ */ t("div", { className: "absolute inset-0 flex items-center justify-center bg-black/30", children: /* @__PURE__ */ t("div", { className: "flex h-12 w-12 items-center justify-center rounded-full bg-white/90 shadow-md", children: /* @__PURE__ */ t(f.Play, { size: "22", fill: c.grey[800] }) }) })
51
+ ] }),
52
+ /* @__PURE__ */ s("div", { className: "flex flex-1 flex-col gap-2.5 p-4", children: [
53
+ /* @__PURE__ */ t("p", { className: "line-clamp-2 text-sm font-semibold leading-snug text-grey-900", children: r.title }),
54
+ l.length > 0 && /* @__PURE__ */ t("div", { className: "flex flex-wrap gap-1 overflow-hidden", style: { maxHeight: 48 }, children: l.map((i, o) => /* @__PURE__ */ t(
55
+ "span",
56
+ {
57
+ className: "max-w-full truncate rounded-md bg-grey-100 px-2 py-0.5 text-[11px] font-medium leading-[17px] text-grey-500",
58
+ children: i
59
+ },
60
+ i + o
61
+ )) })
62
+ ] })
63
+ ] });
64
+ }
65
+ const ie = a.memo(function({
66
+ portfolio: e,
67
+ campTitle: l
68
+ }) {
69
+ if (!(e.classTitle && e.campId || e.introduction)) return null;
70
+ const i = l ?? e.classTitle;
71
+ return /* @__PURE__ */ s("div", { className: "flex w-full flex-col items-start gap-1 overflow-hidden text-xs text-grey-600", children: [
72
+ e.classTitle && e.campId && /* @__PURE__ */ t(
73
+ "div",
74
+ {
75
+ className: d(
76
+ p({ variant: "text", theme: "secondary" }),
77
+ "w-full justify-start text-xs text-grey-600"
78
+ ),
79
+ children: a.isValidElement(i) ? i : /* @__PURE__ */ t("span", { className: "w-full overflow-hidden truncate text-start underline", children: i })
80
+ }
81
+ ),
82
+ e.introduction && /* @__PURE__ */ t("p", { children: e.introduction.companyName })
83
+ ] });
84
+ });
85
+ export {
86
+ te as P,
87
+ ie as a
88
+ };
@@ -0,0 +1 @@
1
+ "use strict";const e=require("react/jsx-runtime"),l=require("react"),u=require("./index-DKCqkplO.cjs");require("./ui/accordion.cjs.js");require("./ui/alert-dialog.cjs.js");const c=require("./common-Ds1lanOg.cjs");require("@radix-ui/react-aspect-ratio");require("./ui/avatar.cjs.js");require("./ui/badge.cjs.js");const d=require("./ui/button.cjs.js");require("./ui/calendar.cjs.js");require("./ui/callout.cjs.js");require("./ui/card.cjs.js");require("./ui/checkbox.cjs.js");require("lucide-react");require("./ui/command.cjs.js");require("./ui/dialog.cjs.js");require("./ui/dropdown-menu.cjs.js");require("./ui/file-uploader.cjs.js");require("./ui/form.cjs.js");const o=require("./ui/icons.cjs.js");require("./ui/input.cjs.js");require("./ui/label.cjs.js");require("./ui/month-picker.cjs.js");require("./ui/multi-select.cjs.js");require("./ui/navigation-menu.cjs.js");require("./ui/popover.cjs.js");require("./ui/radio-group.cjs.js");require("./ui/scroll-area.cjs.js");require("./ui/select.cjs.js");require("./ui/separator.cjs.js");require("@radix-ui/react-slider");require("./ui/switch.cjs.js");require("./ui/tabs.cjs.js");require("./ui/tag.cjs.js");require("./ui/text.cjs.js");require("./ui/textarea.cjs.js");require("./ui/toast.cjs.js");require("./ui/toggle.cjs.js");require("./ui/toggle-group.cjs.js");require("./ui/tooltip.cjs.js");function x({portfolio:s,isYoutube:r=!1}){const t=l.useMemo(()=>s.tags.split(",").map(i=>i.trim()).filter(Boolean),[s.tags]);return e.jsxs("div",{className:"flex h-full flex-col overflow-hidden rounded-2xl border border-grey-200 bg-white shadow-sm",children:[e.jsxs("div",{className:"relative w-full overflow-hidden bg-grey-100",style:{aspectRatio:"4/3"},children:[e.jsx("img",{src:s.imageUrl,alt:s.title,loading:"lazy",className:"h-full w-full object-cover"}),r&&e.jsx("div",{className:"absolute inset-0 flex items-center justify-center bg-black/30",children:e.jsx("div",{className:"flex h-12 w-12 items-center justify-center rounded-full bg-white/90 shadow-md",children:e.jsx(o.Icon.Play,{size:"22",fill:u.colors.grey[800]})})})]}),e.jsxs("div",{className:"flex flex-1 flex-col gap-2.5 p-4",children:[e.jsx("p",{className:"line-clamp-2 text-sm font-semibold leading-snug text-grey-900",children:s.title}),t.length>0&&e.jsx("div",{className:"flex flex-wrap gap-1 overflow-hidden",style:{maxHeight:48},children:t.map((i,n)=>e.jsx("span",{className:"max-w-full truncate rounded-md bg-grey-100 px-2 py-0.5 text-[11px] font-medium leading-[17px] text-grey-500",children:i},i+n))})]})]})}const m=l.memo(function({portfolio:r,campTitle:t}){if(!(r.classTitle&&r.campId||r.introduction))return null;const i=t??r.classTitle;return e.jsxs("div",{className:"flex w-full flex-col items-start gap-1 overflow-hidden text-xs text-grey-600",children:[r.classTitle&&r.campId&&e.jsx("div",{className:c.cn(d.buttonVariants({variant:"text",theme:"secondary"}),"w-full justify-start text-xs text-grey-600"),children:l.isValidElement(i)?i:e.jsx("span",{className:"w-full overflow-hidden truncate text-start underline",children:i})}),r.introduction&&e.jsx("p",{children:r.introduction.companyName})]})});exports.PortfolioAssetCard=x;exports.PortfolioAssetFooter=m;