feat: gpt integration for page block description (#539)

This commit is contained in:
Aaryan Khandelwal 2023-03-26 11:36:10 +05:30 committed by GitHub
parent 52d4828e1d
commit 5dd5fe2d09
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 316 additions and 102 deletions

View file

@ -323,9 +323,6 @@ const SinglePage: NextPage = () => {
<ShareIcon className="h-4 w-4" />
Share
</PrimaryButton>
<button type="button" className="text-sm">
AI
</button>
<div className="flex-shrink-0">
<Popover className="relative grid place-items-center">
{({ open }) => (
@ -407,7 +404,11 @@ const SinglePage: NextPage = () => {
<>
<div className="space-y-4">
{pageBlocks.map((block) => (
<SinglePageBlock key={block.id} block={block} />
<SinglePageBlock
key={block.id}
block={block}
projectDetails={projectDetails}
/>
))}
</div>
<div className="">