Initial commit

This commit is contained in:
John Wang
2023-05-15 08:51:32 +08:00
commit db896255d6
744 changed files with 56028 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
import type { FC } from 'react'
import React from 'react'
import type { IMainProps } from '@/app/components/share/chat'
import Main from '@/app/components/share/chat'
const Chat: FC<IMainProps> = ({
params,
}: any) => {
return (
<Main params={params} />
)
}
export default React.memo(Chat)

View File

@@ -0,0 +1,13 @@
import type { FC } from 'react'
import React from 'react'
import type { IMainProps } from '@/app/components/share/chat'
import Main from '@/app/components/share/text-generation'
const TextGeneration: FC<IMainProps> = () => {
return (
<Main />
)
}
export default React.memo(TextGeneration)

View File

@@ -0,0 +1,18 @@
import React from "react";
import type { FC } from 'react'
import GA, { GaType } from '@/app/components/base/ga'
const Layout: FC<{
children: React.ReactNode
}> = ({ children }) => {
return (
<div className="overflow-x-auto">
<div className="w-screen h-screen min-w-[300px]">
<GA gaType={GaType.webapp} />
{children}
</div>
</div>
)
}
export default Layout