feat(auth): 모바일 전용 로그인 페이지 추가 (/m/login)

- src/app/(auth)/m/login/page.tsx 신규 — 한 화면에 딱 맞는 모바일 layout (logo + form + 푸터, safe-area inset 적용)
- middleware.ts publicPaths 에 /m/login + PWA 자원(/manifest.json, /sw.js, /.well-known) 추가
- 세션 있는 상태로 /m/login 진입 시 /m/dashboard 로 자동 redirect
- manifest.json 의 start_url 을 /m/login 으로 변경 → TWA APK 가 앱 실행 시 바로 로그인 화면

로그인 성공 시 /m/dashboard 로 이동 (기존 /login 은 API 응답의 redirectTo 사용, 모바일은 hardcode).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
chpark
2026-05-12 23:44:37 +09:00
parent 451117cfbe
commit 20e6255aa3
3 changed files with 206 additions and 2 deletions
+1 -1
View File
@@ -2,7 +2,7 @@
"name": "모모유통 ERP",
"short_name": "모모ERP",
"description": "모모유통 유통관리 ERP",
"start_url": "/",
"start_url": "/m/login",
"scope": "/",
"display": "standalone",
"orientation": "portrait",