Skip to content

Commit

Permalink
switch to subscribe banner
Browse files Browse the repository at this point in the history
  • Loading branch information
abi committed Apr 5, 2024
1 parent 273a77f commit 575847f
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions frontend/src/components/OnboardingNote.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,25 +6,13 @@ 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,{" "}
<a
className="inline underline hover:opacity-70 cursor-pointer"
onClick={() => setPricingDialogOpen(true)}
target="_blank"
>
subscribe to a paid plan ($15/month) to get access to all supported
models
</a>{" "}
or use your own OpenAI API key with GPT4 vision access (
<a
href="https://github.com/abi/screenshot-to-code/blob/main/Troubleshooting.md"
className="inline underline hover:opacity-70"
target="_blank"
>
follow these instructions to deposit a minimum $5 credit and obtain a
key
Subscribe to get started
</a>
).
</span>
</div>
);
Expand Down

0 comments on commit 575847f

Please sign in to comment.