diff --git a/Frontend/public/index.html b/Frontend/public/index.html index 144c4bb..95003c7 100644 --- a/Frontend/public/index.html +++ b/Frontend/public/index.html @@ -18,5 +18,8 @@
+ diff --git a/Frontend/src/pages/Guide/Guide.tsx b/Frontend/src/pages/Guide/Guide.tsx index 62d0b5e..d142127 100644 --- a/Frontend/src/pages/Guide/Guide.tsx +++ b/Frontend/src/pages/Guide/Guide.tsx @@ -73,6 +73,8 @@ const Guide = () => { const enterName = location.state; const [name, setName] = useState(enterName); + const [isAnd, setIsAnd] = useState(""); + const data = ["재난대처", "응급처치", "생존배낭"]; // useEffect(() => { @@ -93,6 +95,14 @@ const Guide = () => { // localStorage.setItem("tabs", innerText); }; + // 안드로이드 구분? + useEffect(() => { + // userAgent에 ios // android 가 있는 지 확인해줍니다. + const iOS = navigator.userAgent.match(/iOS_App/i); + const Android = navigator.userAgent.match(/Android_App/i); + if (Android) setIsAnd("Android_App"); + }, []); + return (