@edu-tosel/design 1.0.354 → 1.0.357

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.
@@ -1,5 +1,5 @@
1
1
  export declare const newsKeys: readonly ["id", "index", "category", "title", "subTitle", "content", "imgUrl", "author", "isValid", "isPinned", "createdAt", "updatedAt"];
2
- export declare const newsCategories: readonly ["test", "lab", "education", "tosel", "event"];
2
+ export declare const newsCategories: readonly ["test", "lab", "education", "tosel", "new", "event"];
3
3
  export type NewsCategoryType = (typeof newsCategories)[number];
4
4
  export declare const newsAuthors: readonly ["tosel", "tosel-lab", "professor", "administrator", "esg"];
5
5
  export type NewsAuthorType = (typeof newsAuthors)[number];
package/interface/News.js CHANGED
@@ -2,11 +2,12 @@ export const newsKeys = [
2
2
  'id', 'index', 'category', 'title', 'subTitle', 'content', 'imgUrl', 'author', 'isValid', 'isPinned', 'createdAt', 'updatedAt'
3
3
  ];
4
4
  export const newsCategories = [
5
- "test", // 시험
6
- "lab", // Lab
7
- "education", // 공교육
8
- "tosel", // TOSEL
9
- "event", // 이벤트
5
+ "test", // 현장스케치
6
+ "lab", // 세미나
7
+ "education", // 파트너
8
+ "tosel", // 공식보도
9
+ "new", // 신규
10
+ "event", // 행사
10
11
  ];
11
12
  export const newsAuthors = [
12
13
  "tosel",
@@ -30,6 +30,6 @@ export default function Interviews({ interviews, onClick }) {
30
30
  ];
31
31
  const avatarColor = avatarColors[index % avatarColors.length];
32
32
  const tagColor = tagColors[index % tagColors.length];
33
- return (_jsxs("div", { className: "bg-[#1a1f3a] rounded-xl p-6 md:p-8 shadow-lg hover:shadow-xl transition-shadow duration-300 flex flex-col", children: [_jsxs("div", { className: "flex items-start gap-4 mb-4", children: [_jsx("div", { className: cn("w-12 h-12 md:w-14 md:h-14 rounded-full flex-shrink-0 flex items-center justify-center", avatarColor), children: profile.profileUrl ? (_jsx("img", { src: profile.profileUrl, alt: profile.name, className: "w-full h-full rounded-full object-cover" })) : (_jsx("div", { className: "text-white text-lg md:text-xl font-bold", children: profile.name.charAt(0) })) }), _jsxs("div", { className: "flex-1 min-w-0", children: [_jsx("div", { className: "text-white font-semibold text-base md:text-lg mb-1", children: profile.name }), _jsx("div", { className: "text-gray-400 text-sm md:text-base", children: profile.description })] })] }), profile.tag && (_jsx("div", { className: cn("inline-block px-3 py-1 rounded text-xs md:text-sm font-medium mb-4 w-fit", profile.tagBackgroundColor || tagColor.bg, profile.textColor || tagColor.text), children: profile.tag })), profile.content && (_jsxs("div", { className: "text-white text-sm md:text-base leading-relaxed mb-6 flex-1", children: ["\"", profile.content, "\""] }))] }, interview.id));
33
+ return (_jsxs("div", { className: "bg-[#1a1f3a] rounded-xl p-6 md:p-8 shadow-lg hover:shadow-xl transition-shadow duration-300 flex flex-col", children: [_jsxs("div", { className: "flex items-start gap-4 mb-4", children: [_jsx("div", { className: cn("w-12 h-12 md:w-14 md:h-14 rounded-full flex-shrink-0 flex items-center justify-center", avatarColor), children: profile.profileUrl ? (_jsx("img", { src: profile.profileUrl, alt: profile.name, className: "w-full h-full rounded-full object-cover" })) : (_jsx("div", { className: "text-white text-lg md:text-xl font-bold", children: profile.name.charAt(0) })) }), _jsxs("div", { className: "flex-1 min-w-0", children: [_jsx("div", { className: "text-white font-semibold text-base md:text-lg mb-1", children: profile.name }), _jsx("div", { className: "text-gray-400 text-sm md:text-base", children: profile.description })] })] }), profile.tag && (_jsx("div", { className: cn("inline-block px-3 py-1 rounded text-xs md:text-sm font-medium mb-4 w-fit", profile.tagBackgroundColor || tagColor.bg, profile.textColor || tagColor.text), children: profile.tag })), profile.content && (_jsx("div", { className: "text-white text-sm md:text-base leading-relaxed mb-6 flex-1", dangerouslySetInnerHTML: { __html: profile.content } }))] }, interview.id));
34
34
  }) })] }) }));
35
35
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@edu-tosel/design",
3
- "version": "1.0.354",
3
+ "version": "1.0.357",
4
4
  "description": "UI components for International TOSEL Committee",
5
5
  "keywords": [
6
6
  "jsx",
package/version.txt CHANGED
@@ -1 +1 @@
1
- 1.0.354
1
+ 1.0.357