Skip to content

Drop in a screenshot and convert it to clean code (HTML/Tailwind/React/Vue)

Python

update onboarding note

Abi Rajaaf2fa8d8ab05
diff --git a/frontend/src/components/OnboardingNote.tsx b/frontend/src/components/OnboardingNote.tsx
index 5bd5fb4e..acf919f2 100644
--- a/frontend/src/components/OnboardingNote.tsx
+++ b/frontend/src/components/OnboardingNote.tsx
@@ -2,27 +2,24 @@ export function OnboardingNote() {
return (
<div className="flex flex-col space-y-4 bg-green-700 p-2 rounded text-stone-200 text-sm">
<span>
- To use Screenshot to Code, you need an OpenAI API key with GPT4 vision
- access.{" "}
+ To use Screenshot to Code,{" "}
<a
- href="https://github.com/abi/screenshot-to-code/blob/main/Troubleshooting.md"
className="inline underline hover:opacity-70"
+ href="https://buy.stripe.com/8wM6sre70gBW1nqaEE"
target="_blank"
>
- Follow these instructions to get yourself a key.
+ buy some credits (100 generations for $36)
</a>{" "}
- Then, paste it in the Settings dialog (gear icon above).
- </span>
- <span>
- Your key is only stored in your browser. Never stored on our servers. If
- you prefer, you can also run this app completely locally.{" "}
+ or use your own OpenAI API key with GPT4 vision access.{" "}
<a
- href="https://github.com/abi/screenshot-to-code"
+ href="https://github.com/abi/screenshot-to-code/blob/main/Troubleshooting.md"
className="inline underline hover:opacity-70"
target="_blank"
>
- See the Github project for instructions.
- </a>
+ Follow these instructions to get yourself a key.
+ </a>{" "}
+ and paste it in the Settings dialog (gear icon above). Your key is only
+ stored in your browser. Never stored on our servers.
</span>
</div>
);