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 β€” μž„κ³„κ°’μ„ ν†΅κ³Όν•œ 맀칭이 μžˆμ–΄λ„ λ©”μ‹œμ§€κ°€ λ°œμ†‘λ˜μ§€ μ•ŠμŠ΅λ‹ˆλ‹€."} +

+
+
+ ); +}