From 2ba92f381e40eafdd6d2b4cee9046302a65dd9b8 Mon Sep 17 00:00:00 2001 From: lydiacho Date: Tue, 30 Jul 2024 19:21:43 +0900 Subject: [PATCH] =?UTF-8?q?feat:=20=EB=AA=A8=EB=B0=94=EC=9D=BC=20=EC=A0=91?= =?UTF-8?q?=EC=86=8D=20=EB=AF=B8=EC=A7=80=EC=9B=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/App.tsx | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/App.tsx b/src/App.tsx index a691387c..5fcbe0b8 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -43,6 +43,12 @@ const router = createBrowserRouter([ ]); const App = () => { + const isMobile = /Mobi/i.test(window.navigator.userAgent); + if (isMobile) { + alert('PC로 지원해주세요.'); + window.location.href = 'https://makers.sopt.org/recruit'; + } + const sessionRef = useRef(null); const [isLight, setIsLight] = useState(true);