mirror of
https://github.com/langgenius/dify.git
synced 2024-11-16 11:42:29 +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
|