File tree Expand file tree Collapse file tree 2 files changed +26
-0
lines changed
Expand file tree Collapse file tree 2 files changed +26
-0
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ import FloatingBtn from "@/components/button/FloatingBtn";
55import ImageBtn from "../components/button/ImageBtn" ;
66import Page4Button from "../components/button/landing/Page4Button" ;
77import Page3 from "@/components/landing/Page3" ;
8+ import MobileError from "./MobileError" ;
89
910import useWindowDimensions from "@/hooks/useWindowDimensions" ;
1011
@@ -58,6 +59,10 @@ const MainVer2 = () => {
5859 ? "h4-regular c-white"
5960 : "p-large-regular c-white" ;
6061
62+ if ( isMobile ) {
63+ return < MobileError /> ;
64+ }
65+
6166 return (
6267 < div className = " main-ver2" >
6368 < FloatingBtn />
Original file line number Diff line number Diff line change 1+ import page1 from "../assets/image/landing/page1.svg" ;
2+
3+ const MobileError = ( ) => {
4+ return (
5+ < div className = "flex flex-col items-center w-full min-h-[100vh]" >
6+ < h3 className = "h3-bold mt-[100px] text-[#6A39C0] text-center" >
7+ 모바일 접속 안내
8+ </ h3 >
9+ < p className = "p-large-bold mt-[23px] text-center text-[#777]" >
10+ 보다 나은 서비스를 위해 < br />
11+ 모바일 환경 개선 작업 중입니다. < br />
12+ PC 환경에서 접속해주시면 < br />
13+ 원활한 이용이 가능합니다. < br />
14+ 이용에 불편을 드려 죄송합니다.
15+ </ p >
16+ < img src = { page1 } alt = "" className = "mt-[29px] w-[313px]" />
17+ </ div >
18+ ) ;
19+ } ;
20+
21+ export default MobileError ;
You can’t perform that action at this time.
0 commit comments