Feat/explore (#198)
This commit is contained in:
parent
b6cca59517
commit
33b3eaf324
38 changed files with 1312 additions and 97 deletions
8
web/app/(commonLayout)/explore/apps/page.tsx
Normal file
8
web/app/(commonLayout)/explore/apps/page.tsx
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
import AppList from "@/app/components/explore/app-list"
|
||||
import React from 'react'
|
||||
|
||||
const Apps = ({ }) => {
|
||||
return <AppList />
|
||||
}
|
||||
|
||||
export default React.memo(Apps)
|
||||
15
web/app/(commonLayout)/explore/installed/[appId]/page.tsx
Normal file
15
web/app/(commonLayout)/explore/installed/[appId]/page.tsx
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
import React, { FC } from 'react'
|
||||
import Main from '@/app/components/explore/installed-app'
|
||||
|
||||
export interface IInstalledAppProps {
|
||||
params: {
|
||||
appId: string
|
||||
}
|
||||
}
|
||||
|
||||
const InstalledApp: FC<IInstalledAppProps> = ({ params: {appId} }) => {
|
||||
return (
|
||||
<Main id={appId} />
|
||||
)
|
||||
}
|
||||
export default React.memo(InstalledApp)
|
||||
16
web/app/(commonLayout)/explore/layout.tsx
Normal file
16
web/app/(commonLayout)/explore/layout.tsx
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
import type { FC } from 'react'
|
||||
import React from 'react'
|
||||
import ExploreClient from '@/app/components/explore'
|
||||
export type IAppDetail = {
|
||||
children: React.ReactNode
|
||||
}
|
||||
|
||||
const AppDetail: FC<IAppDetail> = ({ children }) => {
|
||||
return (
|
||||
<ExploreClient>
|
||||
{children}
|
||||
</ExploreClient>
|
||||
)
|
||||
}
|
||||
|
||||
export default React.memo(AppDetail)
|
||||
Loading…
Add table
Add a link
Reference in a new issue