Skip to content

Commit 19adaa5

Browse files
authored
Merge pull request #7 from sparrow-js/readme-feature
Readme feature
2 parents 13cc2f3 + 3ae30e9 commit 19adaa5

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

components/components/SettingsDialog.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,11 +62,11 @@ function SettingsDialog({ settings, setSettings }: Props) {
6262
})
6363
}} className="flex item-center" color="indigo" defaultValue={settings.llm}>
6464
<Label className="flex item-center" htmlFor="openai-llm">
65-
<span className="mr-2">openai</span>
65+
<span className="mr-2">OpenAI</span>
6666
<RadioGroupItem value="openai" id="openai-llm"/>
6767
</Label>
6868
<Label className="flex item-center" htmlFor="gemini-llm">
69-
<span className="mr-2">gemini</span>
69+
<span className="mr-2">Gemini</span>
7070
<RadioGroupItem value="gemini" id="gemini-llm"/>
7171
</Label>
7272
</RadioGroup>

components/components/history/HistoryDisplay.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ export default function HistoryDisplay({
6161
<div className="bg-[length:160px_100px] bg-no-repeat bg-center w-full h-[80px]"
6262
style={
6363
{
64-
backgroundImage: `url(${item.screenshot || 'https://placehold.co/600x400/png'})`
64+
backgroundImage: `url(${item.screenshot || 'https://www.ancodeai.com/placeholder.svg'})`
6565
}
6666
}></div>
6767
<div className="flex gap-x-1 truncate">

service/events/prompts.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ padding, margin, border, etc. Match the colors and sizes exactly.
1111
- Use the exact text from the screenshot.
1212
- Do not add comments in the code such as "<!-- Add other navigation links as needed -->" and "<!-- ... other news items ... -->" in place of writing the full code. WRITE THE FULL CODE.
1313
- 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 "<!-- Repeat for each news item -->" or bad things will happen.
14-
- 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.
14+
- 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.
1515
1616
In terms of libraries,
1717
@@ -33,7 +33,7 @@ using Tailwind, HTML and JS.
3333
padding, margin, border, etc. Match the colors and sizes exactly.
3434
- Do not add comments in the code such as "<!-- Add other navigation links as needed -->" and "<!-- ... other news items ... -->" in place of writing the full code. WRITE THE FULL CODE.
3535
- 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 "<!-- Repeat for each news item -->" or bad things will happen.
36-
- 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.
36+
- 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.
3737
3838
In terms of libraries,
3939
@@ -83,7 +83,7 @@ padding, margin, border, etc. Match the colors and sizes exactly.
8383
- Use the exact text from the screenshot.
8484
- Do not add comments in the code such as "<!-- Add other navigation links as needed -->" and "<!-- ... other news items ... -->" in place of writing the full code. WRITE THE FULL CODE.
8585
- 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 "<!-- Repeat for each news item -->" or bad things will happen.
86-
- 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.
86+
- 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.
8787
8888
In terms of libraries,
8989

0 commit comments

Comments
 (0)