@edu-tosel/design 1.0.248 → 1.0.250

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/asset/url.d.ts CHANGED
@@ -1,5 +1,6 @@
1
1
  declare const urlAsset: {
2
2
  homepage: (pathname?: string) => string;
3
3
  resource: (pathname?: string) => string;
4
+ faq: string;
4
5
  };
5
6
  export default urlAsset;
package/asset/url.js CHANGED
@@ -1,7 +1,9 @@
1
1
  const homepage = (pathname) => ["https://new.tosel.org", pathname].filter((v) => v).join("");
2
2
  const resource = (pathname) => ["https://resource.tosel.co.kr", pathname].filter((v) => v).join("");
3
+ const faq = "https://tosel-faq.notion.site/TOSEL-143de6b860e28030b40df63dfb9409e7";
3
4
  const urlAsset = {
4
5
  homepage,
5
6
  resource,
7
+ faq,
6
8
  };
7
9
  export default urlAsset;
package/asset/url.ts CHANGED
@@ -2,9 +2,11 @@ const homepage = (pathname?: string) =>
2
2
  ["https://new.tosel.org", pathname].filter((v) => v).join("");
3
3
  const resource = (pathname?: string) =>
4
4
  ["https://resource.tosel.co.kr", pathname].filter((v) => v).join("");
5
-
5
+ const faq =
6
+ "https://tosel-faq.notion.site/TOSEL-143de6b860e28030b40df63dfb9409e7";
6
7
  const urlAsset = {
7
8
  homepage,
8
9
  resource,
10
+ faq,
9
11
  };
10
12
  export default urlAsset;
@@ -101,7 +101,7 @@ export default function Table({ exams }) {
101
101
  };
102
102
  return (_jsxs("div", { className: cn(container), children: [_jsxs("div", { className: cn(inputBoxWrapperWeb), children: [_jsxs("div", { className: cn(titleWrapperWeb), children: [_jsx("div", { className: cn(mainTitle), children: "\uC774\uC804 \uC131\uC801 \uC870\uD68C\uD558\uAE30" }), _jsx("div", { className: cn(subTitle), children: "85\uD68C \uC774\uC804\uC758 \uC131\uC801\uC744 \uC870\uD68C\uD569\uB2C8\uB2E4." })] }), _jsx("input", { type: "text", className: cn(inputBox), onChange: (e) => {
103
103
  setFilterKey(e.target.value);
104
- }, placeholder: "\uC2DC\uD5D8 \uC774\uB984\uC744 \uC785\uB825\uD574\uC8FC\uC138\uC694" }), _jsxs("div", { className: cn(buttonSetWrapper), children: [_jsx("div", { className: "text-xs text-green-dark", children: "\uB2E4\uB978 \uC11C\uBE44\uC2A4\uB97C \uC774\uC6A9\uD558\uACE0 \uC2F6\uB098\uC694?" }), _jsxs("div", { className: cn(buttonSet), children: [_jsx("div", { className: cn(linkButton), onClick: () => (window.location.href = urlAsset.homepage()), children: "\uD648\uC73C\uB85C" }), _jsx("div", { className: cn(linkButton), onClick: () => (window.location.href = urlAsset.homepage("/legacy/integrate")), children: "\uC5F0\uB3D9 \uACC4\uC815 \uCD94\uAC00\uD558\uAE30" }), _jsx("div", { className: cn(linkButton), onClick: () => (window.location.href = "https://tosel.org/HallofFame/main"), children: "\uBA85\uC608\uC758 \uC804\uB2F9" })] })] })] }), _jsxs("div", { className: cn(cardDeckWrapper), children: [_jsx("div", { className: cn(scrollWrapper), children: _jsxs("div", { className: cn(examsWrapper), children: [_jsxs("div", { className: cn(titleWrapperMobile), children: [_jsx("div", { className: cn(mainTitle), children: "\uC774\uC804 \uC131\uC801 \uC870\uD68C\uD558\uAE30" }), _jsx("div", { className: cn(subTitle), children: "85\uD68C \uC774\uC804\uC758 \uC131\uC801\uC744 \uC870\uD68C\uD569\uB2C8\uB2E4." })] }), _jsxs(Action.Replace, { actions: [
104
+ }, placeholder: "\uC2DC\uD5D8 \uC774\uB984\uC744 \uC785\uB825\uD574\uC8FC\uC138\uC694" }), _jsxs("div", { className: cn(buttonSetWrapper), children: [_jsx("div", { className: "text-xs text-green-dark", children: "\uB2E4\uB978 \uC11C\uBE44\uC2A4\uB97C \uC774\uC6A9\uD558\uACE0 \uC2F6\uB098\uC694?" }), _jsxs("div", { className: cn(buttonSet), children: [_jsx("div", { className: cn(linkButton), onClick: () => (window.location.href = urlAsset.homepage()), children: "\uD648\uC73C\uB85C" }), _jsx("div", { className: cn(linkButton), onClick: () => (window.location.href = urlAsset.homepage("/legacy/integrate")), children: "\uC5F0\uB3D9 \uACC4\uC815 \uCD94\uAC00\uD558\uAE30" }), _jsx("div", { className: cn(linkButton), onClick: () => (window.location.href = "https://honor.tosel.co.kr/"), children: "\uBA85\uC608\uC758 \uC804\uB2F9" })] })] })] }), _jsxs("div", { className: cn(cardDeckWrapper), children: [_jsx("div", { className: cn(scrollWrapper), children: _jsxs("div", { className: cn(examsWrapper), children: [_jsxs("div", { className: cn(titleWrapperMobile), children: [_jsx("div", { className: cn(mainTitle), children: "\uC774\uC804 \uC131\uC801 \uC870\uD68C\uD558\uAE30" }), _jsx("div", { className: cn(subTitle), children: "85\uD68C \uC774\uC804\uC758 \uC131\uC801\uC744 \uC870\uD68C\uD569\uB2C8\uB2E4." })] }), _jsxs(Action.Replace, { actions: [
105
105
  [
106
106
  filteredExam.length === 0,
107
107
  _jsxs("div", { className: cn(noResultWrapper), children: [_jsx("div", { className: cn(noResultImg), children: _jsx("img", { src: "/images/legacy/img-legacy-noresult.png", alt: "\uACB0\uACFC \uC5C6\uC74C" }) }), _jsx("div", { className: "text-sm text-center w-full font-medium", children: "\uC774\uB7F0, \uAC80\uC0C9\uACB0\uACFC\uAC00 \uC5C6\uC5B4\uC694" })] }),
@@ -10,7 +10,7 @@ export default function HonorCard({ result }) {
10
10
  backgrounds: "bg-white shadow-main",
11
11
  animations: "duration-300 hover:scale-105 hover:shadow-green",
12
12
  };
13
- return (_jsxs("div", { className: cn(cardWrapper, printBoxStyles), onClick: () => (window.location.href = `https://www.tosel.org/HallofFame/main`), children: [_jsx(CardTitle, { theme: "green", title: "\uBA85\uC608\uC758 \uC804\uB2F9" }), _jsxs("div", { className: "w-full h-full flex flex-row px-5 gap-x-5 justify-center items-center", children: [_jsxs("div", { className: "flex flex-col w-full flex-1 justify-center items-center xs:hidden md:flex print:width-30", children: [_jsx("div", { className: "text-gray-dark font-bold text-xl", children: "\uBA85\uC608\uC758 \uC804\uB2F9" }), _jsx("div", { className: "text-gray-medium font-medium text-sm", children: "Hall of Fame" })] }), _jsx("div", { className: "flex w-full py-4 xs:py-0 aspect-square flex-1 print:w-30", children: _jsx(SVG.HallofFame, { isHonor: result.isHonor }) })] }), _jsx("div", { className: "pb-3 px-5 text-center text-xs", children: result.isHonor
13
+ return (_jsxs("div", { className: cn(cardWrapper, printBoxStyles), onClick: () => (window.location.href = `https://honor.tosel.co.kr/`), children: [_jsx(CardTitle, { theme: "green", title: "\uBA85\uC608\uC758 \uC804\uB2F9" }), _jsxs("div", { className: "w-full h-full flex flex-row px-5 gap-x-5 justify-center items-center", children: [_jsxs("div", { className: "flex flex-col w-full flex-1 justify-center items-center xs:hidden md:flex print:width-30", children: [_jsx("div", { className: "text-gray-dark font-bold text-xl", children: "\uBA85\uC608\uC758 \uC804\uB2F9" }), _jsx("div", { className: "text-gray-medium font-medium text-sm", children: "Hall of Fame" })] }), _jsx("div", { className: "flex w-full py-4 xs:py-0 aspect-square flex-1 print:w-30", children: _jsx(SVG.HallofFame, { isHonor: result.isHonor }) })] }), _jsx("div", { className: "pb-3 px-5 text-center text-xs", children: result.isHonor
14
14
  ? "축하합니다! 명예의 전당에 등재되었습니다"
15
15
  : "아쉽게도 명예의 전당에 오르지 못했습니다." })] }));
16
16
  }
@@ -53,7 +53,6 @@ const buttons = [
53
53
  },
54
54
  {
55
55
  title: "FAQ",
56
- onClick: () => (window.location.href =
57
- "https://dull-marmoset-39f.notion.site/TOSEL-FAQ-4054b35db6fc421c9495039e769992a3"),
56
+ onClick: () => (window.location.href = urlAsset.faq),
58
57
  },
59
58
  ];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@edu-tosel/design",
3
- "version": "1.0.248",
3
+ "version": "1.0.250",
4
4
  "description": "UI components for International TOSEL Committee",
5
5
  "keywords": [
6
6
  "jsx",
package/version.txt CHANGED
@@ -1 +1 @@
1
- 1.0.248
1
+ 1.0.250