layout.tsx 506 B

123456789101112131415161718192021
  1. import React from 'react'
  2. import type { FC } from 'react'
  3. import type { Metadata } from 'next'
  4. import GA, { GaType } from '@/app/components/base/ga'
  5. export const metadata: Metadata = {
  6. icons: 'data:,', // prevent browser from using default favicon
  7. }
  8. const Layout: FC<{
  9. children: React.ReactNode
  10. }> = ({ children }) => {
  11. return (
  12. <div className="min-w-[300px] h-full pb-[env(safe-area-inset-bottom)]">
  13. <GA gaType={GaType.webapp} />
  14. {children}
  15. </div>
  16. )
  17. }
  18. export default Layout