You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
// frontend/components/notify/SenderRules.tsx — 발신자 규칙 (점·who·from·rule + 안내 노트)
"use client" ;
import { Icon } from "@/components/Icon" ;
import type { SenderRule } from "@/lib/types" ;
export function SenderRules ( { senders } : { senders : SenderRule [ ] } ) {
return (
< div className = "board" >
< section className = "card sp2" >
< div className = "ch" >
< div className = "ico" >
< Icon name = "users" / >
< / div >
< div className = "htext" >
< h3 > 발 신 자 규 칙 < / h3 >
< div className = "sub" > 누 구 는 바 로 , 누 구 는 모 아 서 < / div >
< / div >
< span className = "count" > { senders . length } 개 < / span >
< / div >
< div className = "sd-list" >
{ senders . map ( ( s ) = > (
< div className = "sd-row" key = { s . id } >
< span className = "sd-dot" style = { { background : ` var(-- ${ s . tone } ) ` } } / >
< div className = "sd-who" >
{ s . who }
< span > { s . from } < / span >
< / div >
< span className = "sd-rule" > { s . rule } < / span >
< / div >
) ) }
< / div >
< div className = "sd-note" >
< Icon name = "spark" / >
‘ 나 중 에 ’ 로 미 룬 발 신 자 가 쌓 이 면 아 리 가 새 규 칙 을 제 안 해 요 . 자 동 화 페 이 지 에 서 언 제 든 고 칠
수 있 어 요 .
< / div >
< / section >
< / div >
) ;
}