feat: 포스트를 만들 때 날씨각 캐릭터(해님·구름·달님) 댓글 1~2개 — '날씨각' 표시, 신고·차단 메뉴 없음, 이미 만든 날은 scripts/fill_bot_comments.py
This commit is contained in:
1 parent
d32e24a5ab
commit
98b5c0cbe3
19 files changed
+864
-4
No files matched your search
@@ -801,6 +801,7 @@ function CommentRow({ c, postId, onNotice }: { c: CommentData; postId: number; o
|
||||
<div>
|
||||
<p className="m-0 text-sm">
|
||||
<b className="mr-1.5 font-extrabold">{c.nickname}</b>
|
||||
{c.official && <span className="mr-1.5 inline-block -translate-y-px rounded-md bg-(--orange) px-1.5 py-px align-middle text-[10.5px] font-extrabold text-white">날씨각</span>}
|
||||
{c.body}
|
||||
</p>
|
||||
<small className="mt-0.5 block text-xs font-bold text-(--ink3)">
|
||||
@@ -813,7 +814,8 @@ function CommentRow({ c, postId, onNotice }: { c: CommentData; postId: number; o
|
||||
</button>
|
||||
</>
|
||||
)}
|
||||
{!c.mine && <CommentMenu c={c} postId={postId} onNotice={onNotice} />}
|
||||
{/* 날씨각 캐릭터 댓글은 운영 문구라 신고·차단 메뉴가 없다 */}
|
||||
{!c.mine && !c.official && <CommentMenu c={c} postId={postId} onNotice={onNotice} />}
|
||||
</small>
|
||||
</div>
|
||||
<button type="button" onClick={toggle} aria-pressed={liked} aria-label="댓글 좋아요" className={cx('relative cursor-pointer pt-1', TAP44)}>
|
||||
|
||||
Reference in new issue
Block a user