Skip to content

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

Python

update copy re: key storage

Abi Raja72645512fed1
diff --git a/frontend/src/components/OnboardingNote.tsx b/frontend/src/components/OnboardingNote.tsx
index 437bc1e4..8cc6f11a 100644
--- a/frontend/src/components/OnboardingNote.tsx
+++ b/frontend/src/components/OnboardingNote.tsx
@@ -10,7 +10,8 @@ export function OnboardingNote() {
credit on the Billing dashboard.
<br />
<span>
- This key is never stored. This app is open source. You can{" "}
+ This key is only stored in your browser. Never stored on servers. This
+ app is open source. You can{" "}
<a href="https://github.com/abi/screenshot-to-code" className="inline">
check the code to confirm.
</a>
diff --git a/frontend/src/components/SettingsDialog.tsx b/frontend/src/components/SettingsDialog.tsx
index 9b46b90b..f7004d3b 100644
--- a/frontend/src/components/SettingsDialog.tsx
+++ b/frontend/src/components/SettingsDialog.tsx
@@ -58,8 +58,9 @@ function SettingsDialog({ settings, setSettings }: Props) {
<div className="flex flex-col space-y-4">
<Label htmlFor="openai-api-key">
<div>OpenAI API key</div>
- <div className="font-light mt-2">
- Never stored. Overrides your .env config.
+ <div className="font-light mt-2 leading-relaxed">
+ Only stored in your browser. Never stored on servers. Overrides
+ your .env config.
</div>
</Label>
@@ -77,8 +78,8 @@ function SettingsDialog({ settings, setSettings }: Props) {
<Label htmlFor="screenshot-one-api-key">
<div>ScreenshotOne API key</div>
- <div className="font-light mt-2">
- Never stored.{" "}
+ <div className="font-light mt-2 leading-relaxed">
+ Only stored in your browser. Never stored on servers.{" "}
<a
href="https://screenshotone.com?via=screenshot-to-code"
className="underline"