QCAST 메인 dayjs 관련 수정
This commit is contained in:
parent
1c5747fddd
commit
1574a784f4
@ -112,16 +112,22 @@ export default function MainContents({ objectList, businessCharger, businessChar
|
||||
</ProductItem>
|
||||
<ProductItem num={2} name={getMessage('main.content.notice')}>
|
||||
<div className="notice-box">
|
||||
{recentNoticeList.length > 0 ? (
|
||||
<>
|
||||
<div className="notice-day pre">{dayjs(recentNoticeList[0]?.regDt).format('YYYY.MM.DD')}</div>
|
||||
<div className="notice-title">{recentNoticeList[0]?.title}</div>
|
||||
<div className="notice-contents">{recentNoticeList[0]?.contents}</div>
|
||||
</>
|
||||
) : null}
|
||||
</div>
|
||||
</ProductItem>
|
||||
</div>
|
||||
<div className="main-product-list">
|
||||
<ProductItem num={3} name={getMessage('main.faq')}>
|
||||
<ul className="faq-list">
|
||||
{recentFaqList.map((row, index) => {
|
||||
{recentFaqList.length > 0 ? (
|
||||
<>
|
||||
{recentFaqList.map((row) => {
|
||||
return (
|
||||
<li key={row.rowNumber} className="faq-item">
|
||||
<div className="faq-item-inner">
|
||||
@ -132,6 +138,8 @@ export default function MainContents({ objectList, businessCharger, businessChar
|
||||
</li>
|
||||
)
|
||||
})}
|
||||
</>
|
||||
) : null}
|
||||
</ul>
|
||||
</ProductItem>
|
||||
<ProductItem num={4} name={'Data Download'}>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user