fix: 홈 화면에 추가 카드·메뉴를 휴대폰(아이폰·안드로이드·앱 안 브라우저)에서만 보이게
This commit is contained in:
1 parent
e5716c0c7c
commit
77d29ce24f
3 files changed
+12
-7
No files matched your search
@@ -26,7 +26,7 @@ import { cx } from '../lib/utils'
|
||||
import { useAuth } from './authContext'
|
||||
import { ago, ARTICLE_CAT, articleMeta, AVATAR_COLORS, cardBg, CHARACTERS, dateRange, loadOf, MOODS, shortDay } from './lib'
|
||||
import { GoogleButton } from './googleLogin'
|
||||
import { useInstall } from './install'
|
||||
import { onPhone, useInstall } from './install'
|
||||
import { InstallSheet } from './installBanner'
|
||||
import { MixSheet } from './myGak'
|
||||
import { ownPage, useRegion } from './regionContext'
|
||||
@@ -905,9 +905,11 @@ function MeSheet({ onDone }: { onDone: () => void }) {
|
||||
<Avatar character={me.character} color={me.color} mood={me.mood} size={64} />
|
||||
<p className="m-0 text-center text-sm font-semibold text-(--ink2)">{me.provider === AuthProvider.GOOGLE ? '구글 계정으로 로그인했어요' : `${me.login_id}(으)로 로그인했어요`}</p>
|
||||
</div>
|
||||
<button type="button" onClick={() => install('menu')} className="cursor-pointer rounded-2xl bg-[#fff4ec] py-2.5 font-jua text-[15.5px] text-(--orange)">
|
||||
📲 홈 화면에 추가
|
||||
</button>
|
||||
{onPhone() && (
|
||||
<button type="button" onClick={() => install('menu')} className="cursor-pointer rounded-2xl bg-[#fff4ec] py-2.5 font-jua text-[15.5px] text-(--orange)">
|
||||
📲 홈 화면에 추가
|
||||
</button>
|
||||
)}
|
||||
<section aria-label="내 캐릭터">
|
||||
<h4 className="m-0 mb-2 text-sm font-extrabold">내 캐릭터</h4>
|
||||
<div className="grid grid-cols-3 gap-2" role="radiogroup" aria-label="캐릭터 고르기">
|
||||
|
||||
Reference in new issue
Block a user