mirror of
https://gitee.com/dify_ai/dify.git
synced 2024-12-09 14:48:04 +08:00
22 lines
506 B
TypeScript
22 lines
506 B
TypeScript
import React from 'react'
|
|
import type { FC } from 'react'
|
|
import type { Metadata } from 'next'
|
|
import GA, { GaType } from '@/app/components/base/ga'
|
|
|
|
export const metadata: Metadata = {
|
|
icons: 'data:,', // prevent browser from using default favicon
|
|
}
|
|
|
|
const Layout: FC<{
|
|
children: React.ReactNode
|
|
}> = ({ children }) => {
|
|
return (
|
|
<div className="min-w-[300px] h-full pb-[env(safe-area-inset-bottom)]">
|
|
<GA gaType={GaType.webapp} />
|
|
{children}
|
|
</div>
|
|
)
|
|
}
|
|
|
|
export default Layout
|