feat: updates

This commit is contained in:
qier222 2022-06-14 23:23:34 +08:00
parent 8f4c3d8e5b
commit f340a90117
No known key found for this signature in database
GPG key ID: 9C85007ED905F14D
34 changed files with 781 additions and 323 deletions

View file

@ -7,13 +7,14 @@ import Router from '@/web/components/New/Router'
import MenuBar from './MenuBar'
import TopbarMobile from './Topbar/TopbarMobile'
import { isIOS, isPWA, isSafari } from '@/web/utils/common'
import Login from './Login'
const LayoutMobile = () => {
const playerSnapshot = useSnapshot(player)
const showPlayer = !!playerSnapshot.track
return (
<div id='layout' className='select-none bg-white pb-32 pt-3 dark:bg-black'>
<div id='layout' className='select-none bg-white pb-28 pt-3 dark:bg-black'>
<main className='min-h-screen overflow-y-auto overflow-x-hidden pb-16'>
<TopbarMobile />
<Router />
@ -48,6 +49,8 @@ const LayoutMobile = () => {
<MenuBar />
</div>
<Login />
{/* Notch background */}
{isIOS && isSafari && isPWA && (
<div