Skip to content

Commit 50a920e

Browse files
committed
feat: upgrade landing page to premium dark mode
1 parent 9682183 commit 50a920e

2 files changed

Lines changed: 18 additions & 16 deletions

File tree

docs/index.html

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
<link rel="preconnect" href="https://fonts.googleapis.com" />
4949
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
5050
<link
51-
href="https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500&display=swap"
51+
href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500&display=swap"
5252
rel="stylesheet"
5353
/>
5454
<link rel="stylesheet" href="styles.css" />
@@ -298,7 +298,9 @@ <h2 class="section-title" id="features-heading">Everything You Need</h2>
298298

299299
<div class="features-grid">
300300
<div class="feature-card">
301-
<div class="feature-icon"></div>
301+
<div class="feature-icon">
302+
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polygon points="13 2 3 14 12 14 11 22 21 10 12 10 13 2"></polygon></svg>
303+
</div>
302304
<h3>Near-Zero Alloc Hot Path</h3>
303305
<p><strong>~141k req/sec</strong> — 55% faster than Bun. Built on fasthttp with direct <code>ctx.SetBody()</code> and pre-formatted headers — no formatting allocations on cache hits.</p>
304306
</div>
@@ -319,7 +321,7 @@ <h3>TLS 1.2 / 1.3</h3>
319321
</p>
320322
</div>
321323
<div class="feature-card">
322-
<div class="feature-icon">🛡️</div>
324+
<div class="feature-icon"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" style="display:inline-block; vertical-align:middle; margin-right:4px;"><path d="M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z"></path></svg></div>
323325
<h3>Security Hardened</h3>
324326
<p>
325327
Path traversal prevention, dotfile blocking, CSP, HSTS, Referrer-Policy, Permissions-Policy — set on
@@ -523,7 +525,7 @@ <h3>HTTP Request</h3>
523525
</svg>
524526
</div>
525527
<div class="pipeline-step">
526-
<div class="pipeline-icon">🛡️</div>
528+
<div class="pipeline-icon"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" style="display:inline-block; vertical-align:middle; margin-right:4px;"><path d="M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z"></path></svg></div>
527529
<div class="pipeline-info">
528530
<h3>Recovery Middleware</h3>
529531
<p>Panic → 500, log stack trace</p>
@@ -714,7 +716,7 @@ <h2 class="section-title" id="configuration-heading">Configuration Reference</h2
714716
aria-controls="cfg-panel-security"
715717
id="cfg-tab-security"
716718
>
717-
🛡️ security
719+
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" style="display:inline-block; vertical-align:middle; margin-right:4px;"><path d="M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z"></path></svg> security
718720
</button>
719721
</div>
720722

@@ -1030,7 +1032,7 @@ <h2 class="section-title" id="security-heading">Security Model</h2>
10301032
📋 Headers
10311033
</button>
10321034
<button class="tab-btn" role="tab" aria-selected="false" aria-controls="sec-panel-dos" id="sec-tab-dos">
1033-
🛡️ DoS
1035+
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" style="display:inline-block; vertical-align:middle; margin-right:4px;"><path d="M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z"></path></svg> DoS
10341036
</button>
10351037
<button class="tab-btn" role="tab" aria-selected="false" aria-controls="sec-panel-cors" id="sec-tab-cors">
10361038
🌐 CORS

docs/styles.css

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,24 +2,24 @@
22
CSS Variables & Design System
33
=========================== */
44
:root {
5-
--color-bg: #0a0a0f;
6-
--color-bg-secondary: #12121a;
7-
--color-bg-tertiary: #1a1a25;
8-
--color-text: #e4e4e7;
5+
--color-bg: #000000;
6+
--color-bg-secondary: #0a0a0a;
7+
--color-bg-tertiary: #111111;
8+
--color-text: #ededed;
99
--color-text-secondary: #a1a1aa;
1010
--color-text-muted: #71717a;
11-
--color-primary: #6366f1;
12-
--color-primary-light: #818cf8;
11+
--color-primary: #ffffff;
12+
--color-primary-light: #e4e4e7;
1313
--color-secondary: #8b5cf6;
1414
--color-accent: #22d3ee;
1515
--color-accent-green: #34d399;
1616
--color-border: #27272a;
1717
--color-border-light: #3f3f46;
18-
--gradient-primary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%);
18+
--gradient-primary: linear-gradient(135deg, #ffffff 0%, #a1a1aa 100%);
1919
--gradient-accent: linear-gradient(135deg, #22d3ee 0%, #34d399 100%);
20-
--gradient-glow: linear-gradient(135deg, rgba(99,102,241,0.3) 0%, rgba(139,92,246,0.3) 100%);
21-
--shadow-glow: 0 0 60px rgba(99,102,241,0.3);
22-
--font-sans: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
20+
--gradient-glow: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
21+
--shadow-glow: 0 0 60px rgba(255,255,255,0.05);
22+
--font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
2323
--font-mono: 'JetBrains Mono', 'Fira Code', monospace;
2424
--radius-sm: 6px;
2525
--radius-md: 12px;

0 commit comments

Comments
 (0)