From 344caace3a2e3299357c9fc3ba55268ed16c1c62 Mon Sep 17 00:00:00 2001 From: gahusb Date: Tue, 28 Apr 2026 10:58:45 +0900 Subject: [PATCH] =?UTF-8?q?feat(subscription):=20NotificationSettings=20?= =?UTF-8?q?=E2=80=94=20=EC=9E=84=EA=B3=84=EA=B0=92=20=EC=8A=AC=EB=9D=BC?= =?UTF-8?q?=EC=9D=B4=EB=8D=94=20+=20=EC=95=8C=EB=A6=BC=20=ED=86=A0?= =?UTF-8?q?=EA=B8=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/NotificationSettings.jsx | 52 +++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 src/pages/subscription/components/NotificationSettings.jsx diff --git a/src/pages/subscription/components/NotificationSettings.jsx b/src/pages/subscription/components/NotificationSettings.jsx new file mode 100644 index 0000000..d65443e --- /dev/null +++ b/src/pages/subscription/components/NotificationSettings.jsx @@ -0,0 +1,52 @@ +export default function NotificationSettings({ minScore, notifyEnabled, onChange }) { + const score = minScore ?? 70; + const enabled = notifyEnabled ?? true; + + return ( +
+
+

μ•Œλ¦Ό μ„€μ •

+

πŸ”” ν…”λ ˆκ·Έλž¨ μ•Œλ¦Ό

+
+
+ + + + +

+ {enabled + ? `πŸ’‘ ${score}점 이상 맀치 μ‹œ ν…”λ ˆκ·Έλž¨μ— μžλ™ μ•Œλ¦Όν•©λ‹ˆλ‹€.` + : "⚠️ μ•Œλ¦Ό OFF β€” μž„κ³„κ°’μ„ ν†΅κ³Όν•œ 맀칭이 μžˆμ–΄λ„ λ©”μ‹œμ§€κ°€ λ°œμ†‘λ˜μ§€ μ•ŠμŠ΅λ‹ˆλ‹€."} +

+
+
+ ); +}