layout.tsx 433 B

12345678910111213141516171819
  1. import React from "react";
  2. import type { FC } from 'react'
  3. import LayoutClient, { ICommonLayoutProps } from "./_layout-client";
  4. import GA, { GaType } from '@/app/components/base/ga'
  5. const Layout: FC<ICommonLayoutProps> = ({ children }) => {
  6. return (
  7. <>
  8. <GA gaType={GaType.admin} />
  9. <LayoutClient children={children}></LayoutClient>
  10. </>
  11. )
  12. }
  13. export const metadata = {
  14. title: 'Dify',
  15. }
  16. export default Layout