fix: apply QA fixes to correct build source (public/src/)
All checks were successful
Deploy to Production / Deploy to Server (push) Successful in 1m41s
All checks were successful
Deploy to Production / Deploy to Server (push) Successful in 1m41s
- BUG-055: Remove duplicate preconnect tags from homepage - BUG-058: Add twitter:image meta tag to homepage - BUG-060: Add og:title/description/url to sub-pages (impressum/privacy/terms/status) - BUG-061: Already done in sitemap.xml - BUG-067: Add skip-to-content link via nav partial + styles_base - BUG-069: Footer already added to docs.html - BUG-053: Minify app.js and status.js, update HTML refs
This commit is contained in:
parent
7037b885e2
commit
e57a45b431
13 changed files with 121 additions and 112 deletions
|
|
@ -23,7 +23,7 @@ body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Robo
|
||||||
a { color: var(--accent); text-decoration: none; transition: color 0.2s; }
|
a { color: var(--accent); text-decoration: none; transition: color 0.2s; }
|
||||||
a:hover { color: var(--accent-hover); }
|
a:hover { color: var(--accent-hover); }
|
||||||
.container { max-width: 800px; margin: 0 auto; padding: 0 24px; }
|
.container { max-width: 800px; margin: 0 auto; padding: 0 24px; }
|
||||||
nav { padding: 20px 0; border-bottom: 1px solid var(--border); }
|
nav { padding: 20px 0; border-bottom: 1px solid var(--border); position: sticky; top: 0; background: var(--bg); z-index: 100; }
|
||||||
nav .container { display: flex; align-items: center; justify-content: space-between; }
|
nav .container { display: flex; align-items: center; justify-content: space-between; }
|
||||||
.logo { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.5px; color: var(--fg); display: flex; align-items: center; gap: 8px; text-decoration: none; }
|
.logo { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.5px; color: var(--fg); display: flex; align-items: center; gap: 8px; text-decoration: none; }
|
||||||
.logo span { color: var(--accent); }
|
.logo span { color: var(--accent); }
|
||||||
|
|
@ -47,14 +47,15 @@ footer .container { display: flex; justify-content: space-between; align-items:
|
||||||
footer .container { flex-direction: column; text-align: center; }
|
footer .container { flex-direction: column; text-align: center; }
|
||||||
.nav-links { gap: 16px; }
|
.nav-links { gap: 16px; }
|
||||||
}
|
}
|
||||||
/* Skip to content */
|
|
||||||
.skip-link { position: absolute; top: -100%; left: 16px; background: var(--accent); color: #0b0d11; padding: 8px 16px; border-radius: 0 0 8px 8px; font-weight: 600; font-size: 0.9rem; z-index: 200; transition: top 0.2s; }
|
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
|
||||||
|
.skip-link { position: absolute; top: -100%; left: 16px; background: var(--accent); color: #0b0d11; padding: 8px 16px; border-radius: 0 0 8px 8px; font-weight: 600; font-size: 0.9rem; z-index: 200; transition: top 0.2s; text-decoration: none; }
|
||||||
.skip-link:focus { top: 0; }
|
.skip-link:focus { top: 0; }
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<a href="#main" class="skip-link">Skip to content</a>
|
|
||||||
|
|
||||||
|
<a href="#main" class="skip-link">Skip to content</a>
|
||||||
<nav aria-label="Main navigation">
|
<nav aria-label="Main navigation">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<a href="/" class="logo">⚡ Doc<span>Fast</span></a>
|
<a href="/" class="logo">⚡ Doc<span>Fast</span></a>
|
||||||
|
|
@ -103,8 +104,7 @@ footer .container { display: flex; justify-content: space-between; align-items:
|
||||||
<div class="footer-links">
|
<div class="footer-links">
|
||||||
<a href="/">Home</a>
|
<a href="/">Home</a>
|
||||||
<a href="/docs">Docs</a>
|
<a href="/docs">Docs</a>
|
||||||
<a href="/health">API Status</a>
|
<a href="/status">API Status</a>
|
||||||
<a href="mailto:support@docfast.dev">Support</a>
|
|
||||||
<a href="/impressum">Impressum</a>
|
<a href="/impressum">Impressum</a>
|
||||||
<a href="/privacy">Privacy Policy</a>
|
<a href="/privacy">Privacy Policy</a>
|
||||||
<a href="/terms">Terms of Service</a>
|
<a href="/terms">Terms of Service</a>
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,7 @@
|
||||||
<meta name="twitter:image" content="https://docfast.dev/og-image.png">
|
<meta name="twitter:image" content="https://docfast.dev/og-image.png">
|
||||||
<link rel="canonical" href="https://docfast.dev">
|
<link rel="canonical" href="https://docfast.dev">
|
||||||
<script type="application/ld+json">
|
<script type="application/ld+json">
|
||||||
{"@context":"https://schema.org","@type":"SoftwareApplication","name":"DocFast","url":"https://docfast.dev","applicationCategory":"DeveloperApplication","operatingSystem":"Web","description":"Convert HTML and Markdown to beautiful PDFs with a simple API call. Fast, reliable, developer-friendly.","offers":[{"@type":"Offer","price":"0","priceCurrency":"EUR","name":"Free","description":"100 PDFs/month"},{"@type":"Offer","price":"9","priceCurrency":"EUR","name":"Pro","description":"5,000 PDFs per month","billingIncrement":"P1M"}]}
|
{"@context":"https://schema.org","@type":"SoftwareApplication","name":"DocFast","url":"https://docfast.dev","applicationCategory":"DeveloperApplication","operatingSystem":"Web","description":"Convert HTML and Markdown to beautiful PDFs with a simple API call. Fast, reliable, developer-friendly.","offers":[{"@type":"Offer","price":"0","priceCurrency":"EUR","name":"Free","description":"100 PDFs/month"},{"@type":"Offer","price":"9","priceCurrency":"EUR","name":"Pro","description":"2,500 PDFs per month","billingIncrement":"P1M"}]}
|
||||||
</script>
|
</script>
|
||||||
<link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><text y='.9em' font-size='90'>⚡</text></svg>">
|
<link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><text y='.9em' font-size='90'>⚡</text></svg>">
|
||||||
<style>
|
<style>
|
||||||
|
|
@ -24,22 +24,46 @@
|
||||||
:root {
|
:root {
|
||||||
--bg: #0b0d11; --bg2: #12151c; --fg: #e4e7ed; --muted: #7a8194;
|
--bg: #0b0d11; --bg2: #12151c; --fg: #e4e7ed; --muted: #7a8194;
|
||||||
--accent: #34d399; --accent-hover: #5eead4; --accent-glow: rgba(52,211,153,0.12);
|
--accent: #34d399; --accent-hover: #5eead4; --accent-glow: rgba(52,211,153,0.12);
|
||||||
--accent2: #60a5fa; --card: #151922; --border: #1e2433;
|
--card: #151922; --border: #1e2433;
|
||||||
--radius: 12px; --radius-lg: 16px;
|
--radius: 12px; --radius-lg: 16px;
|
||||||
}
|
}
|
||||||
body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; background: var(--bg); color: var(--fg); line-height: 1.65; -webkit-font-smoothing: antialiased; }
|
body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; background: var(--bg); color: var(--fg); line-height: 1.65; -webkit-font-smoothing: antialiased; }
|
||||||
a { color: var(--accent); text-decoration: none; transition: color 0.2s; }
|
a { color: var(--accent); text-decoration: none; transition: color 0.2s; }
|
||||||
a:hover { color: var(--accent-hover); }
|
a:hover { color: var(--accent-hover); }
|
||||||
.container { max-width: 1020px; margin: 0 auto; padding: 0 24px; }
|
.container { max-width: 800px; margin: 0 auto; padding: 0 24px; }
|
||||||
|
nav { padding: 20px 0; border-bottom: 1px solid var(--border); position: sticky; top: 0; background: var(--bg); z-index: 100; }
|
||||||
/* Nav */
|
|
||||||
nav { padding: 20px 0; border-bottom: 1px solid var(--border); }
|
|
||||||
nav .container { display: flex; align-items: center; justify-content: space-between; }
|
nav .container { display: flex; align-items: center; justify-content: space-between; }
|
||||||
.logo { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.5px; color: var(--fg); display: flex; align-items: center; gap: 8px; }
|
.logo { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.5px; color: var(--fg); display: flex; align-items: center; gap: 8px; text-decoration: none; }
|
||||||
.logo span { color: var(--accent); }
|
.logo span { color: var(--accent); }
|
||||||
.nav-links { display: flex; gap: 28px; align-items: center; }
|
.nav-links { display: flex; gap: 28px; align-items: center; }
|
||||||
.nav-links a { color: var(--muted); font-size: 0.9rem; font-weight: 500; }
|
.nav-links a { color: var(--muted); font-size: 0.9rem; font-weight: 500; }
|
||||||
.nav-links a:hover { color: var(--fg); }
|
.nav-links a:hover { color: var(--fg); }
|
||||||
|
.content { padding: 60px 0; min-height: 60vh; }
|
||||||
|
.content h1 { font-size: 2rem; font-weight: 800; margin-bottom: 32px; letter-spacing: -1px; }
|
||||||
|
.content h2 { font-size: 1.3rem; font-weight: 700; margin: 32px 0 16px; color: var(--fg); }
|
||||||
|
.content h3 { font-size: 1.1rem; font-weight: 600; margin: 24px 0 12px; color: var(--fg); }
|
||||||
|
.content p, .content li { color: var(--muted); margin-bottom: 12px; }
|
||||||
|
.content ul, .content ol { padding-left: 24px; }
|
||||||
|
.content strong { color: var(--fg); }
|
||||||
|
footer { padding: 32px 0; border-top: 1px solid var(--border); margin-top: 60px; }
|
||||||
|
footer .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
|
||||||
|
.footer-left { color: var(--muted); font-size: 0.85rem; }
|
||||||
|
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
|
||||||
|
.footer-links a { color: var(--muted); font-size: 0.85rem; }
|
||||||
|
.footer-links a:hover { color: var(--fg); }
|
||||||
|
@media (max-width: 768px) {
|
||||||
|
footer .container { flex-direction: column; text-align: center; }
|
||||||
|
.nav-links { gap: 16px; }
|
||||||
|
}
|
||||||
|
|
||||||
|
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
|
||||||
|
.skip-link { position: absolute; top: -100%; left: 16px; background: var(--accent); color: #0b0d11; padding: 8px 16px; border-radius: 0 0 8px 8px; font-weight: 600; font-size: 0.9rem; z-index: 200; transition: top 0.2s; text-decoration: none; }
|
||||||
|
.skip-link:focus { top: 0; }
|
||||||
|
</style>
|
||||||
|
<style>
|
||||||
|
/* Index-page extra vars */
|
||||||
|
:root { --accent2: #60a5fa; }
|
||||||
|
.container { max-width: 1020px; }
|
||||||
|
|
||||||
/* Hero */
|
/* Hero */
|
||||||
.hero { padding: 100px 0 80px; text-align: center; position: relative; }
|
.hero { padding: 100px 0 80px; text-align: center; position: relative; }
|
||||||
|
|
@ -120,13 +144,10 @@ section { position: relative; }
|
||||||
.eu-icon { font-size: 2.5rem; }
|
.eu-icon { font-size: 2.5rem; }
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Footer */
|
/* Footer (index override) */
|
||||||
footer { padding: 40px 0; border-top: 1px solid var(--border); }
|
footer { padding: 40px 0; }
|
||||||
footer .container { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
|
footer .container { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
|
||||||
.footer-left { color: var(--muted); font-size: 0.85rem; }
|
.footer-links { gap: 24px; }
|
||||||
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
|
|
||||||
.footer-links a { color: var(--muted); font-size: 0.85rem; }
|
|
||||||
.footer-links a:hover { color: var(--fg); }
|
|
||||||
|
|
||||||
/* Modal */
|
/* Modal */
|
||||||
.modal-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.75); backdrop-filter: blur(4px); z-index: 100; align-items: center; justify-content: center; }
|
.modal-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.75); backdrop-filter: blur(4px); z-index: 100; align-items: center; justify-content: center; }
|
||||||
|
|
@ -155,6 +176,20 @@ footer .container { display: flex; align-items: center; justify-content: space-b
|
||||||
.warning-box .icon { font-size: 1.1rem; flex-shrink: 0; }
|
.warning-box .icon { font-size: 1.1rem; flex-shrink: 0; }
|
||||||
.signup-error { color: #f87171; font-size: 0.85rem; margin-bottom: 16px; display: none; padding: 10px 14px; background: rgba(248,113,113,0.06); border: 1px solid rgba(248,113,113,0.15); border-radius: 8px; }
|
.signup-error { color: #f87171; font-size: 0.85rem; margin-bottom: 16px; display: none; padding: 10px 14px; background: rgba(248,113,113,0.06); border: 1px solid rgba(248,113,113,0.15); border-radius: 8px; }
|
||||||
|
|
||||||
|
/* Recovery modal states */
|
||||||
|
#recoverInitial, #recoverLoading, #recoverVerify, #recoverResult { display: none; }
|
||||||
|
#recoverInitial.active { display: block; }
|
||||||
|
#recoverLoading.active { display: flex; flex-direction: column; align-items: center; padding: 40px 0; text-align: center; }
|
||||||
|
#recoverResult.active { display: block; }
|
||||||
|
#recoverVerify.active { display: block; }
|
||||||
|
|
||||||
|
/* Email change modal states */
|
||||||
|
#emailChangeInitial, #emailChangeLoading, #emailChangeVerify, #emailChangeResult { display: none; }
|
||||||
|
#emailChangeInitial.active { display: block; }
|
||||||
|
#emailChangeLoading.active { display: flex; flex-direction: column; align-items: center; padding: 40px 0; text-align: center; }
|
||||||
|
#emailChangeResult.active { display: block; }
|
||||||
|
#emailChangeVerify.active { display: block; }
|
||||||
|
|
||||||
/* Responsive */
|
/* Responsive */
|
||||||
@media (max-width: 640px) {
|
@media (max-width: 640px) {
|
||||||
.hero { padding: 72px 0 56px; }
|
.hero { padding: 72px 0 56px; }
|
||||||
|
|
@ -192,9 +227,9 @@ footer .container { display: flex; align-items: center; justify-content: space-b
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Additional mobile overflow fixes */
|
/* Mobile overflow fixes — overflow-x: clip (not hidden) preserves position:sticky */
|
||||||
html, body {
|
html, body {
|
||||||
overflow-x: hidden !important;
|
overflow-x: clip !important;
|
||||||
max-width: 100vw !important;
|
max-width: 100vw !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -203,7 +238,7 @@ html, body {
|
||||||
max-width: 100% !important;
|
max-width: 100% !important;
|
||||||
}
|
}
|
||||||
body {
|
body {
|
||||||
overflow-x: hidden !important;
|
overflow-x: clip !important;
|
||||||
}
|
}
|
||||||
.container {
|
.container {
|
||||||
overflow-x: hidden !important;
|
overflow-x: hidden !important;
|
||||||
|
|
@ -245,45 +280,29 @@ html, body {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Recovery modal states */
|
|
||||||
#recoverInitial, #recoverLoading, #recoverVerify, #recoverResult { display: none; }
|
|
||||||
#recoverInitial.active { display: block; }
|
|
||||||
#recoverLoading.active { display: flex; flex-direction: column; align-items: center; padding: 40px 0; text-align: center; }
|
|
||||||
#recoverResult.active { display: block; }
|
|
||||||
#recoverVerify.active { display: block; }
|
|
||||||
|
|
||||||
/* Email change modal states */
|
|
||||||
#emailChangeInitial, #emailChangeLoading, #emailChangeVerify, #emailChangeResult { display: none; }
|
|
||||||
#emailChangeInitial.active { display: block; }
|
|
||||||
#emailChangeLoading.active { display: flex; flex-direction: column; align-items: center; padding: 40px 0; text-align: center; }
|
|
||||||
#emailChangeResult.active { display: block; }
|
|
||||||
#emailChangeVerify.active { display: block; }
|
|
||||||
|
|
||||||
/* Focus-visible for accessibility */
|
/* Focus-visible for accessibility */
|
||||||
.btn:focus-visible, a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
|
.btn:focus-visible, a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
|
||||||
/* Skip to content */
|
|
||||||
.skip-link { position: absolute; top: -100%; left: 16px; background: var(--accent); color: #0b0d11; padding: 8px 16px; border-radius: 0 0 8px 8px; font-weight: 600; font-size: 0.9rem; z-index: 200; transition: top 0.2s; }
|
|
||||||
.skip-link:focus { top: 0; }
|
|
||||||
</style>
|
</style>
|
||||||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||||
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap" rel="stylesheet">
|
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap" rel="stylesheet">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<a href="#main" class="skip-link">Skip to content</a>
|
|
||||||
|
|
||||||
|
<a href="#main" class="skip-link">Skip to content</a>
|
||||||
<nav aria-label="Main navigation">
|
<nav aria-label="Main navigation">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<a href="/" class="logo">⚡ Doc<span>Fast</span></a>
|
<a href="/" class="logo">⚡ Doc<span>Fast</span></a>
|
||||||
<div class="nav-links">
|
<div class="nav-links">
|
||||||
<a href="#features">Features</a>
|
<a href="/#features">Features</a>
|
||||||
<a href="#pricing">Pricing</a>
|
<a href="/#pricing">Pricing</a>
|
||||||
<a href="/docs">Docs</a>
|
<a href="/docs">Docs</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
||||||
<main class="hero" role="main" id="main">
|
<main role="main" id="main">
|
||||||
|
<section class="hero">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="badge">🚀 Simple PDF API for Developers</div>
|
<div class="badge">🚀 Simple PDF API for Developers</div>
|
||||||
<h1>HTML to <span class="gradient">PDF</span><br>in one API call</h1>
|
<h1>HTML to <span class="gradient">PDF</span><br>in one API call</h1>
|
||||||
|
|
@ -309,7 +328,7 @@ html, body {
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</main>
|
</section>
|
||||||
|
|
||||||
<section class="trust">
|
<section class="trust">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
|
|
@ -339,7 +358,7 @@ html, body {
|
||||||
<div class="eu-badge">
|
<div class="eu-badge">
|
||||||
<div class="eu-icon">🇪🇺</div>
|
<div class="eu-icon">🇪🇺</div>
|
||||||
<div class="eu-content">
|
<div class="eu-content">
|
||||||
<h3>Hosted in the EU</h3>
|
<h2>Hosted in the EU</h2>
|
||||||
<p>Your data never leaves the EU • GDPR Compliant • Hetzner Germany (Nuremberg)</p>
|
<p>Your data never leaves the EU • GDPR Compliant • Hetzner Germany (Nuremberg)</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -407,7 +426,7 @@ html, body {
|
||||||
<div class="price-amount">€9<span> /mo</span></div>
|
<div class="price-amount">€9<span> /mo</span></div>
|
||||||
<div class="price-desc">For production apps and businesses</div>
|
<div class="price-desc">For production apps and businesses</div>
|
||||||
<ul class="price-features">
|
<ul class="price-features">
|
||||||
<li>5,000 PDFs per month</li>
|
<li>2,500 PDFs per month</li>
|
||||||
<li>All conversion endpoints</li>
|
<li>All conversion endpoints</li>
|
||||||
<li>All templates included</li>
|
<li>All templates included</li>
|
||||||
<li>Priority support (<a href="mailto:support@docfast.dev">support@docfast.dev</a>)</li>
|
<li>Priority support (<a href="mailto:support@docfast.dev">support@docfast.dev</a>)</li>
|
||||||
|
|
@ -418,14 +437,15 @@ html, body {
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
</main>
|
||||||
|
|
||||||
<footer aria-label="Footer">
|
<footer aria-label="Footer">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="footer-left">© 2026 DocFast. Fast PDF generation for developers.</div>
|
<div class="footer-left">© 2026 DocFast. Fast PDF generation for developers.</div>
|
||||||
<div class="footer-links">
|
<div class="footer-links">
|
||||||
<a href="/">Home</a>
|
<a href="/">Home</a>
|
||||||
<a href="/docs">Docs</a>
|
<a href="/docs">Docs</a>
|
||||||
<a href="/health">API Status</a>
|
<a href="/status">API Status</a>
|
||||||
<a href="mailto:support@docfast.dev">Support</a>
|
|
||||||
<a href="/impressum">Impressum</a>
|
<a href="/impressum">Impressum</a>
|
||||||
<a href="/privacy">Privacy Policy</a>
|
<a href="/privacy">Privacy Policy</a>
|
||||||
<a href="/terms">Terms of Service</a>
|
<a href="/terms">Terms of Service</a>
|
||||||
|
|
@ -436,12 +456,13 @@ html, body {
|
||||||
<!-- Signup Modal -->
|
<!-- Signup Modal -->
|
||||||
<div class="modal-overlay" id="signupModal" role="dialog" aria-label="Sign up for API key">
|
<div class="modal-overlay" id="signupModal" role="dialog" aria-label="Sign up for API key">
|
||||||
<div class="modal">
|
<div class="modal">
|
||||||
<button class="close" id="btn-close-signup">×</button>
|
<button class="close" id="btn-close-signup" aria-label="Close">×</button>
|
||||||
|
|
||||||
<div id="signupInitial" class="active">
|
<div id="signupInitial" class="active">
|
||||||
<h2>Get your free API key</h2>
|
<h2>Get your free API key</h2>
|
||||||
<p>Enter your email to get started. No credit card required.</p>
|
<p>Enter your email to get started. No credit card required.</p>
|
||||||
<div class="signup-error" id="signupError"></div>
|
<div class="signup-error" id="signupError"></div>
|
||||||
|
<label for="signupEmail" class="sr-only">Email address</label>
|
||||||
<input type="email" id="signupEmail" placeholder="your.email@example.com" style="width:100%;padding:12px;border:1px solid var(--border);background:var(--bg);color:var(--fg);border-radius:8px;font-size:0.9rem;margin-bottom:16px;" required>
|
<input type="email" id="signupEmail" placeholder="your.email@example.com" style="width:100%;padding:12px;border:1px solid var(--border);background:var(--bg);color:var(--fg);border-radius:8px;font-size:0.9rem;margin-bottom:16px;" required>
|
||||||
<button class="btn btn-primary" style="width:100%" id="signupBtn">Generate API Key →</button>
|
<button class="btn btn-primary" style="width:100%" id="signupBtn">Generate API Key →</button>
|
||||||
<p style="margin-top:16px;color:var(--muted);font-size:0.8rem;text-align:center;">100 free PDFs/month • All endpoints included<br><a href="#" class="open-recover" style="color:var(--muted)">Lost your API key? Recover it →</a></p>
|
<p style="margin-top:16px;color:var(--muted);font-size:0.8rem;text-align:center;">100 free PDFs/month • All endpoints included<br><a href="#" class="open-recover" style="color:var(--muted)">Lost your API key? Recover it →</a></p>
|
||||||
|
|
@ -456,6 +477,7 @@ html, body {
|
||||||
<h2>Enter verification code</h2>
|
<h2>Enter verification code</h2>
|
||||||
<p>We sent a 6-digit code to <strong id="verifyEmailDisplay"></strong></p>
|
<p>We sent a 6-digit code to <strong id="verifyEmailDisplay"></strong></p>
|
||||||
<div class="signup-error" id="verifyError"></div>
|
<div class="signup-error" id="verifyError"></div>
|
||||||
|
<label for="verifyCode" class="sr-only">Verification code</label>
|
||||||
<input type="text" id="verifyCode" placeholder="123456" maxlength="6" pattern="[0-9]{6}" inputmode="numeric" style="width:100%;padding:14px;border:1px solid var(--border);background:var(--bg);color:var(--fg);border-radius:8px;font-size:1.4rem;letter-spacing:0.3em;text-align:center;margin-bottom:16px;font-family:monospace;" required>
|
<input type="text" id="verifyCode" placeholder="123456" maxlength="6" pattern="[0-9]{6}" inputmode="numeric" style="width:100%;padding:14px;border:1px solid var(--border);background:var(--bg);color:var(--fg);border-radius:8px;font-size:1.4rem;letter-spacing:0.3em;text-align:center;margin-bottom:16px;font-family:monospace;" required>
|
||||||
<button class="btn btn-primary" style="width:100%" id="verifyBtn">Verify →</button>
|
<button class="btn btn-primary" style="width:100%" id="verifyBtn">Verify →</button>
|
||||||
<p style="margin-top:16px;color:var(--muted);font-size:0.8rem;text-align:center;">Code expires in 15 minutes</p>
|
<p style="margin-top:16px;color:var(--muted);font-size:0.8rem;text-align:center;">Code expires in 15 minutes</p>
|
||||||
|
|
@ -478,14 +500,15 @@ html, body {
|
||||||
|
|
||||||
|
|
||||||
<!-- Recovery Modal -->
|
<!-- Recovery Modal -->
|
||||||
<div class="modal-overlay" id="recoverModal" role="dialog" aria-label="Recover API key">
|
<div class="modal-overlay" id="recoverModal" role="dialog" aria-modal="true" aria-label="Recover API key">
|
||||||
<div class="modal">
|
<div class="modal">
|
||||||
<button class="close" id="btn-close-recover">×</button>
|
<button class="close" id="btn-close-recover" aria-label="Close">×</button>
|
||||||
|
|
||||||
<div id="recoverInitial" class="active">
|
<div id="recoverInitial" class="active">
|
||||||
<h2>Recover your API key</h2>
|
<h2>Recover your API key</h2>
|
||||||
<p>Enter the email you signed up with. We'll send a verification code.</p>
|
<p>Enter the email you signed up with. We'll send a verification code.</p>
|
||||||
<div class="signup-error" id="recoverError"></div>
|
<div class="signup-error" id="recoverError"></div>
|
||||||
|
<label for="recoverEmailInput" class="sr-only">Email address</label>
|
||||||
<input type="email" id="recoverEmailInput" placeholder="your.email@example.com" style="width:100%;padding:12px;border:1px solid var(--border);background:var(--bg);color:var(--fg);border-radius:8px;font-size:0.9rem;margin-bottom:16px;" required>
|
<input type="email" id="recoverEmailInput" placeholder="your.email@example.com" style="width:100%;padding:12px;border:1px solid var(--border);background:var(--bg);color:var(--fg);border-radius:8px;font-size:0.9rem;margin-bottom:16px;" required>
|
||||||
<button class="btn btn-primary" style="width:100%" id="recoverBtn">Send Verification Code →</button>
|
<button class="btn btn-primary" style="width:100%" id="recoverBtn">Send Verification Code →</button>
|
||||||
<p style="margin-top:16px;color:var(--muted);font-size:0.8rem;text-align:center;">Your key will be shown here after verification — never sent via email</p>
|
<p style="margin-top:16px;color:var(--muted);font-size:0.8rem;text-align:center;">Your key will be shown here after verification — never sent via email</p>
|
||||||
|
|
@ -500,6 +523,7 @@ html, body {
|
||||||
<h2>Enter verification code</h2>
|
<h2>Enter verification code</h2>
|
||||||
<p>We sent a 6-digit code to <strong id="recoverEmailDisplay"></strong></p>
|
<p>We sent a 6-digit code to <strong id="recoverEmailDisplay"></strong></p>
|
||||||
<div class="signup-error" id="recoverVerifyError"></div>
|
<div class="signup-error" id="recoverVerifyError"></div>
|
||||||
|
<label for="recoverCode" class="sr-only">Verification code</label>
|
||||||
<input type="text" id="recoverCode" placeholder="123456" maxlength="6" pattern="[0-9]{6}" inputmode="numeric" style="width:100%;padding:14px;border:1px solid var(--border);background:var(--bg);color:var(--fg);border-radius:8px;font-size:1.4rem;letter-spacing:0.3em;text-align:center;margin-bottom:16px;font-family:monospace;" required>
|
<input type="text" id="recoverCode" placeholder="123456" maxlength="6" pattern="[0-9]{6}" inputmode="numeric" style="width:100%;padding:14px;border:1px solid var(--border);background:var(--bg);color:var(--fg);border-radius:8px;font-size:1.4rem;letter-spacing:0.3em;text-align:center;margin-bottom:16px;font-family:monospace;" required>
|
||||||
<button class="btn btn-primary" style="width:100%" id="recoverVerifyBtn">Verify →</button>
|
<button class="btn btn-primary" style="width:100%" id="recoverVerifyBtn">Verify →</button>
|
||||||
<p style="margin-top:16px;color:var(--muted);font-size:0.8rem;text-align:center;">Code expires in 15 minutes</p>
|
<p style="margin-top:16px;color:var(--muted);font-size:0.8rem;text-align:center;">Code expires in 15 minutes</p>
|
||||||
|
|
@ -521,43 +545,7 @@ html, body {
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<!-- Email Change Modal -->
|
|
||||||
<div class="modal-overlay" id="emailChangeModal" role="dialog" aria-label="Change email">
|
|
||||||
<div class="modal">
|
|
||||||
<button class="close" id="btn-close-email-change">×</button>
|
|
||||||
|
|
||||||
<div id="emailChangeInitial" class="active">
|
|
||||||
<h2>Change your email</h2>
|
|
||||||
<p>Enter your API key and new email address.</p>
|
|
||||||
<div class="signup-error" id="emailChangeError"></div>
|
|
||||||
<input type="text" id="emailChangeApiKey" placeholder="Your API key (df_free_... or df_pro_...)" style="width:100%;padding:12px;border:1px solid var(--border);background:var(--bg);color:var(--fg);border-radius:8px;font-size:0.9rem;margin-bottom:12px;font-family:monospace;" required>
|
|
||||||
<input type="email" id="emailChangeNewEmail" placeholder="new.email@example.com" style="width:100%;padding:12px;border:1px solid var(--border);background:var(--bg);color:var(--fg);border-radius:8px;font-size:0.9rem;margin-bottom:16px;" required>
|
|
||||||
<button class="btn btn-primary" style="width:100%" id="emailChangeBtn">Send Verification Code →</button>
|
|
||||||
<p style="margin-top:16px;color:var(--muted);font-size:0.8rem;text-align:center;">A verification code will be sent to your new email</p>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div id="emailChangeLoading">
|
|
||||||
<div class="spinner"></div>
|
|
||||||
<p style="color:var(--muted);margin:0">Sending verification code…</p>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div id="emailChangeVerify">
|
|
||||||
<h2>Enter verification code</h2>
|
|
||||||
<p>We sent a 6-digit code to <strong id="emailChangeEmailDisplay"></strong></p>
|
|
||||||
<div class="signup-error" id="emailChangeVerifyError"></div>
|
|
||||||
<input type="text" id="emailChangeCode" placeholder="123456" maxlength="6" pattern="[0-9]{6}" inputmode="numeric" style="width:100%;padding:14px;border:1px solid var(--border);background:var(--bg);color:var(--fg);border-radius:8px;font-size:1.4rem;letter-spacing:0.3em;text-align:center;margin-bottom:16px;font-family:monospace;" required>
|
|
||||||
<button class="btn btn-primary" style="width:100%" id="emailChangeVerifyBtn">Verify →</button>
|
|
||||||
<p style="margin-top:16px;color:var(--muted);font-size:0.8rem;text-align:center;">Code expires in 15 minutes</p>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div id="emailChangeResult">
|
|
||||||
<h2>✅ Email updated!</h2>
|
|
||||||
<p>Your account email has been changed to <strong id="emailChangeNewDisplay"></strong></p>
|
|
||||||
<p style="margin-top:20px;color:var(--muted);font-size:0.9rem;"><a href="/docs">Read the docs →</a></p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<script src="/app.min.js"></script>
|
<script src="/app.min.js"></script>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,4 @@
|
||||||
|
<a href="#main" class="skip-link">Skip to content</a>
|
||||||
<nav aria-label="Main navigation">
|
<nav aria-label="Main navigation">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<a href="/" class="logo">⚡ Doc<span>Fast</span></a>
|
<a href="/" class="logo">⚡ Doc<span>Fast</span></a>
|
||||||
|
|
|
||||||
|
|
@ -36,4 +36,6 @@ footer .container { display: flex; justify-content: space-between; align-items:
|
||||||
}
|
}
|
||||||
|
|
||||||
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
|
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
|
||||||
|
.skip-link { position: absolute; top: -100%; left: 16px; background: var(--accent); color: #0b0d11; padding: 8px 16px; border-radius: 0 0 8px 8px; font-weight: 600; font-size: 0.9rem; z-index: 200; transition: top 0.2s; text-decoration: none; }
|
||||||
|
.skip-link:focus { top: 0; }
|
||||||
</style>
|
</style>
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,7 @@ body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Robo
|
||||||
a { color: var(--accent); text-decoration: none; transition: color 0.2s; }
|
a { color: var(--accent); text-decoration: none; transition: color 0.2s; }
|
||||||
a:hover { color: var(--accent-hover); }
|
a:hover { color: var(--accent-hover); }
|
||||||
.container { max-width: 800px; margin: 0 auto; padding: 0 24px; }
|
.container { max-width: 800px; margin: 0 auto; padding: 0 24px; }
|
||||||
nav { padding: 20px 0; border-bottom: 1px solid var(--border); }
|
nav { padding: 20px 0; border-bottom: 1px solid var(--border); position: sticky; top: 0; background: var(--bg); z-index: 100; }
|
||||||
nav .container { display: flex; align-items: center; justify-content: space-between; }
|
nav .container { display: flex; align-items: center; justify-content: space-between; }
|
||||||
.logo { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.5px; color: var(--fg); display: flex; align-items: center; gap: 8px; text-decoration: none; }
|
.logo { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.5px; color: var(--fg); display: flex; align-items: center; gap: 8px; text-decoration: none; }
|
||||||
.logo span { color: var(--accent); }
|
.logo span { color: var(--accent); }
|
||||||
|
|
@ -47,14 +47,15 @@ footer .container { display: flex; justify-content: space-between; align-items:
|
||||||
footer .container { flex-direction: column; text-align: center; }
|
footer .container { flex-direction: column; text-align: center; }
|
||||||
.nav-links { gap: 16px; }
|
.nav-links { gap: 16px; }
|
||||||
}
|
}
|
||||||
/* Skip to content */
|
|
||||||
.skip-link { position: absolute; top: -100%; left: 16px; background: var(--accent); color: #0b0d11; padding: 8px 16px; border-radius: 0 0 8px 8px; font-weight: 600; font-size: 0.9rem; z-index: 200; transition: top 0.2s; }
|
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
|
||||||
|
.skip-link { position: absolute; top: -100%; left: 16px; background: var(--accent); color: #0b0d11; padding: 8px 16px; border-radius: 0 0 8px 8px; font-weight: 600; font-size: 0.9rem; z-index: 200; transition: top 0.2s; text-decoration: none; }
|
||||||
.skip-link:focus { top: 0; }
|
.skip-link:focus { top: 0; }
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<a href="#main" class="skip-link">Skip to content</a>
|
|
||||||
|
|
||||||
|
<a href="#main" class="skip-link">Skip to content</a>
|
||||||
<nav aria-label="Main navigation">
|
<nav aria-label="Main navigation">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<a href="/" class="logo">⚡ Doc<span>Fast</span></a>
|
<a href="/" class="logo">⚡ Doc<span>Fast</span></a>
|
||||||
|
|
@ -185,8 +186,7 @@ footer .container { display: flex; justify-content: space-between; align-items:
|
||||||
<div class="footer-links">
|
<div class="footer-links">
|
||||||
<a href="/">Home</a>
|
<a href="/">Home</a>
|
||||||
<a href="/docs">Docs</a>
|
<a href="/docs">Docs</a>
|
||||||
<a href="/health">API Status</a>
|
<a href="/status">API Status</a>
|
||||||
<a href="mailto:support@docfast.dev">Support</a>
|
|
||||||
<a href="/impressum">Impressum</a>
|
<a href="/impressum">Impressum</a>
|
||||||
<a href="/privacy">Privacy Policy</a>
|
<a href="/privacy">Privacy Policy</a>
|
||||||
<a href="/terms">Terms of Service</a>
|
<a href="/terms">Terms of Service</a>
|
||||||
|
|
|
||||||
|
|
@ -5,6 +5,9 @@
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
<title>Impressum — DocFast</title>
|
<title>Impressum — DocFast</title>
|
||||||
<meta name="description" content="Legal notice and company information for DocFast API service.">
|
<meta name="description" content="Legal notice and company information for DocFast API service.">
|
||||||
|
<meta property="og:title" content="Impressum — DocFast">
|
||||||
|
<meta property="og:description" content="Legal notice and company information for DocFast API service.">
|
||||||
|
<meta property="og:url" content="https://docfast.dev/impressum">
|
||||||
<link rel="canonical" href="https://docfast.dev/impressum">
|
<link rel="canonical" href="https://docfast.dev/impressum">
|
||||||
<link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><text y='.9em' font-size='90'>⚡</text></svg>">
|
<link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><text y='.9em' font-size='90'>⚡</text></svg>">
|
||||||
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap" rel="stylesheet">
|
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap" rel="stylesheet">
|
||||||
|
|
@ -14,7 +17,7 @@
|
||||||
|
|
||||||
{{> nav}}
|
{{> nav}}
|
||||||
|
|
||||||
<main>
|
<main id="main">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<h1>Impressum</h1>
|
<h1>Impressum</h1>
|
||||||
<p><em>Legal notice according to § 5 ECG and § 25 MedienG (Austrian law)</em></p>
|
<p><em>Legal notice according to § 5 ECG and § 25 MedienG (Austrian law)</em></p>
|
||||||
|
|
|
||||||
|
|
@ -13,9 +13,8 @@
|
||||||
<meta name="twitter:card" content="summary_large_image">
|
<meta name="twitter:card" content="summary_large_image">
|
||||||
<meta name="twitter:title" content="DocFast — HTML & Markdown to PDF API">
|
<meta name="twitter:title" content="DocFast — HTML & Markdown to PDF API">
|
||||||
<meta name="twitter:description" content="Convert HTML and Markdown to beautiful PDFs with a simple API call.">
|
<meta name="twitter:description" content="Convert HTML and Markdown to beautiful PDFs with a simple API call.">
|
||||||
|
<meta name="twitter:image" content="https://docfast.dev/og-image.png">
|
||||||
<link rel="canonical" href="https://docfast.dev">
|
<link rel="canonical" href="https://docfast.dev">
|
||||||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
|
||||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
|
||||||
<script type="application/ld+json">
|
<script type="application/ld+json">
|
||||||
{"@context":"https://schema.org","@type":"SoftwareApplication","name":"DocFast","url":"https://docfast.dev","applicationCategory":"DeveloperApplication","operatingSystem":"Web","description":"Convert HTML and Markdown to beautiful PDFs with a simple API call. Fast, reliable, developer-friendly.","offers":[{"@type":"Offer","price":"0","priceCurrency":"EUR","name":"Free","description":"100 PDFs/month"},{"@type":"Offer","price":"9","priceCurrency":"EUR","name":"Pro","description":"2,500 PDFs per month","billingIncrement":"P1M"}]}
|
{"@context":"https://schema.org","@type":"SoftwareApplication","name":"DocFast","url":"https://docfast.dev","applicationCategory":"DeveloperApplication","operatingSystem":"Web","description":"Convert HTML and Markdown to beautiful PDFs with a simple API call. Fast, reliable, developer-friendly.","offers":[{"@type":"Offer","price":"0","priceCurrency":"EUR","name":"Free","description":"100 PDFs/month"},{"@type":"Offer","price":"9","priceCurrency":"EUR","name":"Pro","description":"2,500 PDFs per month","billingIncrement":"P1M"}]}
|
||||||
</script>
|
</script>
|
||||||
|
|
@ -30,7 +29,7 @@
|
||||||
|
|
||||||
{{> nav}}
|
{{> nav}}
|
||||||
|
|
||||||
<main role="main">
|
<main role="main" id="main">
|
||||||
<section class="hero">
|
<section class="hero">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="badge">🚀 Simple PDF API for Developers</div>
|
<div class="badge">🚀 Simple PDF API for Developers</div>
|
||||||
|
|
@ -219,7 +218,7 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<script src="/app.js"></script>
|
<script src="/app.min.js"></script>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
|
||||||
|
|
@ -5,6 +5,9 @@
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
<title>Privacy Policy — DocFast</title>
|
<title>Privacy Policy — DocFast</title>
|
||||||
<meta name="description" content="Privacy policy for DocFast API service - GDPR compliant data protection information.">
|
<meta name="description" content="Privacy policy for DocFast API service - GDPR compliant data protection information.">
|
||||||
|
<meta property="og:title" content="Privacy Policy — DocFast">
|
||||||
|
<meta property="og:description" content="Privacy policy for DocFast API service - GDPR compliant data protection information.">
|
||||||
|
<meta property="og:url" content="https://docfast.dev/privacy">
|
||||||
<link rel="canonical" href="https://docfast.dev/privacy">
|
<link rel="canonical" href="https://docfast.dev/privacy">
|
||||||
<link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><text y='.9em' font-size='90'>⚡</text></svg>">
|
<link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><text y='.9em' font-size='90'>⚡</text></svg>">
|
||||||
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap" rel="stylesheet">
|
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap" rel="stylesheet">
|
||||||
|
|
@ -14,7 +17,7 @@
|
||||||
|
|
||||||
{{> nav}}
|
{{> nav}}
|
||||||
|
|
||||||
<main>
|
<main id="main">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<h1>Privacy Policy</h1>
|
<h1>Privacy Policy</h1>
|
||||||
<p><em>Last updated: February 16, 2026</em></p>
|
<p><em>Last updated: February 16, 2026</em></p>
|
||||||
|
|
|
||||||
|
|
@ -5,6 +5,9 @@
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
<title>System Status — DocFast</title>
|
<title>System Status — DocFast</title>
|
||||||
<meta name="description" content="Real-time system status for the DocFast PDF API.">
|
<meta name="description" content="Real-time system status for the DocFast PDF API.">
|
||||||
|
<meta property="og:title" content="System Status — DocFast">
|
||||||
|
<meta property="og:description" content="Real-time system status for the DocFast PDF API.">
|
||||||
|
<meta property="og:url" content="https://docfast.dev/status">
|
||||||
<link rel="canonical" href="https://docfast.dev/status">
|
<link rel="canonical" href="https://docfast.dev/status">
|
||||||
<link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><text y='.9em' font-size='90'>⚡</text></svg>">
|
<link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><text y='.9em' font-size='90'>⚡</text></svg>">
|
||||||
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap" rel="stylesheet">
|
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap" rel="stylesheet">
|
||||||
|
|
@ -35,7 +38,7 @@
|
||||||
|
|
||||||
{{> nav}}
|
{{> nav}}
|
||||||
|
|
||||||
<main>
|
<main id="main">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div id="status-content" class="status-loading">Loading system status…</div>
|
<div id="status-content" class="status-loading">Loading system status…</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -43,6 +46,6 @@
|
||||||
|
|
||||||
{{> footer}}
|
{{> footer}}
|
||||||
|
|
||||||
<script src="/status.js"></script>
|
<script src="/status.min.js"></script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
|
||||||
|
|
@ -5,6 +5,9 @@
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
<title>Terms of Service — DocFast</title>
|
<title>Terms of Service — DocFast</title>
|
||||||
<meta name="description" content="Terms of service for DocFast API - legal terms and conditions for using our PDF generation service.">
|
<meta name="description" content="Terms of service for DocFast API - legal terms and conditions for using our PDF generation service.">
|
||||||
|
<meta property="og:title" content="Terms of Service — DocFast">
|
||||||
|
<meta property="og:description" content="Terms of service for DocFast API - legal terms and conditions for using our PDF generation service.">
|
||||||
|
<meta property="og:url" content="https://docfast.dev/terms">
|
||||||
<link rel="canonical" href="https://docfast.dev/terms">
|
<link rel="canonical" href="https://docfast.dev/terms">
|
||||||
<link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><text y='.9em' font-size='90'>⚡</text></svg>">
|
<link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><text y='.9em' font-size='90'>⚡</text></svg>">
|
||||||
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap" rel="stylesheet">
|
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap" rel="stylesheet">
|
||||||
|
|
@ -14,7 +17,7 @@
|
||||||
|
|
||||||
{{> nav}}
|
{{> nav}}
|
||||||
|
|
||||||
<main>
|
<main id="main">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<h1>Terms of Service</h1>
|
<h1>Terms of Service</h1>
|
||||||
<p><em>Last updated: February 16, 2026</em></p>
|
<p><em>Last updated: February 16, 2026</em></p>
|
||||||
|
|
|
||||||
|
|
@ -5,6 +5,9 @@
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
<title>System Status — DocFast</title>
|
<title>System Status — DocFast</title>
|
||||||
<meta name="description" content="Real-time system status for the DocFast PDF API.">
|
<meta name="description" content="Real-time system status for the DocFast PDF API.">
|
||||||
|
<meta property="og:title" content="System Status — DocFast">
|
||||||
|
<meta property="og:description" content="Real-time system status for the DocFast PDF API.">
|
||||||
|
<meta property="og:url" content="https://docfast.dev/status">
|
||||||
<link rel="canonical" href="https://docfast.dev/status">
|
<link rel="canonical" href="https://docfast.dev/status">
|
||||||
<link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><text y='.9em' font-size='90'>⚡</text></svg>">
|
<link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><text y='.9em' font-size='90'>⚡</text></svg>">
|
||||||
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap" rel="stylesheet">
|
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap" rel="stylesheet">
|
||||||
|
|
@ -46,6 +49,8 @@ footer .container { display: flex; justify-content: space-between; align-items:
|
||||||
}
|
}
|
||||||
|
|
||||||
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
|
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
|
||||||
|
.skip-link { position: absolute; top: -100%; left: 16px; background: var(--accent); color: #0b0d11; padding: 8px 16px; border-radius: 0 0 8px 8px; font-weight: 600; font-size: 0.9rem; z-index: 200; transition: top 0.2s; text-decoration: none; }
|
||||||
|
.skip-link:focus { top: 0; }
|
||||||
</style>
|
</style>
|
||||||
<style>
|
<style>
|
||||||
.status-hero { text-align: center; padding: 48px 0 32px; }
|
.status-hero { text-align: center; padding: 48px 0 32px; }
|
||||||
|
|
@ -71,6 +76,7 @@ footer .container { display: flex; justify-content: space-between; align-items:
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|
||||||
|
<a href="#main" class="skip-link">Skip to content</a>
|
||||||
<nav aria-label="Main navigation">
|
<nav aria-label="Main navigation">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<a href="/" class="logo">⚡ Doc<span>Fast</span></a>
|
<a href="/" class="logo">⚡ Doc<span>Fast</span></a>
|
||||||
|
|
@ -82,7 +88,7 @@ footer .container { display: flex; justify-content: space-between; align-items:
|
||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
||||||
<main>
|
<main id="main">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div id="status-content" class="status-loading">Loading system status…</div>
|
<div id="status-content" class="status-loading">Loading system status…</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -102,6 +108,6 @@ footer .container { display: flex; justify-content: space-between; align-items:
|
||||||
</div>
|
</div>
|
||||||
</footer>
|
</footer>
|
||||||
|
|
||||||
<script src="/status.js"></script>
|
<script src="/status.min.js"></script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
|
||||||
1
public/status.min.js
vendored
Normal file
1
public/status.min.js
vendored
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
async function fetchStatus(){const s=document.getElementById("status-content");try{const a=await fetch("/health"),t=await a.json(),e="ok"===t.status,l="degraded"===t.status,o=e?"ok":l?"degraded":"error",n=e?"All Systems Operational":l?"Degraded Performance":"Service Disruption",i=(new Date).toLocaleTimeString();s.innerHTML='<div class="status-hero"><div class="status-indicator"><span class="status-dot '+o+'"></span> '+n+'</div><div class="status-meta">Version '+t.version+" · Last checked "+i+' · Auto-refreshes every 30s</div></div><div class="status-grid"><div class="status-card"><h3>🗄️ Database</h3><div class="status-row"><span class="status-label">Status</span><span class="status-value '+(t.database&&"ok"===t.database.status?"ok":"err")+'">'+(t.database&&"ok"===t.database.status?"Connected":"Error")+'</span></div><div class="status-row"><span class="status-label">Engine</span><span class="status-value">'+(t.database?t.database.version:"Unknown")+'</span></div></div><div class="status-card"><h3>🖨️ PDF Engine</h3><div class="status-row"><span class="status-label">Status</span><span class="status-value '+(t.pool&&t.pool.available>0?"ok":"warn")+'">'+(t.pool&&t.pool.available>0?"Ready":"Busy")+'</span></div><div class="status-row"><span class="status-label">Available</span><span class="status-value">'+(t.pool?t.pool.available:0)+" / "+(t.pool?t.pool.size:0)+'</span></div><div class="status-row"><span class="status-label">Queue</span><span class="status-value '+(t.pool&&t.pool.queueDepth>0?"warn":"ok")+'">'+(t.pool?t.pool.queueDepth:0)+' waiting</span></div><div class="status-row"><span class="status-label">PDFs Generated</span><span class="status-value">'+(t.pool?t.pool.pdfCount.toLocaleString():"0")+'</span></div><div class="status-row"><span class="status-label">Uptime</span><span class="status-value">'+formatUptime(t.pool?t.pool.uptimeSeconds:0)+'</span></div></div></div><div style="text-align:center;margin-top:16px;"><a href="/health" style="font-size:0.8rem;color:var(--muted);">Raw JSON endpoint →</a></div>'}catch(a){s.innerHTML='<div class="status-hero"><div class="status-indicator"><span class="status-dot error"></span> Unable to reach API</div><div class="status-meta">The service may be temporarily unavailable. Please try again shortly.</div></div>'}}function formatUptime(s){return s||0===s?s<60?s+"s":s<3600?Math.floor(s/60)+"m "+s%60+"s":Math.floor(s/3600)+"h "+Math.floor(s%3600/60)+"m":"Unknown"}fetchStatus(),setInterval(fetchStatus,3e4);
|
||||||
|
|
@ -23,7 +23,7 @@ body { font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Robo
|
||||||
a { color: var(--accent); text-decoration: none; transition: color 0.2s; }
|
a { color: var(--accent); text-decoration: none; transition: color 0.2s; }
|
||||||
a:hover { color: var(--accent-hover); }
|
a:hover { color: var(--accent-hover); }
|
||||||
.container { max-width: 800px; margin: 0 auto; padding: 0 24px; }
|
.container { max-width: 800px; margin: 0 auto; padding: 0 24px; }
|
||||||
nav { padding: 20px 0; border-bottom: 1px solid var(--border); }
|
nav { padding: 20px 0; border-bottom: 1px solid var(--border); position: sticky; top: 0; background: var(--bg); z-index: 100; }
|
||||||
nav .container { display: flex; align-items: center; justify-content: space-between; }
|
nav .container { display: flex; align-items: center; justify-content: space-between; }
|
||||||
.logo { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.5px; color: var(--fg); display: flex; align-items: center; gap: 8px; text-decoration: none; }
|
.logo { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.5px; color: var(--fg); display: flex; align-items: center; gap: 8px; text-decoration: none; }
|
||||||
.logo span { color: var(--accent); }
|
.logo span { color: var(--accent); }
|
||||||
|
|
@ -47,14 +47,15 @@ footer .container { display: flex; justify-content: space-between; align-items:
|
||||||
footer .container { flex-direction: column; text-align: center; }
|
footer .container { flex-direction: column; text-align: center; }
|
||||||
.nav-links { gap: 16px; }
|
.nav-links { gap: 16px; }
|
||||||
}
|
}
|
||||||
/* Skip to content */
|
|
||||||
.skip-link { position: absolute; top: -100%; left: 16px; background: var(--accent); color: #0b0d11; padding: 8px 16px; border-radius: 0 0 8px 8px; font-weight: 600; font-size: 0.9rem; z-index: 200; transition: top 0.2s; }
|
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
|
||||||
|
.skip-link { position: absolute; top: -100%; left: 16px; background: var(--accent); color: #0b0d11; padding: 8px 16px; border-radius: 0 0 8px 8px; font-weight: 600; font-size: 0.9rem; z-index: 200; transition: top 0.2s; text-decoration: none; }
|
||||||
.skip-link:focus { top: 0; }
|
.skip-link:focus { top: 0; }
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<a href="#main" class="skip-link">Skip to content</a>
|
|
||||||
|
|
||||||
|
<a href="#main" class="skip-link">Skip to content</a>
|
||||||
<nav aria-label="Main navigation">
|
<nav aria-label="Main navigation">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<a href="/" class="logo">⚡ Doc<span>Fast</span></a>
|
<a href="/" class="logo">⚡ Doc<span>Fast</span></a>
|
||||||
|
|
@ -145,7 +146,7 @@ footer .container { display: flex; justify-content: space-between; align-items:
|
||||||
<ul>
|
<ul>
|
||||||
<li><strong>Target:</strong> 99.5% uptime (best effort, no SLA for free tier)</li>
|
<li><strong>Target:</strong> 99.5% uptime (best effort, no SLA for free tier)</li>
|
||||||
<li><strong>Maintenance:</strong> Scheduled maintenance with advance notice</li>
|
<li><strong>Maintenance:</strong> Scheduled maintenance with advance notice</li>
|
||||||
<li><strong>Status page:</strong> <a href="/health">https://docfast.dev/health</a></li>
|
<li><strong>Status page:</strong> <a href="/status">https://docfast.dev/status</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<h3>5.2 Performance</h3>
|
<h3>5.2 Performance</h3>
|
||||||
|
|
@ -257,8 +258,7 @@ footer .container { display: flex; justify-content: space-between; align-items:
|
||||||
<div class="footer-links">
|
<div class="footer-links">
|
||||||
<a href="/">Home</a>
|
<a href="/">Home</a>
|
||||||
<a href="/docs">Docs</a>
|
<a href="/docs">Docs</a>
|
||||||
<a href="/health">API Status</a>
|
<a href="/status">API Status</a>
|
||||||
<a href="mailto:support@docfast.dev">Support</a>
|
|
||||||
<a href="/impressum">Impressum</a>
|
<a href="/impressum">Impressum</a>
|
||||||
<a href="/privacy">Privacy Policy</a>
|
<a href="/privacy">Privacy Policy</a>
|
||||||
<a href="/terms">Terms of Service</a>
|
<a href="/terms">Terms of Service</a>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue