Skip to content

Commit

Permalink
feat: 모바일 접속 미지원
Browse files Browse the repository at this point in the history
  • Loading branch information
lydiacho committed Jul 30, 2024
1 parent ce22ce7 commit 2ba92f3
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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<HTMLDialogElement>(null);

const [isLight, setIsLight] = useState(true);
Expand Down

0 comments on commit 2ba92f3

Please sign in to comment.