switch to subscribe banner

This commit is contained in:
Abi Raja 2024-04-05 14:40:51 -04:00
parent 273a77f7c4
commit 575847f845

View File

@ -6,25 +6,13 @@ export function OnboardingNote() {
return ( return (
<div className="flex flex-col space-y-4 bg-green-700 p-2 rounded text-stone-200 text-sm"> <div className="flex flex-col space-y-4 bg-green-700 p-2 rounded text-stone-200 text-sm">
<span> <span>
To use Screenshot to Code,{" "}
<a <a
className="inline underline hover:opacity-70 cursor-pointer" className="inline underline hover:opacity-70 cursor-pointer"
onClick={() => setPricingDialogOpen(true)} onClick={() => setPricingDialogOpen(true)}
target="_blank" target="_blank"
> >
subscribe to a paid plan ($15/month) to get access to all supported Subscribe to get started
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
</a> </a>
).
</span> </span>
</div> </div>
); );