diff --git a/index.html b/index.html
index 30b12ad..6c048bb 100644
--- a/index.html
+++ b/index.html
@@ -1,13 +1,16 @@
-
-
-
-
-
- SmartBiz Tech - 소상공인 스마트 기술 파트너
-
-
-
-
-
-
+
+
+
+
+
+
+ SmartBiz Tech - 소상공인 스마트 기술 파트너
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/components/Contact.jsx b/src/components/Contact.jsx
index 9e6aea1..e44075d 100644
--- a/src/components/Contact.jsx
+++ b/src/components/Contact.jsx
@@ -24,10 +24,18 @@ const Contact = () => {
return;
}
+ // 2. Phone Validation
+ const phoneRegex = /^01([0|1|6|7|8|9])-?([0-9]{3,4})-?([0-9]{4})$/;
+ if (!phoneRegex.test(formData.phone)) {
+ setStatus('올바른 휴대전화 번호 형식을 입력해주세요 (예: 010-1234-5678)');
+ return;
+ }
+
setStatus('전송 중...');
try {
- const response = await fetch("https://formsubmit.co/ajax/contact@qideun.com", {
+ // Use Token instead of Email for security
+ const response = await fetch("https://formsubmit.co/ajax/212b91b0ad256186720580d133b7a9e4", {
method: "POST",
headers: {
"Content-Type": "application/json",