Working on project.

This commit is contained in:
charles-gauthereau
2024-11-30 21:05:47 +01:00
parent 3e62359bd9
commit afa46c171b
19 changed files with 701 additions and 180 deletions
@@ -12,13 +12,15 @@ export default async function RoutePage(props: PageParams<{ projectId: string }>
const {projectId} = await props.params
// const project = await prisma.project.findUnique({
// where: {
// id: projectId,
// },
// })
const project = await prisma.project.findUnique({
where: {
id: projectId,
},
include:{
databases: {}
}
})
const project = projects.find(p => p.id === projectId)
return (
@@ -35,7 +37,7 @@ export default async function RoutePage(props: PageParams<{ projectId: string }>
</PageActions>
</div>
{/*<PageDescription className="mt-5 sm:mt-0">{project.description}</PageDescription>*/}
{/*<PageDescription className="mt-5 sm:mt-0">{Project.description}</PageDescription>*/}
<PageContent className="flex flex-col w-full h-full">
</PageContent>
</Page>