演示目录只保留可重建的源码。运行密钥、数据卷、依赖和带口令的本地配置不进入仓库。 Co-authored-by: Cursor <cursoragent@cursor.com>
16 lines
425 B
TypeScript
16 lines
425 B
TypeScript
import type { FC, PropsWithChildren } from 'react'
|
|
import WebAppStoreProvider from '@/context/web-app-context'
|
|
import Splash from './components/splash'
|
|
|
|
const Layout: FC<PropsWithChildren> = ({ children }) => {
|
|
return (
|
|
<div className="h-dvh min-w-75 pb-[env(safe-area-inset-bottom)]">
|
|
<WebAppStoreProvider>
|
|
<Splash>{children}</Splash>
|
|
</WebAppStoreProvider>
|
|
</div>
|
|
)
|
|
}
|
|
|
|
export default Layout
|