fix: update key recovery messaging across all pages
This commit is contained in:
parent
87a49d8e93
commit
1af1b07fb3
3 changed files with 3 additions and 3 deletions
|
|
@ -346,7 +346,7 @@
|
||||||
"limit": "100 PDFs/month",
|
"limit": "100 PDFs/month",
|
||||||
"docs": "https://docfast.dev/#endpoints"
|
"docs": "https://docfast.dev/#endpoints"
|
||||||
}</pre>
|
}</pre>
|
||||||
<div class="note warning">Save your API key immediately — it won't be shown again.</div>
|
<div class="note warning">Save your API key securely. You can recover it via email at POST /v1/recover</div>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -370,7 +370,7 @@ html, body {
|
||||||
<h2>🚀 Your API key is ready!</h2>
|
<h2>🚀 Your API key is ready!</h2>
|
||||||
<div class="warning-box">
|
<div class="warning-box">
|
||||||
<span class="icon">⚠️</span>
|
<span class="icon">⚠️</span>
|
||||||
<span>Save your API key now — we can't recover it later.</span>
|
<span>Save your API key securely. Lost it? <a href="#" onclick="document.getElementById('recover-section').scrollIntoView()" style="color:#fbbf24">Recover via email</a></span>
|
||||||
</div>
|
</div>
|
||||||
<div style="background:var(--bg);border:1px solid var(--accent);border-radius:8px;padding:14px;font-family:monospace;font-size:0.82rem;word-break:break-all;margin:16px 0;position:relative;">
|
<div style="background:var(--bg);border:1px solid var(--accent);border-radius:8px;padding:14px;font-family:monospace;font-size:0.82rem;word-break:break-all;margin:16px 0;position:relative;">
|
||||||
<span id="apiKeyText"></span>
|
<span id="apiKeyText"></span>
|
||||||
|
|
|
||||||
|
|
@ -130,7 +130,7 @@ p{color:#7a8194;margin-bottom:24px;line-height:1.6}
|
||||||
<h1>${title}</h1>
|
<h1>${title}</h1>
|
||||||
<p>${message}</p>
|
<p>${message}</p>
|
||||||
${apiKey ? `
|
${apiKey ? `
|
||||||
<div class="warning">⚠️ Save your API key now — we can't recover it later.</div>
|
<div class="warning">⚠️ Save your API key securely. You can recover it via email if needed..</div>
|
||||||
<div class="key-box" onclick="navigator.clipboard.writeText('${apiKey}');this.style.borderColor='#5eead4';setTimeout(()=>this.style.borderColor='#34d399',1500)">${apiKey}</div>
|
<div class="key-box" onclick="navigator.clipboard.writeText('${apiKey}');this.style.borderColor='#5eead4';setTimeout(()=>this.style.borderColor='#34d399',1500)">${apiKey}</div>
|
||||||
<div class="links">100 free PDFs/month · <a href="/docs">Read the docs →</a></div>
|
<div class="links">100 free PDFs/month · <a href="/docs">Read the docs →</a></div>
|
||||||
` : `<div class="links"><a href="/">← Back to DocFast</a></div>`}
|
` : `<div class="links"><a href="/">← Back to DocFast</a></div>`}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue