diff --git a/frontend/src/layouts/DefaultLayout/MainPage.tsx b/frontend/src/layouts/DefaultLayout/MainPage.tsx index 4b6de984..a7a100a6 100644 --- a/frontend/src/layouts/DefaultLayout/MainPage.tsx +++ b/frontend/src/layouts/DefaultLayout/MainPage.tsx @@ -124,10 +124,10 @@ const UserViewSection1 = () => {

@@ -136,10 +136,10 @@ const UserViewSection1 = () => {

@@ -150,9 +150,10 @@ const UserViewSection1 = () => { {

{ {

{

@@ -272,9 +273,9 @@ const UserViewSection2 = () => { {

{ {

{ > 상세정보 제공

-

- How, Where -

+ {innerWidth > 600 && ( +

+ How, Where +

+ )} )} @@ -389,11 +392,10 @@ const UserViewSection3 = () => {

@@ -404,9 +406,9 @@ const UserViewSection3 = () => { { { src={mobileView3} alt="" /> -

- 여러명이 동시에 같은 업무 체크 가능 -

+ {innerWidth > 600 && ( +

+ 여러명이 동시에 같은 업무 체크 가능 +

+ )} )} @@ -472,7 +475,6 @@ const HostViewSection1 = () => { css={css` width: 100vw; height: 100vh; - position: relative; `} ref={sectionRef} > @@ -481,18 +483,18 @@ const HostViewSection1 = () => { css={css` width: 100%; height: 100%; + position: relative; background-color: ${theme.colors.background}; - display: flex; - align-items: center; - justify-content: center; `} >

{

{

{ css={css` box-shadow: 3px 3px 3px 3px ${theme.colors.shadow20}; position: absolute; - top: 22%; + top: 12vw; left: 16%; - height: 33%; + width: 32%; animation: ${animation.moveUp} 1.5s; animation-fill-mode: forwards; z-index: 11; @@ -603,9 +603,9 @@ const HostViewSection2 = () => { css={css` box-shadow: 3px 3px 3px 3px ${theme.colors.shadow20}; position: absolute; - top: 60%; + top: 33vw; left: 16%; - height: 33%; + width: 32%; animation: ${animation.moveUp} 1.5s; animation-fill-mode: forwards; z-index: 11; @@ -619,9 +619,9 @@ const HostViewSection2 = () => { css={css` box-shadow: 3px 3px 3px 3px ${theme.colors.shadow20}; position: absolute; - top: 22%; + top: 12vw; right: 16%; - height: 33%; + width: 32%; animation: ${animation.moveUp} 1.5s; animation-fill-mode: forwards; z-index: 11; @@ -635,9 +635,9 @@ const HostViewSection2 = () => { css={css` box-shadow: 3px 3px 3px 3px ${theme.colors.shadow20}; position: absolute; - top: 60%; + top: 33vw; right: 16%; - height: 33%; + width: 32%; animation: ${animation.moveUp} 1.5s; animation-fill-mode: forwards; z-index: 11; @@ -680,7 +680,7 @@ const HostViewSection3 = () => {

{ + const isMobile = innerWidth < 600; + return ( <>
{ `} > - - for 공간 관리자 - + {!isMobile && ( + + for 공간 관리자 + + )}
{ height: calc(100vh - 84px); flex-direction: column; align-items: center; - font-size: 24px; img { margin-top: 32px; } `} > + {isMobile && ( +
+ 모바일에 최적화되어있지 않습니다. 데스크탑을 이용해주세요. +
+ )} 관리자 페이지 이용을 위해 로그인이 필요합니다.