boottent-design 0.1.237 → 0.1.239
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.
- package/dist/DESIGN.md +2 -2
- package/dist/article-asset-card-DDCyeYax.js +96 -0
- package/dist/article-asset-card-D_0h2aoW.cjs +1 -0
- package/dist/blog-review-card-4XlcSDgR.js +44 -0
- package/dist/blog-review-card-ONlNLtgL.cjs +1 -0
- package/dist/company-info-card-DB77Q4C_.cjs +1 -0
- package/dist/company-info-card-ZrmCOUfe.js +102 -0
- package/dist/components/article-asset-card.cjs.js +1 -1
- package/dist/components/article-asset-card.es.js +1 -1
- package/dist/components/blog-review-card.cjs.js +1 -1
- package/dist/components/blog-review-card.es.js +1 -1
- package/dist/components/company-info-card.cjs.js +1 -1
- package/dist/components/company-info-card.es.js +1 -1
- package/dist/components/environment-asset-photo.cjs.js +1 -1
- package/dist/components/environment-asset-photo.es.js +1 -1
- package/dist/components/event-asset-banner.cjs.js +1 -1
- package/dist/components/event-asset-banner.es.js +1 -1
- package/dist/components/event-card.cjs.js +1 -1
- package/dist/components/event-card.es.js +1 -1
- package/dist/components/lecturer-card.cjs.js +1 -1
- package/dist/components/lecturer-card.es.js +1 -1
- package/dist/components/main-banner-image.cjs.js +1 -1
- package/dist/components/main-banner-image.es.js +1 -1
- package/dist/components/partner-list-card.cjs.js +1 -1
- package/dist/components/partner-list-card.es.js +1 -1
- package/dist/components/portfolio-asset-card.cjs.js +1 -1
- package/dist/components/portfolio-asset-card.es.js +3 -2
- package/dist/components/premium-card.cjs.js +1 -1
- package/dist/components/premium-card.es.js +1 -1
- package/dist/components/title-tag-card.cjs.js +1 -1
- package/dist/components/title-tag-card.es.js +1 -1
- package/dist/components/youtube-video-modal.cjs.js +1 -0
- package/dist/components/youtube-video-modal.es.js +5 -0
- package/dist/components.cjs.js +1 -1
- package/dist/components.es.js +22 -19
- package/dist/environment-asset-photo-Bv7Sof-X.cjs +1 -0
- package/dist/environment-asset-photo-pHNLfro7.js +39 -0
- package/dist/event-asset-banner-B5VlsOHj.cjs +1 -0
- package/dist/{event-asset-banner-BH8ebSW8.js → event-asset-banner-Ciodpld1.js} +28 -16
- package/dist/event-card-CtP5nHb-.cjs +1 -0
- package/dist/{event-card-DCs6nu0G.js → event-card-DmVD1K4_.js} +65 -53
- package/dist/image-loading-BX5rKZfC.js +15 -0
- package/dist/image-loading-DZFBFoVv.cjs +1 -0
- package/dist/{lecturer-card-DQCphrTD.js → lecturer-card-BNo89TCP.js} +30 -20
- package/dist/lecturer-card-BzZb7Jzl.cjs +1 -0
- package/dist/main-banner-image-DrgP1NNQ.cjs +1 -0
- package/dist/{main-banner-image-Cwwt6xKE.js → main-banner-image-xEWh1NVs.js} +31 -21
- package/dist/partner-list-card-BFLCQG68.cjs +1 -0
- package/dist/{partner-list-card-Bbynki-W.js → partner-list-card-CICvp20I.js} +61 -22
- package/dist/portfolio-asset-card-B6qJWws_.js +101 -0
- package/dist/portfolio-asset-card-CI1Wnz8B.cjs +1 -0
- package/dist/premium-card-2JBwM6aL.cjs +1 -0
- package/dist/{premium-card-BOlG7ZZG.js → premium-card-TDA3lplm.js} +54 -41
- package/dist/styles.css +1 -1
- package/dist/{title-tag-card-CCInX94f.js → title-tag-card-D_jVbsE3.js} +41 -28
- package/dist/title-tag-card-DfVSv6a_.cjs +1 -0
- package/dist/types/article-asset-card.d.ts +12 -12
- package/dist/types/blog-review-card.d.ts +14 -12
- package/dist/types/company-info-card.d.ts +16 -15
- package/dist/types/components/youtube-video-modal.d.ts +2 -0
- package/dist/types/components.d.ts +55 -47
- package/dist/types/environment-asset-photo.d.ts +16 -2
- package/dist/types/event-asset-banner.d.ts +13 -14
- package/dist/types/event-card.d.ts +16 -2
- package/dist/types/lecturer-card.d.ts +16 -2
- package/dist/types/main-banner-image.d.ts +16 -2
- package/dist/types/partner-list-card.d.ts +16 -2
- package/dist/types/portfolio-asset-card.d.ts +20 -14
- package/dist/types/premium-card.d.ts +16 -2
- package/dist/types/title-tag-card.d.ts +16 -2
- package/dist/types/youtube-video-modal.d.ts +14 -0
- package/dist/youtube-video-modal-CENnr9lf.js +82 -0
- package/dist/youtube-video-modal-pooOcDO1.cjs +1 -0
- package/package.json +3 -3
- package/dist/article-asset-card-C26wmaxu.js +0 -86
- package/dist/article-asset-card-DAnjKfe8.cjs +0 -1
- package/dist/blog-review-card-BrnrIjoU.js +0 -33
- package/dist/blog-review-card-CefktFkg.cjs +0 -1
- package/dist/company-info-card-B1P2lZ_m.cjs +0 -1
- package/dist/company-info-card-Cj6cQEKz.js +0 -81
- package/dist/environment-asset-photo-DMSQ1Ext.cjs +0 -1
- package/dist/environment-asset-photo-Dk8pKTD3.js +0 -16
- package/dist/event-asset-banner-BjQMwNxl.cjs +0 -1
- package/dist/event-card-DwnP_Qsj.cjs +0 -1
- package/dist/lecturer-card-DLMnM4fU.cjs +0 -1
- package/dist/main-banner-image-Ce2c6ODO.cjs +0 -1
- package/dist/partner-list-card-BNOnHkub.cjs +0 -1
- package/dist/portfolio-asset-card-BaYjpE7Y.cjs +0 -1
- package/dist/portfolio-asset-card-nDHPKJlF.js +0 -96
- package/dist/premium-card-Dk-pTOyb.cjs +0 -1
- package/dist/shared-C7UgV0HP.js +0 -21
- package/dist/shared-CvAG5bqD.cjs +0 -1
- package/dist/title-tag-card-kzgE6S3R.cjs +0 -1
|
@@ -1,22 +1,35 @@
|
|
|
1
1
|
import { jsxs as t, jsx as l } from "react/jsx-runtime";
|
|
2
|
-
import { c as
|
|
3
|
-
import {
|
|
4
|
-
const
|
|
2
|
+
import { c as x } from "./common-C3JaD1vJ.js";
|
|
3
|
+
import { g as v } from "./image-loading-BX5rKZfC.js";
|
|
4
|
+
const w = {
|
|
5
5
|
presentation: { value: "presentation", label: "사전설명회" },
|
|
6
6
|
seminar: { value: "seminar", label: "세미나" },
|
|
7
7
|
preNotice: { value: "preNotice", label: "사전알림" },
|
|
8
8
|
coffeeChat: { value: "coffeeChat", label: "커피챗" }
|
|
9
9
|
};
|
|
10
|
-
function
|
|
11
|
-
|
|
12
|
-
|
|
10
|
+
function j({
|
|
11
|
+
eventValue: o,
|
|
12
|
+
buttonClass: d,
|
|
13
|
+
imagePriority: p,
|
|
14
|
+
imageLoading: u,
|
|
15
|
+
imageFetchPriority: m,
|
|
16
|
+
imageDecoding: b
|
|
17
|
+
}) {
|
|
18
|
+
var i;
|
|
19
|
+
const { imageUrl: a, eventImageUrl: s, title: r, eventTitle: c, colors: e, eventType: n, eventDate: f } = o, h = ((i = w[n]) == null ? void 0 : i.label) ?? n, g = v({
|
|
20
|
+
imagePriority: p,
|
|
21
|
+
imageLoading: u,
|
|
22
|
+
imageFetchPriority: m,
|
|
23
|
+
imageDecoding: b
|
|
24
|
+
});
|
|
25
|
+
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
26
|
/* @__PURE__ */ l("div", { className: "relative flex h-full w-1/4 shrink-0 items-center", children: /* @__PURE__ */ l(
|
|
14
27
|
"img",
|
|
15
28
|
{
|
|
16
|
-
src: (
|
|
29
|
+
src: (s == null ? void 0 : s.pc) || (a == null ? void 0 : a.pc) || "",
|
|
17
30
|
alt: o.companyId,
|
|
18
31
|
className: "absolute h-full w-full object-cover",
|
|
19
|
-
|
|
32
|
+
...g
|
|
20
33
|
}
|
|
21
34
|
) }),
|
|
22
35
|
/* @__PURE__ */ t(
|
|
@@ -30,11 +43,11 @@ function C({ eventValue: o, link: m, buttonClass: b, loading: n, renderLink: i }
|
|
|
30
43
|
children: [
|
|
31
44
|
/* @__PURE__ */ t("div", { className: "flex h-full grow flex-col items-start justify-center gap-[5px]", children: [
|
|
32
45
|
/* @__PURE__ */ t("div", { style: { color: e.date }, className: "text-medium14", children: [
|
|
33
|
-
|
|
46
|
+
h,
|
|
34
47
|
"﹒",
|
|
35
|
-
|
|
48
|
+
f.replaceAll("-", ".")
|
|
36
49
|
] }),
|
|
37
|
-
/* @__PURE__ */ l("div", { style: { color: e.title }, className: "whitespace-nowrap text-semibold14 xs:text-semibold18", children: (c == null ? void 0 : c.pc) || (
|
|
50
|
+
/* @__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
51
|
/* @__PURE__ */ l(
|
|
39
52
|
"div",
|
|
40
53
|
{
|
|
@@ -46,13 +59,13 @@ function C({ eventValue: o, link: m, buttonClass: b, loading: n, renderLink: i }
|
|
|
46
59
|
)
|
|
47
60
|
] }),
|
|
48
61
|
/* @__PURE__ */ l(
|
|
49
|
-
"
|
|
62
|
+
"span",
|
|
50
63
|
{
|
|
51
64
|
style: {
|
|
52
65
|
background: e.button,
|
|
53
66
|
color: e.buttonText
|
|
54
67
|
},
|
|
55
|
-
className:
|
|
68
|
+
className: x(
|
|
56
69
|
"hidden",
|
|
57
70
|
"rounded",
|
|
58
71
|
"px-3",
|
|
@@ -62,7 +75,7 @@ function C({ eventValue: o, link: m, buttonClass: b, loading: n, renderLink: i }
|
|
|
62
75
|
"lg:hidden",
|
|
63
76
|
"xl:block",
|
|
64
77
|
"whitespace-nowrap",
|
|
65
|
-
|
|
78
|
+
d
|
|
66
79
|
),
|
|
67
80
|
children: "자세히 보기 ->"
|
|
68
81
|
}
|
|
@@ -71,8 +84,7 @@ function C({ eventValue: o, link: m, buttonClass: b, loading: n, renderLink: i }
|
|
|
71
84
|
}
|
|
72
85
|
)
|
|
73
86
|
] });
|
|
74
|
-
return i ? i({ href: p, className: "w-full", children: u, disabled: n }) : w({ href: p, className: "w-full", children: u, disabled: n });
|
|
75
87
|
}
|
|
76
88
|
export {
|
|
77
|
-
|
|
89
|
+
j as E
|
|
78
90
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const e=require("react/jsx-runtime"),r=require("./index-B8SY6s5B.cjs");require("./ui/accordion.cjs.js");require("./ui/alert-dialog.cjs.js");const q=require("./common-Ds1lanOg.cjs");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");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");const a=require("./ui/skeleton.cjs.js");require("@radix-ui/react-slider");require("react");require("./ui/switch.cjs.js");require("./ui/tabs.cjs.js");const m=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 c=require("./utils-CQ8Ml7W5.cjs"),y=require("./image-loading-DZFBFoVv.cjs");function k({adProduct:t,logo:s,title:i,batchName:l="",adTitle:n,startDate:u,tuition:o,nbCardRequired:d,isLoading:g=!1,regEndDate:p,className:x,imagePriority:f,imageLoading:h,imageFetchPriority:v,imageDecoding:j}){if(g)return e.jsx(C,{className:x});const b=`${c.getCampDateText(u)} 개강 · ${c.getEventCampCostValue(o,d)}`,w=y.getImageLoadingAttributes({imagePriority:f,imageLoading:h,imageFetchPriority:v,imageDecoding:j});return e.jsx(N,{logo:s,title:`${i} ${l}`,adTitle:n,footerText:b,regEndDate:p,className:x,adProduct:t,imageLoadingAttributes:w})}function N({adProduct:t,logo:s,title:i,adTitle:l,footerText:n,regEndDate:u,className:o,imageLoadingAttributes:d}){return e.jsxs("div",{className:q.cn("relative z-10 flex h-full w-full flex-col items-start justify-between gap-2 overflow-hidden rounded-xl border border-grey-200 bg-white p-4 text-grey-800 md:p-5 lg:p-6",o),children:[e.jsx(m.Tag,{variant:"ad",size:"ad",style:{background:r.adProducts.event.background,color:r.adProducts.event.color},children:t===r.adProducts.dDay.value&&u?c.getCampDdayText(u):r.adProducts.event.value.toUpperCase()}),e.jsx("img",{src:s,alt:`${i} 로고`,className:"h-4 object-contain",...d}),e.jsxs("div",{className:"flex w-full flex-col items-start gap-2",children:[e.jsx("h3",{className:"line-clamp-2 h-auto text-sm font-normal md:text-base lg:h-12",title:i,children:i}),e.jsx("p",{className:"line-clamp-2 h-auto w-full break-keep rounded bg-grey-100 px-2 py-1 text-[13px] font-semibold text-grey-600 md:h-[54px] md:text-[15px] md:text-grey-800",children:l}),e.jsx("div",{className:"text-[13px] leading-[19px] text-grey-600",children:n})]})]})}function C({className:t}){return e.jsxs(a.Skeleton,{type:"background",className:q.cn("relative z-10 flex h-full w-full flex-col justify-between gap-2 overflow-hidden rounded-xl p-4 md:p-5 lg:p-6",t),children:[e.jsx(m.Tag,{variant:"ad",style:{background:r.adProducts.event.background,color:r.adProducts.event.color},className:"h-7 w-20 animate-pulse rounded-bl-lg rounded-br-none rounded-tl-none rounded-tr-lg px-2 py-1 text-sm",children:""}),e.jsx(a.Skeleton,{className:"h-4 w-1/2"}),e.jsxs("div",{className:"flex flex-col items-start gap-2",children:[e.jsx("div",{className:"h-10 w-full",children:e.jsx(a.Skeleton,{className:"h-5 w-4/5"})}),e.jsx(a.Skeleton,{className:"h-14 w-full"})]}),e.jsx(a.Skeleton,{className:"mt-2 h-[19px] w-2/3"})]})}exports.EventCard=k;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { a as
|
|
1
|
+
import { jsx as t, jsxs as m } from "react/jsx-runtime";
|
|
2
|
+
import { a as e } from "./index-DWvwbdTU.js";
|
|
3
3
|
import "./ui/accordion.es.js";
|
|
4
4
|
import "./ui/alert-dialog.es.js";
|
|
5
|
-
import { c } from "./common-C3JaD1vJ.js";
|
|
5
|
+
import { c as u } from "./common-C3JaD1vJ.js";
|
|
6
6
|
import "@radix-ui/react-aspect-ratio";
|
|
7
7
|
import "./ui/avatar.es.js";
|
|
8
8
|
import "./ui/badge.es.js";
|
|
@@ -32,114 +32,126 @@ import "@radix-ui/react-slider";
|
|
|
32
32
|
import "react";
|
|
33
33
|
import "./ui/switch.es.js";
|
|
34
34
|
import "./ui/tabs.es.js";
|
|
35
|
-
import { Tag as
|
|
35
|
+
import { Tag as f } from "./ui/tag.es.js";
|
|
36
36
|
import "./ui/text.es.js";
|
|
37
37
|
import "./ui/textarea.es.js";
|
|
38
38
|
import "./ui/toast.es.js";
|
|
39
39
|
import "./ui/toggle.es.js";
|
|
40
40
|
import "./ui/toggle-group.es.js";
|
|
41
41
|
import "./ui/tooltip.es.js";
|
|
42
|
-
import { g as
|
|
43
|
-
|
|
42
|
+
import { g as C, a as k, b as j } from "./utils-DMV7dwIW.js";
|
|
43
|
+
import { g as $ } from "./image-loading-BX5rKZfC.js";
|
|
44
|
+
function vt({
|
|
44
45
|
adProduct: r,
|
|
45
|
-
logo:
|
|
46
|
+
logo: l,
|
|
46
47
|
title: o,
|
|
47
48
|
batchName: p = "",
|
|
48
49
|
adTitle: n,
|
|
49
|
-
startDate:
|
|
50
|
-
tuition:
|
|
51
|
-
nbCardRequired:
|
|
52
|
-
isLoading:
|
|
53
|
-
regEndDate:
|
|
54
|
-
className:
|
|
50
|
+
startDate: i,
|
|
51
|
+
tuition: s,
|
|
52
|
+
nbCardRequired: d,
|
|
53
|
+
isLoading: g = !1,
|
|
54
|
+
regEndDate: x,
|
|
55
|
+
className: c,
|
|
56
|
+
imagePriority: h,
|
|
57
|
+
imageLoading: v,
|
|
58
|
+
imageFetchPriority: b,
|
|
59
|
+
imageDecoding: w
|
|
55
60
|
}) {
|
|
56
|
-
if (
|
|
57
|
-
return /* @__PURE__ */
|
|
58
|
-
const
|
|
59
|
-
|
|
60
|
-
|
|
61
|
+
if (g)
|
|
62
|
+
return /* @__PURE__ */ t(T, { className: c });
|
|
63
|
+
const y = `${C(i)} 개강 · ${k(s, d)}`, N = $({
|
|
64
|
+
imagePriority: h,
|
|
65
|
+
imageLoading: v,
|
|
66
|
+
imageFetchPriority: b,
|
|
67
|
+
imageDecoding: w
|
|
68
|
+
});
|
|
69
|
+
return /* @__PURE__ */ t(
|
|
70
|
+
E,
|
|
61
71
|
{
|
|
62
|
-
logo:
|
|
72
|
+
logo: l,
|
|
63
73
|
title: `${o} ${p}`,
|
|
64
74
|
adTitle: n,
|
|
65
|
-
footerText:
|
|
66
|
-
regEndDate:
|
|
67
|
-
className:
|
|
68
|
-
adProduct: r
|
|
75
|
+
footerText: y,
|
|
76
|
+
regEndDate: x,
|
|
77
|
+
className: c,
|
|
78
|
+
adProduct: r,
|
|
79
|
+
imageLoadingAttributes: N
|
|
69
80
|
}
|
|
70
81
|
);
|
|
71
82
|
}
|
|
72
|
-
function
|
|
83
|
+
function E({
|
|
73
84
|
adProduct: r,
|
|
74
|
-
logo:
|
|
85
|
+
logo: l,
|
|
75
86
|
title: o,
|
|
76
87
|
adTitle: p,
|
|
77
88
|
footerText: n,
|
|
78
|
-
regEndDate:
|
|
79
|
-
className:
|
|
89
|
+
regEndDate: i,
|
|
90
|
+
className: s,
|
|
91
|
+
imageLoadingAttributes: d
|
|
80
92
|
}) {
|
|
81
|
-
return /* @__PURE__ */
|
|
93
|
+
return /* @__PURE__ */ m(
|
|
82
94
|
"div",
|
|
83
95
|
{
|
|
84
|
-
className:
|
|
96
|
+
className: u(
|
|
85
97
|
"relative z-10 flex h-full w-full flex-col items-start justify-between gap-2 overflow-hidden rounded-xl border border-grey-200 bg-white p-4 text-grey-800 md:p-5 lg:p-6",
|
|
86
|
-
|
|
98
|
+
s
|
|
87
99
|
),
|
|
88
100
|
children: [
|
|
89
|
-
/* @__PURE__ */
|
|
90
|
-
|
|
101
|
+
/* @__PURE__ */ t(
|
|
102
|
+
f,
|
|
91
103
|
{
|
|
92
104
|
variant: "ad",
|
|
93
105
|
size: "ad",
|
|
94
106
|
style: {
|
|
95
|
-
background:
|
|
96
|
-
color:
|
|
107
|
+
background: e.event.background,
|
|
108
|
+
color: e.event.color
|
|
97
109
|
},
|
|
98
|
-
children: r ===
|
|
110
|
+
children: r === e.dDay.value && i ? j(i) : e.event.value.toUpperCase()
|
|
99
111
|
}
|
|
100
112
|
),
|
|
101
|
-
/* @__PURE__ */
|
|
102
|
-
/* @__PURE__ */
|
|
103
|
-
/* @__PURE__ */
|
|
104
|
-
/* @__PURE__ */
|
|
105
|
-
/* @__PURE__ */
|
|
113
|
+
/* @__PURE__ */ t("img", { src: l, alt: `${o} 로고`, className: "h-4 object-contain", ...d }),
|
|
114
|
+
/* @__PURE__ */ m("div", { className: "flex w-full flex-col items-start gap-2", children: [
|
|
115
|
+
/* @__PURE__ */ t("h3", { className: "line-clamp-2 h-auto text-sm font-normal md:text-base lg:h-12", title: o, children: o }),
|
|
116
|
+
/* @__PURE__ */ t("p", { className: "line-clamp-2 h-auto w-full break-keep rounded bg-grey-100 px-2 py-1 text-[13px] font-semibold text-grey-600 md:h-[54px] md:text-[15px] md:text-grey-800", children: p }),
|
|
117
|
+
/* @__PURE__ */ t("div", { className: "text-[13px] leading-[19px] text-grey-600", children: n })
|
|
106
118
|
] })
|
|
107
119
|
]
|
|
108
120
|
}
|
|
109
121
|
);
|
|
110
122
|
}
|
|
111
|
-
function
|
|
112
|
-
return /* @__PURE__ */
|
|
123
|
+
function T({ className: r }) {
|
|
124
|
+
return /* @__PURE__ */ m(
|
|
113
125
|
a,
|
|
114
126
|
{
|
|
115
127
|
type: "background",
|
|
116
|
-
className:
|
|
128
|
+
className: u(
|
|
117
129
|
"relative z-10 flex h-full w-full flex-col justify-between gap-2 overflow-hidden rounded-xl p-4 md:p-5 lg:p-6",
|
|
118
130
|
r
|
|
119
131
|
),
|
|
120
132
|
children: [
|
|
121
|
-
/* @__PURE__ */
|
|
122
|
-
|
|
133
|
+
/* @__PURE__ */ t(
|
|
134
|
+
f,
|
|
123
135
|
{
|
|
124
136
|
variant: "ad",
|
|
125
137
|
style: {
|
|
126
|
-
background:
|
|
127
|
-
color:
|
|
138
|
+
background: e.event.background,
|
|
139
|
+
color: e.event.color
|
|
128
140
|
},
|
|
129
141
|
className: "h-7 w-20 animate-pulse rounded-bl-lg rounded-br-none rounded-tl-none rounded-tr-lg px-2 py-1 text-sm",
|
|
130
142
|
children: ""
|
|
131
143
|
}
|
|
132
144
|
),
|
|
133
|
-
/* @__PURE__ */
|
|
134
|
-
/* @__PURE__ */
|
|
135
|
-
/* @__PURE__ */
|
|
136
|
-
/* @__PURE__ */
|
|
145
|
+
/* @__PURE__ */ t(a, { className: "h-4 w-1/2" }),
|
|
146
|
+
/* @__PURE__ */ m("div", { className: "flex flex-col items-start gap-2", children: [
|
|
147
|
+
/* @__PURE__ */ t("div", { className: "h-10 w-full", children: /* @__PURE__ */ t(a, { className: "h-5 w-4/5" }) }),
|
|
148
|
+
/* @__PURE__ */ t(a, { className: "h-14 w-full" })
|
|
137
149
|
] }),
|
|
138
|
-
/* @__PURE__ */
|
|
150
|
+
/* @__PURE__ */ t(a, { className: "mt-2 h-[19px] w-2/3" })
|
|
139
151
|
]
|
|
140
152
|
}
|
|
141
153
|
);
|
|
142
154
|
}
|
|
143
155
|
export {
|
|
144
|
-
|
|
156
|
+
vt as E
|
|
145
157
|
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
function n({
|
|
2
|
+
imagePriority: e = !1,
|
|
3
|
+
imageLoading: t,
|
|
4
|
+
imageFetchPriority: a,
|
|
5
|
+
imageDecoding: g
|
|
6
|
+
}) {
|
|
7
|
+
return {
|
|
8
|
+
loading: t ?? (e ? "eager" : "lazy"),
|
|
9
|
+
fetchPriority: a ?? (e ? "high" : "auto"),
|
|
10
|
+
decoding: g ?? "async"
|
|
11
|
+
};
|
|
12
|
+
}
|
|
13
|
+
export {
|
|
14
|
+
n as g
|
|
15
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";function i({imagePriority:t=!1,imageLoading:e,imageFetchPriority:a,imageDecoding:g}){return{loading:e??(t?"eager":"lazy"),fetchPriority:a??(t?"high":"auto"),decoding:g??"async"}}exports.getImageLoadingAttributes=i;
|
|
@@ -16,7 +16,7 @@ import "./ui/dialog.es.js";
|
|
|
16
16
|
import "./ui/dropdown-menu.es.js";
|
|
17
17
|
import "./ui/file-uploader.es.js";
|
|
18
18
|
import "./ui/form.es.js";
|
|
19
|
-
import { Icon as
|
|
19
|
+
import { Icon as j } from "./ui/icons.es.js";
|
|
20
20
|
import "./ui/input.es.js";
|
|
21
21
|
import "./ui/label.es.js";
|
|
22
22
|
import "./ui/month-picker.es.js";
|
|
@@ -31,32 +31,42 @@ import "@radix-ui/react-slider";
|
|
|
31
31
|
import "react";
|
|
32
32
|
import "./ui/switch.es.js";
|
|
33
33
|
import "./ui/tabs.es.js";
|
|
34
|
-
import { Tag as
|
|
34
|
+
import { Tag as A } from "./ui/tag.es.js";
|
|
35
35
|
import "./ui/text.es.js";
|
|
36
36
|
import "./ui/textarea.es.js";
|
|
37
37
|
import "./ui/toast.es.js";
|
|
38
38
|
import "./ui/toggle.es.js";
|
|
39
39
|
import "./ui/toggle-group.es.js";
|
|
40
40
|
import "./ui/tooltip.es.js";
|
|
41
|
-
|
|
42
|
-
|
|
41
|
+
import { g as $ } from "./image-loading-BX5rKZfC.js";
|
|
42
|
+
function ur({
|
|
43
|
+
keyPrefix: a,
|
|
43
44
|
lecturer: e,
|
|
44
|
-
roleLabel:
|
|
45
|
-
isMobile:
|
|
45
|
+
roleLabel: u,
|
|
46
|
+
isMobile: o,
|
|
46
47
|
isExpanded: t,
|
|
47
|
-
onToggleExpand:
|
|
48
|
-
description:
|
|
49
|
-
idx:
|
|
50
|
-
numberOfLecturers:
|
|
48
|
+
onToggleExpand: f,
|
|
49
|
+
description: l,
|
|
50
|
+
idx: g,
|
|
51
|
+
numberOfLecturers: h,
|
|
52
|
+
imagePriority: b,
|
|
53
|
+
imageLoading: x,
|
|
54
|
+
imageFetchPriority: N,
|
|
55
|
+
imageDecoding: w
|
|
51
56
|
}) {
|
|
52
|
-
const m = `${
|
|
57
|
+
const m = `${a}-name`, p = `${a}-srdesc`, s = `${a}-content`, n = o && l.length > 3, v = $({
|
|
58
|
+
imagePriority: b,
|
|
59
|
+
imageLoading: x,
|
|
60
|
+
imageFetchPriority: N,
|
|
61
|
+
imageDecoding: w
|
|
62
|
+
});
|
|
53
63
|
return /* @__PURE__ */ i(
|
|
54
64
|
"article",
|
|
55
65
|
{
|
|
56
66
|
"aria-labelledby": m,
|
|
57
67
|
className: d(
|
|
58
68
|
"flex h-full w-full items-start gap-5 rounded-[10px] border border-grey-200 px-[30px] py-5",
|
|
59
|
-
|
|
69
|
+
h === 1 && "col-span-2"
|
|
60
70
|
),
|
|
61
71
|
children: [
|
|
62
72
|
/* @__PURE__ */ r("div", { className: "shrink-0", children: e.imageUrl ? /* @__PURE__ */ r("div", { className: "relative flex aspect-square w-[60px] items-center justify-center overflow-hidden rounded-full border border-grey-200", children: /* @__PURE__ */ r(
|
|
@@ -65,20 +75,20 @@ function or({
|
|
|
65
75
|
src: e.imageUrl,
|
|
66
76
|
alt: `${e.lecturerName} 프로필 이미지`,
|
|
67
77
|
className: "h-full w-full object-cover",
|
|
68
|
-
|
|
78
|
+
...v
|
|
69
79
|
}
|
|
70
80
|
) }) : /* @__PURE__ */ r(
|
|
71
81
|
"div",
|
|
72
82
|
{
|
|
73
83
|
className: "relative flex aspect-square w-[60px] items-center justify-center overflow-hidden rounded-full bg-grey-100",
|
|
74
84
|
"aria-label": `${e.lecturerName} 프로필 이미지 없음`,
|
|
75
|
-
children: /* @__PURE__ */ r(
|
|
85
|
+
children: /* @__PURE__ */ r(j.Profile, { size: "32", fill: "#A2A3A4", "aria-hidden": "true" })
|
|
76
86
|
}
|
|
77
87
|
) }),
|
|
78
88
|
/* @__PURE__ */ i("div", { className: "flex w-full flex-col gap-2 text-regular14 text-grey-800", children: [
|
|
79
89
|
/* @__PURE__ */ i("header", { className: "flex items-center gap-2 text-semibold16", children: [
|
|
80
90
|
/* @__PURE__ */ r("span", { id: m, children: e.lecturerName }),
|
|
81
|
-
/* @__PURE__ */ r(
|
|
91
|
+
/* @__PURE__ */ r(A, { variant: "solid-secondary-100", size: "sm", className: "px-1 py-0.5", children: u })
|
|
82
92
|
] }),
|
|
83
93
|
/* @__PURE__ */ r("span", { className: "sr-only", id: p, children: "강사 소개를 목록으로 안내한다." }),
|
|
84
94
|
/* @__PURE__ */ i(
|
|
@@ -89,17 +99,17 @@ function or({
|
|
|
89
99
|
"aria-expanded": n ? t : void 0,
|
|
90
100
|
className: d(
|
|
91
101
|
"relative flex w-full flex-col whitespace-pre-wrap break-keep text-grey-600",
|
|
92
|
-
|
|
102
|
+
o && t && "pb-6"
|
|
93
103
|
),
|
|
94
104
|
children: [
|
|
95
|
-
|
|
96
|
-
(
|
|
105
|
+
l.map(
|
|
106
|
+
(y, c) => o && !t && c >= 3 ? null : /* @__PURE__ */ r("li", { children: y }, c)
|
|
97
107
|
),
|
|
98
108
|
n && /* @__PURE__ */ r("li", { className: "absolute bottom-0 right-0", children: /* @__PURE__ */ i(
|
|
99
109
|
"button",
|
|
100
110
|
{
|
|
101
111
|
type: "button",
|
|
102
|
-
onClick: () =>
|
|
112
|
+
onClick: () => f(g),
|
|
103
113
|
"aria-expanded": t,
|
|
104
114
|
"aria-controls": s,
|
|
105
115
|
className: "bg-white pl-1 text-main-600",
|
|
@@ -124,5 +134,5 @@ function or({
|
|
|
124
134
|
);
|
|
125
135
|
}
|
|
126
136
|
export {
|
|
127
|
-
|
|
137
|
+
ur as L
|
|
128
138
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const e=require("react/jsx-runtime"),d=require("./common-Ds1lanOg.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 w=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");const v=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 y=require("./image-loading-DZFBFoVv.cjs");function L({keyPrefix:a,lecturer:r,roleLabel:q,isMobile:s,isExpanded:i,onToggleExpand:m,description:l,idx:g,numberOfLecturers:x,imagePriority:h,imageLoading:f,imageFetchPriority:p,imageDecoding:b}){const t=`${a}-name`,u=`${a}-srdesc`,n=`${a}-content`,c=s&&l.length>3,j=y.getImageLoadingAttributes({imagePriority:h,imageLoading:f,imageFetchPriority:p,imageDecoding:b});return e.jsxs("article",{"aria-labelledby":t,className:d.cn("flex h-full w-full items-start gap-5 rounded-[10px] border border-grey-200 px-[30px] py-5",x===1&&"col-span-2"),children:[e.jsx("div",{className:"shrink-0",children:r.imageUrl?e.jsx("div",{className:"relative flex aspect-square w-[60px] items-center justify-center overflow-hidden rounded-full border border-grey-200",children:e.jsx("img",{src:r.imageUrl,alt:`${r.lecturerName} 프로필 이미지`,className:"h-full w-full object-cover",...j})}):e.jsx("div",{className:"relative flex aspect-square w-[60px] items-center justify-center overflow-hidden rounded-full bg-grey-100","aria-label":`${r.lecturerName} 프로필 이미지 없음`,children:e.jsx(w.Icon.Profile,{size:"32",fill:"#A2A3A4","aria-hidden":"true"})})}),e.jsxs("div",{className:"flex w-full flex-col gap-2 text-regular14 text-grey-800",children:[e.jsxs("header",{className:"flex items-center gap-2 text-semibold16",children:[e.jsx("span",{id:t,children:r.lecturerName}),e.jsx(v.Tag,{variant:"solid-secondary-100",size:"sm",className:"px-1 py-0.5",children:q})]}),e.jsx("span",{className:"sr-only",id:u,children:"강사 소개를 목록으로 안내한다."}),e.jsxs("ul",{id:n,"aria-describedby":u,"aria-expanded":c?i:void 0,className:d.cn("relative flex w-full flex-col whitespace-pre-wrap break-keep text-grey-600",s&&i&&"pb-6"),children:[l.map((N,o)=>s&&!i&&o>=3?null:e.jsx("li",{children:N},o)),c&&e.jsx("li",{className:"absolute bottom-0 right-0",children:e.jsxs("button",{type:"button",onClick:()=>m(g),"aria-expanded":i,"aria-controls":n,className:"bg-white pl-1 text-main-600",children:[i?"...정보 숨기기":"...정보 더보기",e.jsx("span",{"aria-hidden":"true",className:"absolute right-full h-full w-8 bg-gradient-to-r from-transparent to-white"})]})})]})]})]})}exports.LecturerCard=L;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const e=require("react/jsx-runtime"),u=require("./index-B8SY6s5B.cjs"),v=require("./common-Ds1lanOg.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");const y=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");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");const i=require("./ui/skeleton.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 N=require("./utils-CQ8Ml7W5.cjs"),k=require("./image-loading-DZFBFoVv.cjs");function B({adKey:a,filename:l,title:n,backgroundColor:o,hideButton:m=!1,buttonColors:r,linkType:x="homepage",isLoading:t=!1,className:d,imagePriority:c,imageLoading:q,imageFetchPriority:g,imageDecoding:h}){var s;const p=a&&l,b=`https://cdn.sayun.studio/boottent/images/banners/${a}/${l}`,f=k.getImageLoadingAttributes({imagePriority:c,imageLoading:q,imageFetchPriority:g,imageDecoding:h}),w={background:r?r.button:u.defaultBannerColor.button,color:r?r.buttonText:u.defaultBannerColor.buttonText,border:r?r.button:u.defaultBannerColor.button},j=t?i.Skeleton:"div";return e.jsx(j,{style:{backgroundColor:t?void 0:o},type:t?"background":void 0,className:v.cn("relative h-40 w-full overflow-hidden md:h-[200px]",t?"bg-white":"border-y border-y-grey-200",d),children:t?e.jsx(S,{}):e.jsxs("div",{className:"absolute inset-0 mx-auto flex h-full w-full max-w-screen-xl flex-row justify-start px-0 pb-6 pt-0 md:h-auto md:px-6 md:pb-0 md:pt-10 lg:px-10 lg:pt-6",children:[p?e.jsx("div",{className:"mx-auto flex h-full w-full items-center md:items-start",children:e.jsx("img",{src:b,alt:`${n} 이미지`,className:"h-auto max-h-[136px] w-full object-contain md:max-h-40 lg:max-h-[176px]",...f})}):e.jsx("div",{className:"h-full w-full bg-grey-100 text-muted",children:n}),!m&&e.jsx("div",{className:"absolute inset-0 mx-auto max-w-screen-xl px-4 md:px-6 lg:px-10",children:e.jsx(y.Button,{style:w,theme:"etc",variant:"solid",size:"md",className:"absolute bottom-4 right-4 h-9 w-24 text-xs md:bottom-6 md:right-6 md:h-11 md:w-32 md:text-sm lg:bottom-4 lg:right-10",children:((s=N.bannerLinkTypes[x])==null?void 0:s.label)+" →"||"홈페이지 →"})})]})})}function S(){return e.jsxs("div",{className:"relative mx-auto flex h-full w-full max-w-screen-xl flex-col items-start gap-5 px-4 pt-4 md:px-6 md:pt-10 lg:px-10",children:[e.jsx(i.Skeleton,{type:"text",className:"h-6 w-4/5 rounded-xl md:h-10"}),e.jsx(i.Skeleton,{type:"text",className:"h-10 w-1/2 rounded-xl md:h-16 lg:w-3/5"}),e.jsx(i.Skeleton,{type:"text",className:"absolute bottom-4 right-4 aspect-[3/1] w-[120px] shrink-0 md:right-6 md:w-[140px] lg:right-10"})]})}exports.MainBannerImage=B;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { jsx as t, jsxs as s } from "react/jsx-runtime";
|
|
2
2
|
import { d as o } from "./index-DWvwbdTU.js";
|
|
3
|
-
import { c as
|
|
3
|
+
import { c as N } from "./common-C3JaD1vJ.js";
|
|
4
4
|
import "./ui/accordion.es.js";
|
|
5
5
|
import "./ui/alert-dialog.es.js";
|
|
6
6
|
import "@radix-ui/react-aspect-ratio";
|
|
7
7
|
import "./ui/avatar.es.js";
|
|
8
8
|
import "./ui/badge.es.js";
|
|
9
|
-
import { Button as
|
|
9
|
+
import { Button as k } from "./ui/button.es.js";
|
|
10
10
|
import "./ui/calendar.es.js";
|
|
11
11
|
import "./ui/callout.es.js";
|
|
12
12
|
import "./ui/card.es.js";
|
|
@@ -39,20 +39,30 @@ import "./ui/toast.es.js";
|
|
|
39
39
|
import "./ui/toggle.es.js";
|
|
40
40
|
import "./ui/toggle-group.es.js";
|
|
41
41
|
import "./ui/tooltip.es.js";
|
|
42
|
-
import { c as
|
|
43
|
-
|
|
42
|
+
import { c as j } from "./utils-DMV7dwIW.js";
|
|
43
|
+
import { g as B } from "./image-loading-BX5rKZfC.js";
|
|
44
|
+
function bt({
|
|
44
45
|
adKey: i,
|
|
45
|
-
filename:
|
|
46
|
-
title:
|
|
46
|
+
filename: a,
|
|
47
|
+
title: l,
|
|
47
48
|
backgroundColor: n,
|
|
48
49
|
hideButton: d = !1,
|
|
49
50
|
buttonColors: m,
|
|
50
51
|
linkType: x = "homepage",
|
|
51
52
|
isLoading: r = !1,
|
|
52
|
-
className: c
|
|
53
|
+
className: c,
|
|
54
|
+
imagePriority: u,
|
|
55
|
+
imageLoading: h,
|
|
56
|
+
imageFetchPriority: g,
|
|
57
|
+
imageDecoding: b
|
|
53
58
|
}) {
|
|
54
59
|
var p;
|
|
55
|
-
const
|
|
60
|
+
const f = i && a, w = `https://cdn.sayun.studio/boottent/images/banners/${i}/${a}`, v = B({
|
|
61
|
+
imagePriority: u,
|
|
62
|
+
imageLoading: h,
|
|
63
|
+
imageFetchPriority: g,
|
|
64
|
+
imageDecoding: b
|
|
65
|
+
}), y = {
|
|
56
66
|
background: m ? m.button : o.button,
|
|
57
67
|
color: m ? m.buttonText : o.buttonText,
|
|
58
68
|
border: m ? m.button : o.button
|
|
@@ -64,37 +74,37 @@ function nt({
|
|
|
64
74
|
backgroundColor: r ? void 0 : n
|
|
65
75
|
},
|
|
66
76
|
type: r ? "background" : void 0,
|
|
67
|
-
className:
|
|
77
|
+
className: N(
|
|
68
78
|
"relative h-40 w-full overflow-hidden md:h-[200px]",
|
|
69
79
|
r ? "bg-white" : "border-y border-y-grey-200",
|
|
70
80
|
c
|
|
71
81
|
),
|
|
72
|
-
children: r ? /* @__PURE__ */ t(
|
|
73
|
-
|
|
82
|
+
children: r ? /* @__PURE__ */ t(A, {}) : /* @__PURE__ */ s("div", { className: "absolute inset-0 mx-auto flex h-full w-full max-w-screen-xl flex-row justify-start px-0 pb-6 pt-0 md:h-auto md:px-6 md:pb-0 md:pt-10 lg:px-10 lg:pt-6", children: [
|
|
83
|
+
f ? /* @__PURE__ */ t("div", { className: "mx-auto flex h-full w-full items-center md:items-start", children: /* @__PURE__ */ t(
|
|
74
84
|
"img",
|
|
75
85
|
{
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
86
|
+
src: w,
|
|
87
|
+
alt: `${l} 이미지`,
|
|
88
|
+
className: "h-auto max-h-[136px] w-full object-contain md:max-h-40 lg:max-h-[176px]",
|
|
89
|
+
...v
|
|
80
90
|
}
|
|
81
|
-
) }) : /* @__PURE__ */ t("div", { className: "h-full w-full bg-grey-100 text-muted", children:
|
|
91
|
+
) }) : /* @__PURE__ */ t("div", { className: "h-full w-full bg-grey-100 text-muted", children: l }),
|
|
82
92
|
!d && /* @__PURE__ */ t("div", { className: "absolute inset-0 mx-auto max-w-screen-xl px-4 md:px-6 lg:px-10", children: /* @__PURE__ */ t(
|
|
83
|
-
|
|
93
|
+
k,
|
|
84
94
|
{
|
|
85
|
-
style:
|
|
95
|
+
style: y,
|
|
86
96
|
theme: "etc",
|
|
87
97
|
variant: "solid",
|
|
88
98
|
size: "md",
|
|
89
99
|
className: "absolute bottom-4 right-4 h-9 w-24 text-xs md:bottom-6 md:right-6 md:h-11 md:w-32 md:text-sm lg:bottom-4 lg:right-10",
|
|
90
|
-
children: ((p =
|
|
100
|
+
children: ((p = j[x]) == null ? void 0 : p.label) + " →" || "홈페이지 →"
|
|
91
101
|
}
|
|
92
102
|
) })
|
|
93
103
|
] })
|
|
94
104
|
}
|
|
95
105
|
);
|
|
96
106
|
}
|
|
97
|
-
function
|
|
107
|
+
function A() {
|
|
98
108
|
return /* @__PURE__ */ s("div", { className: "relative mx-auto flex h-full w-full max-w-screen-xl flex-col items-start gap-5 px-4 pt-4 md:px-6 md:pt-10 lg:px-10", children: [
|
|
99
109
|
/* @__PURE__ */ t(e, { type: "text", className: "h-6 w-4/5 rounded-xl md:h-10" }),
|
|
100
110
|
/* @__PURE__ */ t(e, { type: "text", className: "h-10 w-1/2 rounded-xl md:h-16 lg:w-3/5" }),
|
|
@@ -108,5 +118,5 @@ function y() {
|
|
|
108
118
|
] });
|
|
109
119
|
}
|
|
110
120
|
export {
|
|
111
|
-
|
|
121
|
+
bt as M
|
|
112
122
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const e=require("react/jsx-runtime"),h=require("./index-DKCqkplO.cjs"),f=require("./image-loading-DZFBFoVv.cjs"),{red:g,white:i,grey:m}=h.colors;function c({children:l,color:r,background:s,className:x}){return e.jsx("div",{className:`whitespace-nowrap break-keep rounded px-1 py-0.5 md:px-2 md:py-1 ${x??""}`.trim(),style:{color:r,background:s},children:l})}function d({size:l="14",fill:r="#FF4A56"}){return e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:l,height:l,viewBox:"0 0 14 14",fill:"none",children:e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.00016 13.6667C10.6821 13.6667 13.6668 10.6819 13.6668 7.00001C13.6668 3.31811 10.6821 0.333344 7.00016 0.333344C3.31826 0.333344 0.333496 3.31811 0.333496 7.00001C0.333496 10.6819 3.31826 13.6667 7.00016 13.6667ZM8.22033 9.33334H9.00016V4.66668H8.13294V7.85728H8.08588L5.79344 4.66668H5.00016V9.33334H5.87411V6.14274H5.91445L8.22033 9.33334Z",fill:r})})}function j({introductionData:l,updatedContents:r,openBatchs:s,imagePriority:x,imageLoading:n,imageFetchPriority:t,imageDecoding:o}){const a=f.getImageLoadingAttributes({imagePriority:x,imageLoading:n,imageFetchPriority:t,imageDecoding:o});return e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"relative hidden h-full w-full cursor-pointer overflow-hidden rounded-[10px] border border-grey-200 bg-white md:block",children:[e.jsxs("div",{className:"relative flex aspect-[2/1] w-full items-center justify-center",children:[l.thumbnail?e.jsx("img",{src:l.thumbnail,alt:l.companyName,className:"h-full w-full object-cover",width:350,height:200,...a}):e.jsx("img",{src:l.cover,alt:l.companyName,className:"h-full w-full object-cover",...a}),(s||r)&&e.jsxs("div",{className:"absolute left-2.5 top-2.5 flex gap-1 text-regular13",children:[s&&e.jsx(c,{color:i,background:g[300],children:"모집 중"}),r&&e.jsx(c,{color:i,background:m[800],children:"업데이트"})]}),e.jsx("div",{className:"absolute bottom-0 aspect-square w-[70px] translate-y-1/2 overflow-hidden rounded-full border border-grey-200 bg-white",children:e.jsx("img",{src:l.logo,alt:l.companyName,className:"h-full w-full object-contain",...a})})]}),e.jsxs("div",{className:"flex w-full flex-col items-center gap-[15px] overflow-hidden p-5 text-regular14 text-grey-600",children:[e.jsxs("div",{className:"flex w-full flex-col items-center gap-2.5 ",children:[e.jsx("div",{className:"mt-[25px] text-semibold16 text-grey-800",children:l.companyName}),e.jsx("div",{className:"line-clamp-2 shrink-0 ",children:l.title})]}),(s||r)&&e.jsxs("div",{className:"flex w-full flex-col gap-2 text-grey-800",children:[s&&e.jsxs("div",{className:"flex gap-1 self-start rounded bg-grey-100 px-2 py-1 text-regular13",children:[e.jsx(d,{}),e.jsx("span",{children:`${s}건의 교육과정 모집 중`})]}),r&&e.jsxs("div",{className:"flex gap-1 self-start rounded bg-grey-100 px-2 py-1 text-regular13",children:[e.jsx(d,{}),e.jsx("span",{children:`${r}건의 콘텐츠 업데이트`})]})]})]})]}),e.jsxs("div",{className:"relative flex h-full max-h-52 w-full cursor-pointer items-start gap-4 overflow-hidden rounded-[10px] border border-grey-200 bg-white p-4 md:hidden",children:[e.jsx("div",{className:"aspect-square w-[60px] overflow-hidden rounded-full border border-grey-200 bg-white",children:e.jsx("img",{src:l.logo,alt:l.companyName,className:"h-full w-full object-contain",...a})}),e.jsxs("div",{className:"flex w-full flex-col gap-2 overflow-hidden text-regular14 text-grey-600",children:[e.jsxs("div",{className:"flex flex-col gap-2",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[s&&e.jsx(c,{color:i,background:g[300],className:"text-regular13",children:"모집 중"}),r&&e.jsx(c,{color:i,background:m[800],className:"text-regular13",children:"업데이트"})]}),e.jsx("div",{className:"text-semibold14 text-grey-800",children:l.companyName})]}),e.jsx("div",{className:"line-clamp-2 shrink-0 ",children:l.title}),s&&e.jsxs("div",{className:"flex gap-1 self-start rounded bg-grey-100 px-1 py-0.5 text-regular13",children:[e.jsx(d,{}),e.jsx("span",{children:`${s}건의 교육과정 모집 중`})]}),r&&e.jsxs("div",{className:"flex gap-1 self-start rounded bg-grey-100 px-1 py-0.5 text-regular13",children:[e.jsx(d,{}),e.jsx("span",{children:`${r}건의 콘텐츠 업데이트`})]})]})]})]})}exports.PartnerListCard=j;
|