Skip to content

Commit

Permalink
chore: improvements on vision prompt
Browse files Browse the repository at this point in the history
  • Loading branch information
Sly777 committed Nov 22, 2023
1 parent d372040 commit 66bede0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/features/AI/helper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,9 @@ export function getComponentCreationViaVisionPrompt({
8. Prefer functional components with hooks for state management. Ensure the component is modular and testable.
9. Add comments to the code for clarity to other developers.
10. Valid the code that you created. If it's not correct, please send the correct code.
11. Add all elements and styling as shown in the image. Don't add comment that says 'Add more elements' or 'Add more styling'.
12. Create the component as same size as the image. Don't create the component as different size than the image.
13. Use 'font awesome' for icons. Icons must be same size as the image.
Return only the full, complete code of the component.
`;
Expand Down

0 comments on commit 66bede0

Please sign in to comment.