From 529c00c407eb1d944d9e0c6c8107e9007e21d985 Mon Sep 17 00:00:00 2001 From: sparrow-js Date: Sun, 7 Jan 2024 13:39:49 +0800 Subject: [PATCH 1/2] fix readme --- components/components/SettingsDialog.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/components/SettingsDialog.tsx b/components/components/SettingsDialog.tsx index f2ed386..fb46116 100644 --- a/components/components/SettingsDialog.tsx +++ b/components/components/SettingsDialog.tsx @@ -62,11 +62,11 @@ function SettingsDialog({ settings, setSettings }: Props) { }) }} className="flex item-center" color="indigo" defaultValue={settings.llm}> From 3ae30e91829fe42bfb6c1ef6ae2f058589edd74f Mon Sep 17 00:00:00 2001 From: sparrow-js Date: Sun, 7 Jan 2024 13:42:33 +0800 Subject: [PATCH 2/2] fix readme --- components/components/history/HistoryDisplay.tsx | 2 +- service/events/prompts.ts | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/components/components/history/HistoryDisplay.tsx b/components/components/history/HistoryDisplay.tsx index 96c9411..37d603e 100644 --- a/components/components/history/HistoryDisplay.tsx +++ b/components/components/history/HistoryDisplay.tsx @@ -61,7 +61,7 @@ export default function HistoryDisplay({
diff --git a/service/events/prompts.ts b/service/events/prompts.ts index 84823ee..dfd5dde 100644 --- a/service/events/prompts.ts +++ b/service/events/prompts.ts @@ -11,7 +11,7 @@ padding, margin, border, etc. Match the colors and sizes exactly. - Use the exact text from the screenshot. - Do not add comments in the code such as "" and "" in place of writing the full code. WRITE THE FULL CODE. - Repeat elements as needed to match the screenshot. For example, if there are 15 items, the code should have 15 items. DO NOT LEAVE comments like "" or bad things will happen. -- For images, use placeholder images from /placeholder.svg and include a detailed description of the image in the alt text so that an image generation AI can generate the image later. +- For images, use placeholder images from https://www.ancodeai.com/placeholder.svg and include a detailed description of the image in the alt text so that an image generation AI can generate the image later. In terms of libraries, @@ -33,7 +33,7 @@ using Tailwind, HTML and JS. padding, margin, border, etc. Match the colors and sizes exactly. - Do not add comments in the code such as "" and "" in place of writing the full code. WRITE THE FULL CODE. - Repeat elements as needed to match the detailed description. For example, if there are 15 items, the code should have 15 items. DO NOT LEAVE comments like "" or bad things will happen. -- For images, use placeholder images from /placeholder.svg and include a detailed description of the image in the alt text so that an image generation AI can generate the image later. +- For images, use placeholder images from https://www.ancodeai.com/placeholder.svg and include a detailed description of the image in the alt text so that an image generation AI can generate the image later. In terms of libraries, @@ -83,7 +83,7 @@ padding, margin, border, etc. Match the colors and sizes exactly. - Use the exact text from the screenshot. - Do not add comments in the code such as "" and "" in place of writing the full code. WRITE THE FULL CODE. - Repeat elements as needed to match the screenshot. For example, if there are 15 items, the code should have 15 items. DO NOT LEAVE comments like "" or bad things will happen. -- For images, use placeholder images from /placeholder.svg and include a detailed description of the image in the alt text so that an image generation AI can generate the image later. +- For images, use placeholder images from https://www.ancodeai.com/placeholder.svg and include a detailed description of the image in the alt text so that an image generation AI can generate the image later. In terms of libraries,