📘
@@ -216,12 +201,11 @@ export function BoardView() {
{manualCategories.map(cat => (
))}
@@ -229,10 +213,9 @@ export function BoardView() {
setManualSearch(e.target.value)}
- className="px-4 py-2 text-sm rounded w-64" style={{ background: 'var(--bg2)', border: '1px solid var(--bd)', outline: 'none' }} />
+ className="wing-input-search" />
@@ -246,33 +229,18 @@ export function BoardView() {
- {filteredManuals.map(file => {
- const cc = catColor(file.catgNm)
- return (
-
{ (e.currentTarget as HTMLElement).style.borderColor = 'rgba(6,182,212,.4)' }}
- onMouseLeave={e => { (e.currentTarget as HTMLElement).style.borderColor = 'var(--bd)' }}
- >
+ {filteredManuals.map(file => (
+
-
- {file.catgNm}
-
-
- {file.version}
-
+ {file.catgNm}
+ {file.version}
{file.title}
-
- 📄
- {file.fileTp || 'PDF'}
-
-
{file.fileSz}
+
📄 {file.fileTp || 'PDF'}
+
{file.fileSz}
@@ -303,19 +270,18 @@ export function BoardView() {
}
}
}}
- className="px-2 py-0.5 rounded text-[10px] font-semibold transition-all"
- style={{ background: 'rgba(239,68,68,.1)', border: '1px solid rgba(239,68,68,.2)', color: '#ef4444', cursor: 'pointer' }}
+ className="wing-btn text-[10px] bg-red-500/10 text-red-400 border border-red-500/20 hover:bg-red-500/20"
title="삭제">
🗑️ 삭제
-
+
{file.authorNm}
{new Date(file.regDtm).toLocaleDateString('ko-KR')}
-
+
⬇ {file.dwnldCnt}
-
- )
- })}
+
+ ))}
)}
@@ -392,16 +354,14 @@ export function BoardView() {
{['방제매뉴얼', '대응매뉴얼', '교육자료', '법령·규정'].map(cat => {
- const cc = catColor(cat)
const isActive = uploadForm.category === cat
return (
)
@@ -412,13 +372,13 @@ export function BoardView() {
setUploadForm(prev => ({ ...prev, title: e.target.value }))}
- className="w-full px-3 py-2.5 rounded-md text-xs bg-bg-2 border border-border outline-none" style={{ boxSizing: 'border-box' }} />
+ className="wing-input w-full" style={{ boxSizing: 'border-box' }} />
setUploadForm(prev => ({ ...prev, version: e.target.value }))}
- className="w-full px-3 py-2.5 rounded-md text-xs bg-bg-2 border border-border outline-none" style={{ boxSizing: 'border-box' }} />
+ className="wing-input w-full" style={{ boxSizing: 'border-box' }} />
@@ -458,7 +418,7 @@ export function BoardView() {
@@ -547,7 +507,7 @@ export function BoardView() {
{/* 헤더 */}
-
+
총 {totalCount}건
@@ -558,12 +518,12 @@ export function BoardView() {
value={searchTerm}
onChange={(e) => setSearchTerm(e.target.value)}
onKeyDown={handleSearchKeyDown}
- className="px-4 py-2 text-sm bg-bg-2 border border-border rounded text-text-1 placeholder-text-3 focus:border-primary-cyan focus:outline-none w-64"
+ className="wing-input-search"
/>
{hasPermission(getWriteResource(), 'CREATE') && (
@@ -579,42 +539,40 @@ export function BoardView() {
) : (
<>
-
+
- | 번호 |
- 분류 |
- 제목 |
- 작성자 |
- 작성일 |
- 조회 |
+ 번호 |
+ 분류 |
+ 제목 |
+ 작성자 |
+ 작성일 |
+ 조회 |
{posts.map((post) => (
- | {post.sn} |
-
-
- {CATEGORY_LABELS[post.categoryCd] || post.categoryCd}
-
+ | {post.sn} |
+
+ {CATEGORY_LABELS[post.categoryCd] || post.categoryCd}
|
handlePostClick(post.sn)}
>
{post.pinnedYn === 'Y' && '📌 '}{post.title}
|
- {post.authorName} |
-
+ | {post.authorName} |
+
{new Date(post.regDtm).toLocaleDateString('ko-KR')}
|
- {post.viewCnt} |
+ {post.viewCnt} |
))}
@@ -636,10 +594,10 @@ export function BoardView() {