Spaces:
Running
Running
Make this more responsive
Browse files- README.md +8 -5
- index.html +1916 -19
README.md
CHANGED
|
@@ -1,10 +1,13 @@
|
|
| 1 |
---
|
| 2 |
-
title:
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
|
|
|
|
|
|
| 8 |
---
|
| 9 |
|
| 10 |
-
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
title: FlashCode AI π
|
| 3 |
+
colorFrom: gray
|
| 4 |
+
colorTo: pink
|
| 5 |
+
emoji: π³
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
| 8 |
+
tags:
|
| 9 |
+
- deepsite-v3
|
| 10 |
---
|
| 11 |
|
| 12 |
+
# Welcome to your new DeepSite project!
|
| 13 |
+
This project was created with [DeepSite](https://huggingface.co/deepsite).
|
index.html
CHANGED
|
@@ -1,19 +1,1916 @@
|
|
| 1 |
-
<!
|
| 2 |
-
<html>
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 2 |
+
<html lang="en">
|
| 3 |
+
<head>
|
| 4 |
+
<meta charset="UTF-8" />
|
| 5 |
+
<title>FlashCode AI β Free & Fast AI Code Builder</title>
|
| 6 |
+
<meta name="viewport" content="width=device-width,initial-scale=1" />
|
| 7 |
+
<meta name="description" content="FlashCode AI is a free and blazing fast AI-powered code builder. Generate, refine, and deploy code in seconds." />
|
| 8 |
+
<style>
|
| 9 |
+
:root {
|
| 10 |
+
--bg: #030712;
|
| 11 |
+
--bg-elevated: rgba(15,23,42,0.8);
|
| 12 |
+
--bg-elevated-solid: #020617;
|
| 13 |
+
--accent: #38bdf8;
|
| 14 |
+
--accent-soft: rgba(56,189,248,0.2);
|
| 15 |
+
--accent-2: #22c55e;
|
| 16 |
+
--accent-3: #a855f7;
|
| 17 |
+
--text: #e5e7eb;
|
| 18 |
+
--muted: #9ca3af;
|
| 19 |
+
--border-subtle: rgba(148,163,184,0.3);
|
| 20 |
+
--radius-xl: 24px;
|
| 21 |
+
--shadow-soft: 0 24px 60px rgba(15,23,42,0.8);
|
| 22 |
+
--transition-fast: 180ms ease-out;
|
| 23 |
+
--nav-height: 72px;
|
| 24 |
+
}
|
| 25 |
+
* {
|
| 26 |
+
box-sizing: border-box;
|
| 27 |
+
margin: 0;
|
| 28 |
+
padding: 0;
|
| 29 |
+
}
|
| 30 |
+
html, body {
|
| 31 |
+
height: 100%;
|
| 32 |
+
scroll-behavior: smooth;
|
| 33 |
+
}
|
| 34 |
+
body {
|
| 35 |
+
font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", sans-serif;
|
| 36 |
+
background: radial-gradient(circle at top left, #0f172a 0, #020617 45%, #000 100%);
|
| 37 |
+
color: var(--text);
|
| 38 |
+
-webkit-font-smoothing: antialiased;
|
| 39 |
+
text-rendering: optimizeLegibility;
|
| 40 |
+
overflow-x: hidden;
|
| 41 |
+
}
|
| 42 |
+
img {
|
| 43 |
+
max-width: 100%;
|
| 44 |
+
display: block;
|
| 45 |
+
}
|
| 46 |
+
a {
|
| 47 |
+
color: inherit;
|
| 48 |
+
text-decoration: none;
|
| 49 |
+
}
|
| 50 |
+
button {
|
| 51 |
+
font-family: inherit;
|
| 52 |
+
}
|
| 53 |
+
|
| 54 |
+
/* Utilities */
|
| 55 |
+
.container {
|
| 56 |
+
max-width: 1120px;
|
| 57 |
+
margin: 0 auto;
|
| 58 |
+
padding: 0 16px;
|
| 59 |
+
}
|
| 60 |
+
.pill {
|
| 61 |
+
display: inline-flex;
|
| 62 |
+
align-items: center;
|
| 63 |
+
gap: 8px;
|
| 64 |
+
padding: 4px 12px;
|
| 65 |
+
border-radius: 999px;
|
| 66 |
+
border: 1px solid rgba(148,163,184,0.5);
|
| 67 |
+
background: rgba(15,23,42,0.85);
|
| 68 |
+
backdrop-filter: blur(18px);
|
| 69 |
+
font-size: 12px;
|
| 70 |
+
color: var(--muted);
|
| 71 |
+
}
|
| 72 |
+
.pill-dot {
|
| 73 |
+
width: 10px;
|
| 74 |
+
height: 10px;
|
| 75 |
+
border-radius: 999px;
|
| 76 |
+
background: radial-gradient(circle at 30% 30%, #f9fafb, #22c55e);
|
| 77 |
+
box-shadow: 0 0 12px rgba(34,197,94,0.9);
|
| 78 |
+
}
|
| 79 |
+
.badge-free {
|
| 80 |
+
padding: 3px 8px;
|
| 81 |
+
font-size: 11px;
|
| 82 |
+
border-radius: 999px;
|
| 83 |
+
background: rgba(34,197,94,0.12);
|
| 84 |
+
color: #bbf7d0;
|
| 85 |
+
border: 1px solid rgba(34,197,94,0.3);
|
| 86 |
+
}
|
| 87 |
+
|
| 88 |
+
/* Background effects */
|
| 89 |
+
.bg-orbit {
|
| 90 |
+
position: fixed;
|
| 91 |
+
inset: -200px -200px auto;
|
| 92 |
+
pointer-events: none;
|
| 93 |
+
z-index: -1;
|
| 94 |
+
background:
|
| 95 |
+
radial-gradient(circle at 10% 0, rgba(56,189,248,0.25), transparent 55%),
|
| 96 |
+
radial-gradient(circle at 80% 0, rgba(168,85,247,0.35), transparent 60%),
|
| 97 |
+
radial-gradient(circle at 50% 100%, rgba(34,197,94,0.25), transparent 60%);
|
| 98 |
+
opacity: 0.9;
|
| 99 |
+
}
|
| 100 |
+
.grid-overlay {
|
| 101 |
+
position: fixed;
|
| 102 |
+
inset: 0;
|
| 103 |
+
pointer-events: none;
|
| 104 |
+
background-image:
|
| 105 |
+
linear-gradient(rgba(15,23,42,0.45) 1px, transparent 1px),
|
| 106 |
+
linear-gradient(90deg, rgba(15,23,42,0.45) 1px, transparent 1px);
|
| 107 |
+
background-size: 60px 60px;
|
| 108 |
+
opacity: 0.25;
|
| 109 |
+
mask-image: radial-gradient(circle at center, black 0, transparent 70%);
|
| 110 |
+
-webkit-mask-image: radial-gradient(circle at center, black 0, transparent 70%);
|
| 111 |
+
z-index: -1;
|
| 112 |
+
}
|
| 113 |
+
|
| 114 |
+
/* Navigation */
|
| 115 |
+
.nav-wrapper {
|
| 116 |
+
position: sticky;
|
| 117 |
+
top: 0;
|
| 118 |
+
z-index: 40;
|
| 119 |
+
backdrop-filter: blur(18px);
|
| 120 |
+
background: linear-gradient(to bottom, rgba(15,23,42,0.92), rgba(15,23,42,0.7), transparent);
|
| 121 |
+
border-bottom: 1px solid rgba(15,23,42,0.8);
|
| 122 |
+
}
|
| 123 |
+
nav {
|
| 124 |
+
height: var(--nav-height);
|
| 125 |
+
display: flex;
|
| 126 |
+
align-items: center;
|
| 127 |
+
justify-content: space-between;
|
| 128 |
+
gap: 16px;
|
| 129 |
+
}
|
| 130 |
+
.nav-left {
|
| 131 |
+
display: flex;
|
| 132 |
+
align-items: center;
|
| 133 |
+
gap: 10px;
|
| 134 |
+
}
|
| 135 |
+
.logo-mark {
|
| 136 |
+
width: 30px;
|
| 137 |
+
height: 30px;
|
| 138 |
+
border-radius: 12px;
|
| 139 |
+
background: conic-gradient(from 210deg, #22c55e, #38bdf8, #a855f7, #22c55e);
|
| 140 |
+
display: inline-flex;
|
| 141 |
+
align-items: center;
|
| 142 |
+
justify-content: center;
|
| 143 |
+
box-shadow: 0 0 32px rgba(56,189,248,0.55);
|
| 144 |
+
position: relative;
|
| 145 |
+
overflow: hidden;
|
| 146 |
+
}
|
| 147 |
+
.logo-mark-inner {
|
| 148 |
+
width: 22px;
|
| 149 |
+
height: 22px;
|
| 150 |
+
border-radius: 9px;
|
| 151 |
+
background: radial-gradient(circle at 30% 30%, #0f172a, #020617);
|
| 152 |
+
display: flex;
|
| 153 |
+
align-items: center;
|
| 154 |
+
justify-content: center;
|
| 155 |
+
color: #e5e7eb;
|
| 156 |
+
font-size: 13px;
|
| 157 |
+
font-weight: 700;
|
| 158 |
+
letter-spacing: 0.05em;
|
| 159 |
+
}
|
| 160 |
+
.logo-text {
|
| 161 |
+
display: flex;
|
| 162 |
+
flex-direction: column;
|
| 163 |
+
gap: 2px;
|
| 164 |
+
}
|
| 165 |
+
.logo-title {
|
| 166 |
+
font-weight: 600;
|
| 167 |
+
font-size: 16px;
|
| 168 |
+
letter-spacing: 0.06em;
|
| 169 |
+
text-transform: uppercase;
|
| 170 |
+
}
|
| 171 |
+
.logo-subtitle {
|
| 172 |
+
font-size: 11px;
|
| 173 |
+
text-transform: uppercase;
|
| 174 |
+
letter-spacing: 0.12em;
|
| 175 |
+
color: var(--muted);
|
| 176 |
+
}
|
| 177 |
+
.nav-links {
|
| 178 |
+
display: flex;
|
| 179 |
+
align-items: center;
|
| 180 |
+
gap: 18px;
|
| 181 |
+
font-size: 14px;
|
| 182 |
+
color: var(--muted);
|
| 183 |
+
}
|
| 184 |
+
.nav-links a {
|
| 185 |
+
position: relative;
|
| 186 |
+
padding: 4px 0;
|
| 187 |
+
transition: color var(--transition-fast);
|
| 188 |
+
}
|
| 189 |
+
.nav-links a::after {
|
| 190 |
+
content: "";
|
| 191 |
+
position: absolute;
|
| 192 |
+
left: 0;
|
| 193 |
+
bottom: -3px;
|
| 194 |
+
width: 0;
|
| 195 |
+
height: 2px;
|
| 196 |
+
border-radius: 999px;
|
| 197 |
+
background: linear-gradient(90deg, #38bdf8, #22c55e);
|
| 198 |
+
transition: width var(--transition-fast);
|
| 199 |
+
}
|
| 200 |
+
.nav-links a:hover {
|
| 201 |
+
color: #e5e7eb;
|
| 202 |
+
}
|
| 203 |
+
.nav-links a:hover::after {
|
| 204 |
+
width: 100%;
|
| 205 |
+
}
|
| 206 |
+
.nav-cta {
|
| 207 |
+
display: flex;
|
| 208 |
+
align-items: center;
|
| 209 |
+
gap: 12px;
|
| 210 |
+
}
|
| 211 |
+
.nav-cta button {
|
| 212 |
+
border-radius: 999px;
|
| 213 |
+
border: none;
|
| 214 |
+
cursor: pointer;
|
| 215 |
+
transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast), color var(--transition-fast);
|
| 216 |
+
}
|
| 217 |
+
.btn-ghost {
|
| 218 |
+
padding: 8px 14px;
|
| 219 |
+
font-size: 13px;
|
| 220 |
+
background: transparent;
|
| 221 |
+
color: var(--muted);
|
| 222 |
+
}
|
| 223 |
+
.btn-ghost:hover {
|
| 224 |
+
color: #e5e7eb;
|
| 225 |
+
transform: translateY(-1px);
|
| 226 |
+
}
|
| 227 |
+
.btn-primary {
|
| 228 |
+
padding: 9px 18px;
|
| 229 |
+
background: linear-gradient(135deg, #38bdf8, #22c55e);
|
| 230 |
+
color: #0b1120;
|
| 231 |
+
font-weight: 600;
|
| 232 |
+
font-size: 13px;
|
| 233 |
+
box-shadow: 0 12px 30px rgba(56,189,248,0.45);
|
| 234 |
+
display: inline-flex;
|
| 235 |
+
align-items: center;
|
| 236 |
+
gap: 8px;
|
| 237 |
+
}
|
| 238 |
+
.btn-primary:hover {
|
| 239 |
+
transform: translateY(-1px) translateZ(0);
|
| 240 |
+
box-shadow: 0 18px 40px rgba(56,189,248,0.7);
|
| 241 |
+
}
|
| 242 |
+
.btn-primary span.icon {
|
| 243 |
+
width: 18px;
|
| 244 |
+
height: 18px;
|
| 245 |
+
border-radius: 999px;
|
| 246 |
+
background: rgba(15,23,42,0.9);
|
| 247 |
+
display: inline-flex;
|
| 248 |
+
align-items: center;
|
| 249 |
+
justify-content: center;
|
| 250 |
+
color: #e5e7eb;
|
| 251 |
+
font-size: 11px;
|
| 252 |
+
}
|
| 253 |
+
.burger {
|
| 254 |
+
display: none;
|
| 255 |
+
width: 34px;
|
| 256 |
+
height: 34px;
|
| 257 |
+
border-radius: 999px;
|
| 258 |
+
border: 1px solid rgba(148,163,184,0.5);
|
| 259 |
+
background: rgba(15,23,42,0.85);
|
| 260 |
+
cursor: pointer;
|
| 261 |
+
align-items: center;
|
| 262 |
+
justify-content: center;
|
| 263 |
+
flex-direction: column;
|
| 264 |
+
gap: 4px;
|
| 265 |
+
}
|
| 266 |
+
.burger span {
|
| 267 |
+
display: block;
|
| 268 |
+
width: 16px;
|
| 269 |
+
height: 2px;
|
| 270 |
+
border-radius: 999px;
|
| 271 |
+
background: #e5e7eb;
|
| 272 |
+
transition: transform 160ms ease, opacity 160ms ease;
|
| 273 |
+
}
|
| 274 |
+
.burger.open span:nth-child(1) {
|
| 275 |
+
transform: translateY(3px) rotate(45deg);
|
| 276 |
+
}
|
| 277 |
+
.burger.open span:nth-child(2) {
|
| 278 |
+
transform: translateY(-3px) rotate(-45deg);
|
| 279 |
+
}
|
| 280 |
+
|
| 281 |
+
/* Mobile nav dropdown */
|
| 282 |
+
.mobile-nav {
|
| 283 |
+
display: none;
|
| 284 |
+
border-top: 1px solid rgba(30,64,175,0.5);
|
| 285 |
+
background: radial-gradient(circle at top, rgba(15,23,42,0.98), rgba(15,23,42,0.96));
|
| 286 |
+
backdrop-filter: blur(14px);
|
| 287 |
+
padding: 10px 0 14px;
|
| 288 |
+
}
|
| 289 |
+
.mobile-nav a {
|
| 290 |
+
display: block;
|
| 291 |
+
padding: 8px 4px;
|
| 292 |
+
font-size: 14px;
|
| 293 |
+
color: var(--muted);
|
| 294 |
+
}
|
| 295 |
+
.mobile-nav a:hover {
|
| 296 |
+
color: #e5e7eb;
|
| 297 |
+
}
|
| 298 |
+
.mobile-nav .btn-primary {
|
| 299 |
+
width: 100%;
|
| 300 |
+
justify-content: center;
|
| 301 |
+
margin-top: 6px;
|
| 302 |
+
}
|
| 303 |
+
|
| 304 |
+
/* Hero */
|
| 305 |
+
main {
|
| 306 |
+
padding: 24px 0 64px;
|
| 307 |
+
}
|
| 308 |
+
.hero {
|
| 309 |
+
padding: 12px 0 64px;
|
| 310 |
+
display: grid;
|
| 311 |
+
grid-template-columns: minmax(0, 3fr) minmax(0, 4fr);
|
| 312 |
+
gap: 40px;
|
| 313 |
+
align-items: center;
|
| 314 |
+
}
|
| 315 |
+
.hero-left {
|
| 316 |
+
display: flex;
|
| 317 |
+
flex-direction: column;
|
| 318 |
+
gap: 22px;
|
| 319 |
+
}
|
| 320 |
+
.hero-heading {
|
| 321 |
+
font-size: clamp(32px, 4vw, 44px);
|
| 322 |
+
line-height: 1.05;
|
| 323 |
+
letter-spacing: -0.03em;
|
| 324 |
+
}
|
| 325 |
+
.hero-heading span.gradient {
|
| 326 |
+
background: linear-gradient(120deg, #38bdf8, #22c55e, #a855f7);
|
| 327 |
+
-webkit-background-clip: text;
|
| 328 |
+
background-clip: text;
|
| 329 |
+
color: transparent;
|
| 330 |
+
}
|
| 331 |
+
.hero-subtitle {
|
| 332 |
+
color: var(--muted);
|
| 333 |
+
font-size: 15px;
|
| 334 |
+
line-height: 1.6;
|
| 335 |
+
max-width: 480px;
|
| 336 |
+
}
|
| 337 |
+
.hero-subtitle strong {
|
| 338 |
+
color: #e5e7eb;
|
| 339 |
+
font-weight: 500;
|
| 340 |
+
}
|
| 341 |
+
.hero-cta-row {
|
| 342 |
+
display: flex;
|
| 343 |
+
align-items: center;
|
| 344 |
+
gap: 16px;
|
| 345 |
+
flex-wrap: wrap;
|
| 346 |
+
}
|
| 347 |
+
.btn-secondary {
|
| 348 |
+
padding: 9px 16px;
|
| 349 |
+
border-radius: 999px;
|
| 350 |
+
border: 1px solid rgba(148,163,184,0.6);
|
| 351 |
+
background: rgba(15,23,42,0.9);
|
| 352 |
+
color: var(--muted);
|
| 353 |
+
font-size: 13px;
|
| 354 |
+
display: inline-flex;
|
| 355 |
+
align-items: center;
|
| 356 |
+
gap: 8px;
|
| 357 |
+
cursor: pointer;
|
| 358 |
+
transition: border-color var(--transition-fast), color var(--transition-fast), background var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
|
| 359 |
+
}
|
| 360 |
+
.btn-secondary:hover {
|
| 361 |
+
color: #e5e7eb;
|
| 362 |
+
border-color: rgba(148,163,184,1);
|
| 363 |
+
background: rgba(15,23,42,1);
|
| 364 |
+
transform: translateY(-1px);
|
| 365 |
+
box-shadow: 0 14px 30px rgba(15,23,42,0.65);
|
| 366 |
+
}
|
| 367 |
+
.btn-secondary .play-icon {
|
| 368 |
+
width: 22px;
|
| 369 |
+
height: 22px;
|
| 370 |
+
border-radius: 999px;
|
| 371 |
+
background: radial-gradient(circle at 30% 30%, #0f172a, #020617);
|
| 372 |
+
border: 1px solid rgba(148,163,184,0.6);
|
| 373 |
+
display: inline-flex;
|
| 374 |
+
align-items: center;
|
| 375 |
+
justify-content: center;
|
| 376 |
+
color: var(--muted);
|
| 377 |
+
font-size: 11px;
|
| 378 |
+
}
|
| 379 |
+
.hero-meta {
|
| 380 |
+
display: flex;
|
| 381 |
+
flex-wrap: wrap;
|
| 382 |
+
gap: 20px;
|
| 383 |
+
align-items: center;
|
| 384 |
+
margin-top: 8px;
|
| 385 |
+
}
|
| 386 |
+
.hero-meta-count {
|
| 387 |
+
display: flex;
|
| 388 |
+
align-items: baseline;
|
| 389 |
+
gap: 6px;
|
| 390 |
+
font-size: 13px;
|
| 391 |
+
color: var(--muted);
|
| 392 |
+
}
|
| 393 |
+
.hero-meta-count span.num {
|
| 394 |
+
color: #e5e7eb;
|
| 395 |
+
font-size: 18px;
|
| 396 |
+
font-weight: 600;
|
| 397 |
+
}
|
| 398 |
+
.hero-meta-count span.dot {
|
| 399 |
+
width: 4px;
|
| 400 |
+
height: 4px;
|
| 401 |
+
border-radius: 999px;
|
| 402 |
+
background: rgba(148,163,184,0.6);
|
| 403 |
+
margin: 0 6px;
|
| 404 |
+
}
|
| 405 |
+
.hero-meta-badges {
|
| 406 |
+
display: inline-flex;
|
| 407 |
+
align-items: center;
|
| 408 |
+
gap: 10px;
|
| 409 |
+
flex-wrap: wrap;
|
| 410 |
+
font-size: 11px;
|
| 411 |
+
color: var(--muted);
|
| 412 |
+
}
|
| 413 |
+
.hero-meta-badges span {
|
| 414 |
+
display: inline-flex;
|
| 415 |
+
align-items: center;
|
| 416 |
+
gap: 5px;
|
| 417 |
+
padding: 4px 8px;
|
| 418 |
+
border-radius: 999px;
|
| 419 |
+
border: 1px solid rgba(148,163,184,0.4);
|
| 420 |
+
background: rgba(15,23,42,0.8);
|
| 421 |
+
}
|
| 422 |
+
|
| 423 |
+
/* Hero right: playground */
|
| 424 |
+
.hero-right {
|
| 425 |
+
position: relative;
|
| 426 |
+
}
|
| 427 |
+
.hero-card {
|
| 428 |
+
position: relative;
|
| 429 |
+
border-radius: var(--radius-xl);
|
| 430 |
+
border: 1px solid rgba(148,163,184,0.4);
|
| 431 |
+
background: radial-gradient(circle at top left, rgba(15,23,42,0.95), rgba(15,23,42,0.9));
|
| 432 |
+
backdrop-filter: blur(18px);
|
| 433 |
+
box-shadow: var(--shadow-soft);
|
| 434 |
+
padding: 16px 16px 14px;
|
| 435 |
+
overflow: hidden;
|
| 436 |
+
}
|
| 437 |
+
.hero-card::before {
|
| 438 |
+
content: "";
|
| 439 |
+
position: absolute;
|
| 440 |
+
inset: -60%;
|
| 441 |
+
background: conic-gradient(from 220deg, rgba(56,189,248,0.08), rgba(129,140,248,0.1), rgba(22,163,74,0.08), transparent 70%);
|
| 442 |
+
opacity: 0.8;
|
| 443 |
+
filter: blur(40px);
|
| 444 |
+
pointer-events: none;
|
| 445 |
+
mix-blend-mode: screen;
|
| 446 |
+
}
|
| 447 |
+
.hero-card-inner {
|
| 448 |
+
position: relative;
|
| 449 |
+
border-radius: 18px;
|
| 450 |
+
border: 1px solid rgba(30,64,175,0.7);
|
| 451 |
+
background: radial-gradient(circle at 0 0, rgba(15,23,42,0.96), rgba(2,6,23,0.98));
|
| 452 |
+
overflow: hidden;
|
| 453 |
+
}
|
| 454 |
+
.hero-card-header {
|
| 455 |
+
display: flex;
|
| 456 |
+
align-items: center;
|
| 457 |
+
justify-content: space-between;
|
| 458 |
+
padding: 8px 10px 8px 12px;
|
| 459 |
+
border-bottom: 1px solid rgba(30,64,175,0.7);
|
| 460 |
+
background: linear-gradient(to right, rgba(15,23,42,0.95), rgba(15,23,42,0.9));
|
| 461 |
+
}
|
| 462 |
+
.window-dots {
|
| 463 |
+
display: flex;
|
| 464 |
+
gap: 6px;
|
| 465 |
+
}
|
| 466 |
+
.window-dot {
|
| 467 |
+
width: 8px;
|
| 468 |
+
height: 8px;
|
| 469 |
+
border-radius: 999px;
|
| 470 |
+
background: #1f2937;
|
| 471 |
+
}
|
| 472 |
+
.window-dot.red { background: #f97373; }
|
| 473 |
+
.window-dot.yellow { background: #fbbf24; }
|
| 474 |
+
.window-dot.green { background: #22c55e; }
|
| 475 |
+
.hero-card-title {
|
| 476 |
+
font-size: 12px;
|
| 477 |
+
color: var(--muted);
|
| 478 |
+
display: flex;
|
| 479 |
+
align-items: center;
|
| 480 |
+
gap: 6px;
|
| 481 |
+
}
|
| 482 |
+
.hero-card-title span.status {
|
| 483 |
+
padding: 2px 6px;
|
| 484 |
+
border-radius: 999px;
|
| 485 |
+
border: 1px solid rgba(34,197,94,0.4);
|
| 486 |
+
background: rgba(22,163,74,0.25);
|
| 487 |
+
color: #bbf7d0;
|
| 488 |
+
font-size: 10px;
|
| 489 |
+
text-transform: uppercase;
|
| 490 |
+
letter-spacing: 0.08em;
|
| 491 |
+
}
|
| 492 |
+
.hero-card-tabs {
|
| 493 |
+
display: flex;
|
| 494 |
+
align-items: center;
|
| 495 |
+
gap: 6px;
|
| 496 |
+
padding: 7px 10px;
|
| 497 |
+
border-bottom: 1px solid rgba(15,23,42,0.9);
|
| 498 |
+
background: radial-gradient(circle at 0 0, rgba(15,23,42,0.92), rgba(15,23,42,0.9));
|
| 499 |
+
}
|
| 500 |
+
.hero-tab {
|
| 501 |
+
font-size: 11px;
|
| 502 |
+
padding: 4px 9px;
|
| 503 |
+
border-radius: 999px;
|
| 504 |
+
border: 1px solid transparent;
|
| 505 |
+
color: var(--muted);
|
| 506 |
+
cursor: pointer;
|
| 507 |
+
display: inline-flex;
|
| 508 |
+
align-items: center;
|
| 509 |
+
gap: 6px;
|
| 510 |
+
transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
|
| 511 |
+
}
|
| 512 |
+
.hero-tab.active {
|
| 513 |
+
background: radial-gradient(circle at 30% 0, rgba(56,189,248,0.15), rgba(56,189,248,0.03));
|
| 514 |
+
border-color: rgba(56,189,248,0.6);
|
| 515 |
+
color: #e5e7eb;
|
| 516 |
+
transform: translateY(-1px);
|
| 517 |
+
}
|
| 518 |
+
.hero-tab span.dot {
|
| 519 |
+
width: 6px;
|
| 520 |
+
height: 6px;
|
| 521 |
+
border-radius: 999px;
|
| 522 |
+
background: rgba(148,163,184,0.7);
|
| 523 |
+
}
|
| 524 |
+
.hero-tab.active span.dot {
|
| 525 |
+
background: var(--accent);
|
| 526 |
+
box-shadow: 0 0 6px rgba(56,189,248,0.9);
|
| 527 |
+
}
|
| 528 |
+
.hero-card-body {
|
| 529 |
+
display: grid;
|
| 530 |
+
grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
|
| 531 |
+
min-height: 240px;
|
| 532 |
+
border-top: 1px solid rgba(15,23,42,0.9);
|
| 533 |
+
}
|
| 534 |
+
.hero-prompt {
|
| 535 |
+
padding: 10px 12px;
|
| 536 |
+
border-right: 1px solid rgba(15,23,42,0.9);
|
| 537 |
+
display: flex;
|
| 538 |
+
flex-direction: column;
|
| 539 |
+
gap: 10px;
|
| 540 |
+
}
|
| 541 |
+
.prompt-label {
|
| 542 |
+
font-size: 11px;
|
| 543 |
+
color: var(--muted);
|
| 544 |
+
text-transform: uppercase;
|
| 545 |
+
letter-spacing: 0.15em;
|
| 546 |
+
}
|
| 547 |
+
.prompt-input-wrap {
|
| 548 |
+
position: relative;
|
| 549 |
+
border-radius: 12px;
|
| 550 |
+
border: 1px solid rgba(51,65,85,0.9);
|
| 551 |
+
background: radial-gradient(circle at 0 0, rgba(15,23,42,0.98), rgba(15,23,42,0.98));
|
| 552 |
+
overflow: hidden;
|
| 553 |
+
}
|
| 554 |
+
.prompt-textarea {
|
| 555 |
+
width: 100%;
|
| 556 |
+
border: none;
|
| 557 |
+
outline: none;
|
| 558 |
+
background: transparent;
|
| 559 |
+
color: var(--text);
|
| 560 |
+
font-size: 12px;
|
| 561 |
+
line-height: 1.5;
|
| 562 |
+
padding: 9px 10px 32px;
|
| 563 |
+
resize: none;
|
| 564 |
+
min-height: 82px;
|
| 565 |
+
}
|
| 566 |
+
.prompt-footer {
|
| 567 |
+
position: absolute;
|
| 568 |
+
inset-inline: 7px;
|
| 569 |
+
bottom: 6px;
|
| 570 |
+
display: flex;
|
| 571 |
+
justify-content: space-between;
|
| 572 |
+
align-items: center;
|
| 573 |
+
font-size: 11px;
|
| 574 |
+
color: var(--muted);
|
| 575 |
+
}
|
| 576 |
+
.prompt-shortcuts {
|
| 577 |
+
display: flex;
|
| 578 |
+
align-items: center;
|
| 579 |
+
gap: 8px;
|
| 580 |
+
}
|
| 581 |
+
.kbd {
|
| 582 |
+
padding: 1px 5px;
|
| 583 |
+
border-radius: 6px;
|
| 584 |
+
border: 1px solid rgba(51,65,85,0.9);
|
| 585 |
+
background: rgba(15,23,42,0.9);
|
| 586 |
+
font-size: 10px;
|
| 587 |
+
}
|
| 588 |
+
.hero-run-row {
|
| 589 |
+
display: flex;
|
| 590 |
+
align-items: center;
|
| 591 |
+
justify-content: space-between;
|
| 592 |
+
gap: 10px;
|
| 593 |
+
margin-top: 6px;
|
| 594 |
+
}
|
| 595 |
+
.hero-run-row small {
|
| 596 |
+
font-size: 11px;
|
| 597 |
+
color: var(--muted);
|
| 598 |
+
}
|
| 599 |
+
.badge-speed {
|
| 600 |
+
display: inline-flex;
|
| 601 |
+
align-items: center;
|
| 602 |
+
gap: 6px;
|
| 603 |
+
padding: 3px 8px;
|
| 604 |
+
border-radius: 999px;
|
| 605 |
+
border: 1px solid rgba(56,189,248,0.6);
|
| 606 |
+
background: rgba(8,47,73,0.6);
|
| 607 |
+
color: #e0f2fe;
|
| 608 |
+
font-size: 10px;
|
| 609 |
+
}
|
| 610 |
+
.badge-speed span.spark {
|
| 611 |
+
width: 14px;
|
| 612 |
+
height: 14px;
|
| 613 |
+
border-radius: 999px;
|
| 614 |
+
background: radial-gradient(circle at 30% 30%, #e0f2fe, #0369a1);
|
| 615 |
+
display: inline-flex;
|
| 616 |
+
align-items: center;
|
| 617 |
+
justify-content: center;
|
| 618 |
+
font-size: 9px;
|
| 619 |
+
}
|
| 620 |
+
.run-button {
|
| 621 |
+
margin-left: auto;
|
| 622 |
+
display: inline-flex;
|
| 623 |
+
align-items: center;
|
| 624 |
+
gap: 7px;
|
| 625 |
+
padding: 6px 12px;
|
| 626 |
+
border-radius: 999px;
|
| 627 |
+
border: none;
|
| 628 |
+
cursor: pointer;
|
| 629 |
+
background: linear-gradient(120deg, #38bdf8, #22c55e);
|
| 630 |
+
color: #0b1120;
|
| 631 |
+
font-size: 12px;
|
| 632 |
+
font-weight: 600;
|
| 633 |
+
box-shadow: 0 10px 24px rgba(56,189,248,0.6);
|
| 634 |
+
transition: transform var(--transition-fast), box-shadow var(--transition-fast), filter var(--transition-fast);
|
| 635 |
+
}
|
| 636 |
+
.run-button:hover {
|
| 637 |
+
transform: translateY(-1px);
|
| 638 |
+
box-shadow: 0 16px 32px rgba(56,189,248,0.75);
|
| 639 |
+
filter: brightness(1.04);
|
| 640 |
+
}
|
| 641 |
+
.run-button span.icon {
|
| 642 |
+
width: 18px;
|
| 643 |
+
height: 18px;
|
| 644 |
+
border-radius: 999px;
|
| 645 |
+
background: rgba(15,23,42,0.92);
|
| 646 |
+
display: inline-flex;
|
| 647 |
+
align-items: center;
|
| 648 |
+
justify-content: center;
|
| 649 |
+
font-size: 11px;
|
| 650 |
+
color: #e5e7eb;
|
| 651 |
+
}
|
| 652 |
+
.hero-output {
|
| 653 |
+
padding: 10px 10px 10px 10px;
|
| 654 |
+
display: flex;
|
| 655 |
+
flex-direction: column;
|
| 656 |
+
border-left: 1px solid rgba(15,23,42,0.9);
|
| 657 |
+
background: radial-gradient(circle at 100% 0, rgba(8,47,73,0.5), rgba(15,23,42,0.98));
|
| 658 |
+
}
|
| 659 |
+
.output-header {
|
| 660 |
+
display: flex;
|
| 661 |
+
align-items: center;
|
| 662 |
+
justify-content: space-between;
|
| 663 |
+
font-size: 11px;
|
| 664 |
+
color: var(--muted);
|
| 665 |
+
margin-bottom: 4px;
|
| 666 |
+
}
|
| 667 |
+
.output-header span.status-badge {
|
| 668 |
+
padding: 3px 8px;
|
| 669 |
+
border-radius: 999px;
|
| 670 |
+
background: rgba(15,23,42,0.9);
|
| 671 |
+
border: 1px solid rgba(148,163,184,0.5);
|
| 672 |
+
font-size: 10px;
|
| 673 |
+
display: inline-flex;
|
| 674 |
+
align-items: center;
|
| 675 |
+
gap: 5px;
|
| 676 |
+
}
|
| 677 |
+
.output-header span.status-dot {
|
| 678 |
+
width: 6px;
|
| 679 |
+
height: 6px;
|
| 680 |
+
border-radius: 999px;
|
| 681 |
+
background: #22c55e;
|
| 682 |
+
box-shadow: 0 0 8px rgba(34,197,94,0.9);
|
| 683 |
+
}
|
| 684 |
+
.output-console {
|
| 685 |
+
flex: 1;
|
| 686 |
+
border-radius: 12px;
|
| 687 |
+
border: 1px solid rgba(15,23,42,0.9);
|
| 688 |
+
background: radial-gradient(circle at 0 0, #020617, #020617);
|
| 689 |
+
padding: 8px;
|
| 690 |
+
font-family: "SF Mono", ui-monospace, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
|
| 691 |
+
font-size: 11px;
|
| 692 |
+
color: #e5e7eb;
|
| 693 |
+
position: relative;
|
| 694 |
+
overflow: hidden;
|
| 695 |
+
}
|
| 696 |
+
.output-console pre {
|
| 697 |
+
margin: 0;
|
| 698 |
+
white-space: pre-wrap;
|
| 699 |
+
word-break: break-word;
|
| 700 |
+
}
|
| 701 |
+
.caret {
|
| 702 |
+
display: inline-block;
|
| 703 |
+
width: 8px;
|
| 704 |
+
height: 14px;
|
| 705 |
+
background: linear-gradient(180deg, #e5e7eb, #bae6fd);
|
| 706 |
+
margin-left: 2px;
|
| 707 |
+
border-radius: 2px;
|
| 708 |
+
animation: pulseCaret 1s infinite alternate;
|
| 709 |
+
}
|
| 710 |
+
@keyframes pulseCaret {
|
| 711 |
+
from { opacity: 0.2; transform: translateY(0); }
|
| 712 |
+
to { opacity: 1; transform: translateY(-0.5px); }
|
| 713 |
+
}
|
| 714 |
+
.output-stats {
|
| 715 |
+
margin-top: 6px;
|
| 716 |
+
display: flex;
|
| 717 |
+
justify-content: space-between;
|
| 718 |
+
align-items: center;
|
| 719 |
+
font-size: 10px;
|
| 720 |
+
color: var(--muted);
|
| 721 |
+
}
|
| 722 |
+
.output-stats span.time {
|
| 723 |
+
color: #a5b4fc;
|
| 724 |
+
}
|
| 725 |
+
.output-stats span.tokens {
|
| 726 |
+
color: #22c55e;
|
| 727 |
+
}
|
| 728 |
+
.output-stats span.speed {
|
| 729 |
+
color: #38bdf8;
|
| 730 |
+
}
|
| 731 |
+
|
| 732 |
+
/* Ad blocks */
|
| 733 |
+
.ad-tag {
|
| 734 |
+
font-size: 9px;
|
| 735 |
+
letter-spacing: 0.16em;
|
| 736 |
+
text-transform: uppercase;
|
| 737 |
+
color: rgba(148,163,184,0.8);
|
| 738 |
+
display: inline-flex;
|
| 739 |
+
align-items: center;
|
| 740 |
+
gap: 5px;
|
| 741 |
+
}
|
| 742 |
+
.ad-tag::before {
|
| 743 |
+
content: "Ad";
|
| 744 |
+
padding: 2px 6px;
|
| 745 |
+
border-radius: 999px;
|
| 746 |
+
border: 1px solid rgba(148,163,184,0.7);
|
| 747 |
+
color: #e5e7eb;
|
| 748 |
+
font-size: 8px;
|
| 749 |
+
text-transform: uppercase;
|
| 750 |
+
letter-spacing: 0.16em;
|
| 751 |
+
}
|
| 752 |
+
.hero-ad-banner {
|
| 753 |
+
margin-top: 12px;
|
| 754 |
+
border-radius: 16px;
|
| 755 |
+
border: 1px dashed rgba(148,163,184,0.5);
|
| 756 |
+
background: radial-gradient(circle at 0 0, rgba(30,64,175,0.7), rgba(15,23,42,0.95));
|
| 757 |
+
padding: 8px 12px;
|
| 758 |
+
display: flex;
|
| 759 |
+
align-items: center;
|
| 760 |
+
justify-content: space-between;
|
| 761 |
+
gap: 10px;
|
| 762 |
+
}
|
| 763 |
+
.hero-ad-banner-main {
|
| 764 |
+
display: flex;
|
| 765 |
+
align-items: center;
|
| 766 |
+
gap: 10px;
|
| 767 |
+
}
|
| 768 |
+
.hero-ad-icon {
|
| 769 |
+
width: 26px;
|
| 770 |
+
height: 26px;
|
| 771 |
+
border-radius: 999px;
|
| 772 |
+
background: radial-gradient(circle at 30% 30%, #1d4ed8, #0f172a);
|
| 773 |
+
display: inline-flex;
|
| 774 |
+
align-items: center;
|
| 775 |
+
justify-content: center;
|
| 776 |
+
color: #e5e7eb;
|
| 777 |
+
font-size: 14px;
|
| 778 |
+
box-shadow: 0 0 18px rgba(59,130,246,0.7);
|
| 779 |
+
}
|
| 780 |
+
.hero-ad-text {
|
| 781 |
+
display: flex;
|
| 782 |
+
flex-direction: column;
|
| 783 |
+
gap: 1px;
|
| 784 |
+
}
|
| 785 |
+
.hero-ad-text strong {
|
| 786 |
+
font-size: 12px;
|
| 787 |
+
}
|
| 788 |
+
.hero-ad-text span {
|
| 789 |
+
font-size: 11px;
|
| 790 |
+
color: #cbd5f5;
|
| 791 |
+
}
|
| 792 |
+
.hero-ad-cta {
|
| 793 |
+
padding: 5px 10px;
|
| 794 |
+
border-radius: 999px;
|
| 795 |
+
border: 1px solid rgba(191,219,254,0.8);
|
| 796 |
+
background: rgba(15,23,42,0.2);
|
| 797 |
+
color: #dbeafe;
|
| 798 |
+
font-size: 10px;
|
| 799 |
+
display: inline-flex;
|
| 800 |
+
align-items: center;
|
| 801 |
+
gap: 5px;
|
| 802 |
+
cursor: pointer;
|
| 803 |
+
white-space: nowrap;
|
| 804 |
+
transition: background var(--transition-fast), transform var(--transition-fast);
|
| 805 |
+
}
|
| 806 |
+
.hero-ad-cta:hover {
|
| 807 |
+
background: rgba(30,64,175,0.7);
|
| 808 |
+
transform: translateY(-1px);
|
| 809 |
+
}
|
| 810 |
+
|
| 811 |
+
.mid-page-ad {
|
| 812 |
+
margin: 40px 0 10px;
|
| 813 |
+
border-radius: 20px;
|
| 814 |
+
border: 1px dashed rgba(148,163,184,0.45);
|
| 815 |
+
background: radial-gradient(circle at 100% 0, rgba(56,189,248,0.24), rgba(15,23,42,0.98));
|
| 816 |
+
padding: 14px 16px;
|
| 817 |
+
display: grid;
|
| 818 |
+
grid-template-columns: minmax(0, 3.2fr) minmax(0, 2.5fr);
|
| 819 |
+
gap: 16px;
|
| 820 |
+
align-items: center;
|
| 821 |
+
}
|
| 822 |
+
.mid-ad-title {
|
| 823 |
+
font-size: 14px;
|
| 824 |
+
font-weight: 500;
|
| 825 |
+
margin-bottom: 4px;
|
| 826 |
+
}
|
| 827 |
+
.mid-ad-copy {
|
| 828 |
+
font-size: 12px;
|
| 829 |
+
color: #e5e7eb;
|
| 830 |
+
max-width: 420px;
|
| 831 |
+
}
|
| 832 |
+
.mid-ad-copy span.highlight {
|
| 833 |
+
color: #a5b4fc;
|
| 834 |
+
}
|
| 835 |
+
.mid-ad-logos {
|
| 836 |
+
display: flex;
|
| 837 |
+
flex-wrap: wrap;
|
| 838 |
+
gap: 10px;
|
| 839 |
+
margin-top: 8px;
|
| 840 |
+
}
|
| 841 |
+
.mid-ad-logo-pill {
|
| 842 |
+
padding: 4px 9px;
|
| 843 |
+
border-radius: 999px;
|
| 844 |
+
border: 1px solid rgba(148,163,184,0.6);
|
| 845 |
+
font-size: 10px;
|
| 846 |
+
color: #e5e7eb;
|
| 847 |
+
display: inline-flex;
|
| 848 |
+
align-items: center;
|
| 849 |
+
gap: 6px;
|
| 850 |
+
background: rgba(15,23,42,0.9);
|
| 851 |
+
}
|
| 852 |
+
.mid-ad-logo-pill span.dot {
|
| 853 |
+
width: 7px;
|
| 854 |
+
height: 7px;
|
| 855 |
+
border-radius: 999px;
|
| 856 |
+
background: radial-gradient(circle at 30% 30%, #e5e7eb, #60a5fa);
|
| 857 |
+
}
|
| 858 |
+
.mid-ad-right {
|
| 859 |
+
display: flex;
|
| 860 |
+
flex-direction: column;
|
| 861 |
+
gap: 8px;
|
| 862 |
+
align-items: flex-start;
|
| 863 |
+
}
|
| 864 |
+
.mid-ad-save {
|
| 865 |
+
font-size: 11px;
|
| 866 |
+
color: #bbf7d0;
|
| 867 |
+
display: inline-flex;
|
| 868 |
+
align-items: center;
|
| 869 |
+
gap: 6px;
|
| 870 |
+
}
|
| 871 |
+
.mid-ad-save span.badge {
|
| 872 |
+
padding: 2px 7px;
|
| 873 |
+
border-radius: 999px;
|
| 874 |
+
border: 1px solid rgba(74,222,128,0.7);
|
| 875 |
+
background: rgba(22,163,74,0.25);
|
| 876 |
+
font-size: 10px;
|
| 877 |
+
text-transform: uppercase;
|
| 878 |
+
letter-spacing: 0.12em;
|
| 879 |
+
}
|
| 880 |
+
.mid-ad-button {
|
| 881 |
+
padding: 6px 12px;
|
| 882 |
+
border-radius: 999px;
|
| 883 |
+
border: 1px solid rgba(56,189,248,0.8);
|
| 884 |
+
background: linear-gradient(135deg, rgba(30,64,175,0.9), rgba(15,23,42,0.95));
|
| 885 |
+
color: #e5e7eb;
|
| 886 |
+
font-size: 11px;
|
| 887 |
+
cursor: pointer;
|
| 888 |
+
display: inline-flex;
|
| 889 |
+
align-items: center;
|
| 890 |
+
gap: 6px;
|
| 891 |
+
box-shadow: 0 12px 26px rgba(15,23,42,0.9);
|
| 892 |
+
transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
|
| 893 |
+
}
|
| 894 |
+
.mid-ad-button:hover {
|
| 895 |
+
transform: translateY(-1px);
|
| 896 |
+
box-shadow: 0 18px 32px rgba(15,23,42,0.95);
|
| 897 |
+
background: linear-gradient(135deg, rgba(37,99,235,0.95), rgba(15,23,42,1));
|
| 898 |
+
}
|
| 899 |
+
|
| 900 |
+
.sidebar-ad {
|
| 901 |
+
margin-top: 10px;
|
| 902 |
+
border-radius: 14px;
|
| 903 |
+
border: 1px dashed rgba(148,163,184,0.5);
|
| 904 |
+
padding: 8px 10px;
|
| 905 |
+
background: radial-gradient(circle at 100% 0, rgba(129,140,248,0.22), rgba(15,23,42,0.98));
|
| 906 |
+
font-size: 10px;
|
| 907 |
+
color: #e5e7eb;
|
| 908 |
+
display: flex;
|
| 909 |
+
flex-direction: column;
|
| 910 |
+
gap: 5px;
|
| 911 |
+
}
|
| 912 |
+
.sidebar-ad-title {
|
| 913 |
+
display: flex;
|
| 914 |
+
justify-content: space-between;
|
| 915 |
+
align-items: center;
|
| 916 |
+
gap: 4px;
|
| 917 |
+
}
|
| 918 |
+
.sidebar-ad-title strong {
|
| 919 |
+
font-size: 11px;
|
| 920 |
+
}
|
| 921 |
+
.sidebar-ad-body span {
|
| 922 |
+
display: block;
|
| 923 |
+
color: #c7d2fe;
|
| 924 |
+
}
|
| 925 |
+
.sidebar-ad-cta {
|
| 926 |
+
margin-top: 2px;
|
| 927 |
+
padding: 3px 7px;
|
| 928 |
+
border-radius: 999px;
|
| 929 |
+
border: 1px solid rgba(191,219,254,0.8);
|
| 930 |
+
background: rgba(15,23,42,0.2);
|
| 931 |
+
color: #e5e7eb;
|
| 932 |
+
font-size: 10px;
|
| 933 |
+
width: max-content;
|
| 934 |
+
cursor: pointer;
|
| 935 |
+
display: inline-flex;
|
| 936 |
+
align-items: center;
|
| 937 |
+
gap: 4px;
|
| 938 |
+
transition: background var(--transition-fast), transform var(--transition-fast);
|
| 939 |
+
}
|
| 940 |
+
.sidebar-ad-cta:hover {
|
| 941 |
+
background: rgba(30,64,175,0.9);
|
| 942 |
+
transform: translateY(-1px);
|
| 943 |
+
}
|
| 944 |
+
|
| 945 |
+
/* Features */
|
| 946 |
+
.section {
|
| 947 |
+
padding: 24px 0;
|
| 948 |
+
}
|
| 949 |
+
.section-header {
|
| 950 |
+
display: flex;
|
| 951 |
+
flex-direction: column;
|
| 952 |
+
gap: 6px;
|
| 953 |
+
margin-bottom: 20px;
|
| 954 |
+
}
|
| 955 |
+
.section-kicker {
|
| 956 |
+
font-size: 11px;
|
| 957 |
+
text-transform: uppercase;
|
| 958 |
+
letter-spacing: 0.18em;
|
| 959 |
+
color: var(--muted);
|
| 960 |
+
}
|
| 961 |
+
.section-title {
|
| 962 |
+
font-size: 20px;
|
| 963 |
+
letter-spacing: -0.02em;
|
| 964 |
+
}
|
| 965 |
+
.section-subtitle {
|
| 966 |
+
font-size: 14px;
|
| 967 |
+
color: var(--muted);
|
| 968 |
+
max-width: 520px;
|
| 969 |
+
}
|
| 970 |
+
.features-grid {
|
| 971 |
+
display: grid;
|
| 972 |
+
grid-template-columns: repeat(3, minmax(0, 1fr));
|
| 973 |
+
gap: 18px;
|
| 974 |
+
}
|
| 975 |
+
.feature-card {
|
| 976 |
+
position: relative;
|
| 977 |
+
border-radius: 18px;
|
| 978 |
+
border: 1px solid rgba(31,41,55,0.9);
|
| 979 |
+
background: radial-gradient(circle at 0 0, rgba(15,23,42,0.96), rgba(15,23,42,0.97));
|
| 980 |
+
padding: 14px 14px 12px;
|
| 981 |
+
box-shadow: 0 18px 40px rgba(15,23,42,0.9);
|
| 982 |
+
overflow: hidden;
|
| 983 |
+
display: flex;
|
| 984 |
+
flex-direction: column;
|
| 985 |
+
gap: 8px;
|
| 986 |
+
transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast), background var(--transition-fast);
|
| 987 |
+
}
|
| 988 |
+
.feature-card:hover {
|
| 989 |
+
transform: translateY(-3px);
|
| 990 |
+
border-color: rgba(56,189,248,0.6);
|
| 991 |
+
box-shadow: 0 22px 46px rgba(15,23,42,0.98);
|
| 992 |
+
background: radial-gradient(circle at 0 0, rgba(8,47,73,0.8), rgba(15,23,42,0.98));
|
| 993 |
+
}
|
| 994 |
+
.feature-icon {
|
| 995 |
+
width: 26px;
|
| 996 |
+
height: 26px;
|
| 997 |
+
border-radius: 999px;
|
| 998 |
+
background: radial-gradient(circle at 30% 30%, #e5e7eb, #0f172a);
|
| 999 |
+
display: inline-flex;
|
| 1000 |
+
align-items: center;
|
| 1001 |
+
justify-content: center;
|
| 1002 |
+
font-size: 14px;
|
| 1003 |
+
color: #0f172a;
|
| 1004 |
+
margin-bottom: 4px;
|
| 1005 |
+
box-shadow: 0 0 18px rgba(148,163,184,0.6);
|
| 1006 |
+
}
|
| 1007 |
+
.feature-title {
|
| 1008 |
+
font-size: 14px;
|
| 1009 |
+
font-weight: 500;
|
| 1010 |
+
}
|
| 1011 |
+
.feature-desc {
|
| 1012 |
+
font-size: 12px;
|
| 1013 |
+
color: var(--muted);
|
| 1014 |
+
}
|
| 1015 |
+
.feature-meta {
|
| 1016 |
+
margin-top: auto;
|
| 1017 |
+
display: flex;
|
| 1018 |
+
align-items: center;
|
| 1019 |
+
justify-content: space-between;
|
| 1020 |
+
font-size: 11px;
|
| 1021 |
+
color: var(--muted);
|
| 1022 |
+
}
|
| 1023 |
+
.feature-meta span.label {
|
| 1024 |
+
padding: 2px 7px;
|
| 1025 |
+
border-radius: 999px;
|
| 1026 |
+
border: 1px solid rgba(148,163,184,0.7);
|
| 1027 |
+
background: rgba(15,23,42,0.9);
|
| 1028 |
+
font-size: 10px;
|
| 1029 |
+
text-transform: uppercase;
|
| 1030 |
+
letter-spacing: 0.12em;
|
| 1031 |
+
}
|
| 1032 |
+
|
| 1033 |
+
/* Steps / How it works */
|
| 1034 |
+
.steps-grid {
|
| 1035 |
+
display: grid;
|
| 1036 |
+
grid-template-columns: repeat(3, minmax(0,1fr));
|
| 1037 |
+
gap: 18px;
|
| 1038 |
+
}
|
| 1039 |
+
.step-card {
|
| 1040 |
+
border-radius: 16px;
|
| 1041 |
+
border: 1px solid rgba(31,41,55,0.9);
|
| 1042 |
+
background: radial-gradient(circle at 100% 0, rgba(56,189,248,0.2), rgba(15,23,42,0.98));
|
| 1043 |
+
padding: 14px 14px 12px;
|
| 1044 |
+
box-shadow: 0 20px 42px rgba(15,23,42,0.95);
|
| 1045 |
+
display: flex;
|
| 1046 |
+
flex-direction: column;
|
| 1047 |
+
gap: 6px;
|
| 1048 |
+
transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
|
| 1049 |
+
}
|
| 1050 |
+
.step-card:hover {
|
| 1051 |
+
transform: translateY(-3px);
|
| 1052 |
+
border-color: rgba(129,140,248,0.8);
|
| 1053 |
+
box-shadow: 0 24px 52px rgba(15,23,42,1);
|
| 1054 |
+
}
|
| 1055 |
+
.step-index {
|
| 1056 |
+
width: 22px;
|
| 1057 |
+
height: 22px;
|
| 1058 |
+
border-radius: 999px;
|
| 1059 |
+
background: rgba(15,23,42,0.9);
|
| 1060 |
+
border: 1px solid rgba(148,163,184,0.8);
|
| 1061 |
+
display: inline-flex;
|
| 1062 |
+
align-items: center;
|
| 1063 |
+
justify-content: center;
|
| 1064 |
+
font-size: 11px;
|
| 1065 |
+
color: #e5e7eb;
|
| 1066 |
+
margin-bottom: 2px;
|
| 1067 |
+
}
|
| 1068 |
+
.step-title {
|
| 1069 |
+
font-size: 13px;
|
| 1070 |
+
font-weight: 500;
|
| 1071 |
+
}
|
| 1072 |
+
.step-desc {
|
| 1073 |
+
font-size: 12px;
|
| 1074 |
+
color: var(--muted);
|
| 1075 |
+
}
|
| 1076 |
+
.step-note {
|
| 1077 |
+
margin-top: auto;
|
| 1078 |
+
font-size: 11px;
|
| 1079 |
+
color: #a5b4fc;
|
| 1080 |
+
}
|
| 1081 |
+
|
| 1082 |
+
/* Bottom CTA and footer */
|
| 1083 |
+
.cta-strip {
|
| 1084 |
+
margin-top: 30px;
|
| 1085 |
+
border-radius: 20px;
|
| 1086 |
+
border: 1px solid rgba(56,189,248,0.65);
|
| 1087 |
+
background: radial-gradient(circle at 0 0, rgba(56,189,248,0.3), rgba(15,23,42,0.98));
|
| 1088 |
+
padding: 14px 14px 14px;
|
| 1089 |
+
display: grid;
|
| 1090 |
+
grid-template-columns: minmax(0, 3fr) minmax(0, 2.2fr);
|
| 1091 |
+
gap: 16px;
|
| 1092 |
+
align-items: center;
|
| 1093 |
+
box-shadow: 0 22px 48px rgba(8,47,73,0.9);
|
| 1094 |
+
}
|
| 1095 |
+
.cta-primary-text {
|
| 1096 |
+
font-size: 16px;
|
| 1097 |
+
font-weight: 600;
|
| 1098 |
+
letter-spacing: -0.02em;
|
| 1099 |
+
margin-bottom: 6px;
|
| 1100 |
+
}
|
| 1101 |
+
.cta-secondary-text {
|
| 1102 |
+
font-size: 13px;
|
| 1103 |
+
color: #e5e7eb;
|
| 1104 |
+
}
|
| 1105 |
+
.cta-secondary-text span {
|
| 1106 |
+
color: #bbf7d0;
|
| 1107 |
+
}
|
| 1108 |
+
.cta-actions {
|
| 1109 |
+
display: flex;
|
| 1110 |
+
flex-wrap: wrap;
|
| 1111 |
+
align-items: center;
|
| 1112 |
+
gap: 10px;
|
| 1113 |
+
justify-content: flex-end;
|
| 1114 |
+
}
|
| 1115 |
+
.cta-note {
|
| 1116 |
+
font-size: 10px;
|
| 1117 |
+
color: var(--muted);
|
| 1118 |
+
max-width: 220px;
|
| 1119 |
+
text-align: right;
|
| 1120 |
+
}
|
| 1121 |
+
footer {
|
| 1122 |
+
padding: 18px 0 28px;
|
| 1123 |
+
border-top: 1px solid rgba(15,23,42,0.95);
|
| 1124 |
+
margin-top: 40px;
|
| 1125 |
+
font-size: 11px;
|
| 1126 |
+
color: var(--muted);
|
| 1127 |
+
}
|
| 1128 |
+
.footer-inner {
|
| 1129 |
+
display: flex;
|
| 1130 |
+
flex-wrap: wrap;
|
| 1131 |
+
align-items: center;
|
| 1132 |
+
justify-content: space-between;
|
| 1133 |
+
gap: 12px;
|
| 1134 |
+
}
|
| 1135 |
+
.footer-links {
|
| 1136 |
+
display: flex;
|
| 1137 |
+
flex-wrap: wrap;
|
| 1138 |
+
gap: 16px;
|
| 1139 |
+
}
|
| 1140 |
+
.footer-links a {
|
| 1141 |
+
color: var(--muted);
|
| 1142 |
+
font-size: 11px;
|
| 1143 |
+
}
|
| 1144 |
+
.footer-links a:hover {
|
| 1145 |
+
color: #e5e7eb;
|
| 1146 |
+
}
|
| 1147 |
+
|
| 1148 |
+
/* Responsive */
|
| 1149 |
+
@media (max-width: 900px) {
|
| 1150 |
+
.hero {
|
| 1151 |
+
grid-template-columns: minmax(0,1fr);
|
| 1152 |
+
padding-bottom: 32px;
|
| 1153 |
+
}
|
| 1154 |
+
.hero-right {
|
| 1155 |
+
order: -1;
|
| 1156 |
+
}
|
| 1157 |
+
.hero-card-body {
|
| 1158 |
+
grid-template-columns: minmax(0,1.1fr) minmax(0,1fr);
|
| 1159 |
+
}
|
| 1160 |
+
.features-grid {
|
| 1161 |
+
grid-template-columns: repeat(2, minmax(0,1fr));
|
| 1162 |
+
}
|
| 1163 |
+
.steps-grid {
|
| 1164 |
+
grid-template-columns: repeat(2, minmax(0,1fr));
|
| 1165 |
+
}
|
| 1166 |
+
.cta-strip {
|
| 1167 |
+
grid-template-columns: minmax(0,1.2fr) minmax(0,1fr);
|
| 1168 |
+
}
|
| 1169 |
+
.mid-page-ad {
|
| 1170 |
+
grid-template-columns: minmax(0,1.4fr) minmax(0,1.1fr);
|
| 1171 |
+
}
|
| 1172 |
+
}
|
| 1173 |
+
@media (max-width: 720px) {
|
| 1174 |
+
.nav-links {
|
| 1175 |
+
display: none;
|
| 1176 |
+
}
|
| 1177 |
+
.nav-cta {
|
| 1178 |
+
display: none;
|
| 1179 |
+
}
|
| 1180 |
+
.burger {
|
| 1181 |
+
display: inline-flex;
|
| 1182 |
+
}
|
| 1183 |
+
.mobile-nav.open {
|
| 1184 |
+
display: block;
|
| 1185 |
+
}
|
| 1186 |
+
.hero-card-body {
|
| 1187 |
+
grid-template-columns: minmax(0,1fr);
|
| 1188 |
+
min-height: 0;
|
| 1189 |
+
}
|
| 1190 |
+
.hero-output {
|
| 1191 |
+
border-left: none;
|
| 1192 |
+
border-top: 1px solid rgba(15,23,42,0.9);
|
| 1193 |
+
}
|
| 1194 |
+
.hero-prompt {
|
| 1195 |
+
border-right: none;
|
| 1196 |
+
}
|
| 1197 |
+
.hero-ad-banner {
|
| 1198 |
+
flex-direction: column;
|
| 1199 |
+
align-items: flex-start;
|
| 1200 |
+
}
|
| 1201 |
+
.mid-page-ad {
|
| 1202 |
+
grid-template-columns: minmax(0,1fr);
|
| 1203 |
+
}
|
| 1204 |
+
.steps-grid, .features-grid {
|
| 1205 |
+
grid-template-columns: minmax(0,1fr);
|
| 1206 |
+
}
|
| 1207 |
+
.cta-strip {
|
| 1208 |
+
grid-template-columns: minmax(0,1fr);
|
| 1209 |
+
text-align: left;
|
| 1210 |
+
}
|
| 1211 |
+
.cta-actions {
|
| 1212 |
+
justify-content: flex-start;
|
| 1213 |
+
}
|
| 1214 |
+
.cta-note {
|
| 1215 |
+
text-align: left;
|
| 1216 |
+
}
|
| 1217 |
+
}
|
| 1218 |
+
@media (max-width: 480px) {
|
| 1219 |
+
.hero-heading {
|
| 1220 |
+
font-size: 30px;
|
| 1221 |
+
}
|
| 1222 |
+
.hero-card {
|
| 1223 |
+
padding: 12px;
|
| 1224 |
+
}
|
| 1225 |
+
.feature-card, .step-card {
|
| 1226 |
+
padding: 12px;
|
| 1227 |
+
}
|
| 1228 |
+
}
|
| 1229 |
+
</style>
|
| 1230 |
+
</head>
|
| 1231 |
+
<body>
|
| 1232 |
+
<div class="bg-orbit"></div>
|
| 1233 |
+
<div class="grid-overlay"></div>
|
| 1234 |
+
|
| 1235 |
+
<header class="nav-wrapper">
|
| 1236 |
+
<div class="container">
|
| 1237 |
+
<nav>
|
| 1238 |
+
<div class="nav-left">
|
| 1239 |
+
<div class="logo-mark">
|
| 1240 |
+
<div class="logo-mark-inner">FC</div>
|
| 1241 |
+
</div>
|
| 1242 |
+
<div class="logo-text">
|
| 1243 |
+
<div class="logo-title">FlashCode AI</div>
|
| 1244 |
+
<div class="logo-subtitle">Free & Fast Code Builder</div>
|
| 1245 |
+
</div>
|
| 1246 |
+
</div>
|
| 1247 |
+
<div class="nav-links">
|
| 1248 |
+
<a href="#features">Features</a>
|
| 1249 |
+
<a href="#how-it-works">How it works</a>
|
| 1250 |
+
<a href="#pricing">Pricing</a>
|
| 1251 |
+
<a href="#faq">FAQ</a>
|
| 1252 |
+
</div>
|
| 1253 |
+
<div class="nav-cta">
|
| 1254 |
+
<button class="btn-ghost" type="button">Log in</button>
|
| 1255 |
+
<button class="btn-primary" type="button" id="nav-start">
|
| 1256 |
+
Start building
|
| 1257 |
+
<span class="icon">β‘</span>
|
| 1258 |
+
</button>
|
| 1259 |
+
</div>
|
| 1260 |
+
<button class="burger" type="button" id="burger">
|
| 1261 |
+
<span></span>
|
| 1262 |
+
<span></span>
|
| 1263 |
+
</button>
|
| 1264 |
+
</nav>
|
| 1265 |
+
<div class="mobile-nav" id="mobile-nav">
|
| 1266 |
+
<div class="container" style="padding-inline:0;">
|
| 1267 |
+
<a href="#features">Features</a>
|
| 1268 |
+
<a href="#how-it-works">How it works</a>
|
| 1269 |
+
<a href="#pricing">Pricing</a>
|
| 1270 |
+
<a href="#faq">FAQ</a>
|
| 1271 |
+
<button class="btn-primary" type="button" id="mobile-start">
|
| 1272 |
+
Start building free
|
| 1273 |
+
<span class="icon">β‘</span>
|
| 1274 |
+
</button>
|
| 1275 |
+
</div>
|
| 1276 |
+
</div>
|
| 1277 |
+
</div>
|
| 1278 |
+
</header>
|
| 1279 |
+
|
| 1280 |
+
<main>
|
| 1281 |
+
<section class="container hero" id="top">
|
| 1282 |
+
<div class="hero-left">
|
| 1283 |
+
<div class="pill">
|
| 1284 |
+
<div class="pill-dot"></div>
|
| 1285 |
+
<span>Code that ships in seconds Β· <strong style="color:#e5e7eb;">No credit card</strong></span>
|
| 1286 |
+
<span class="badge-free">Forever free</span>
|
| 1287 |
+
</div>
|
| 1288 |
+
<h1 class="hero-heading">
|
| 1289 |
+
The free, <span class="gradient">blazing fast</span> AI code builder.
|
| 1290 |
+
</h1>
|
| 1291 |
+
<p class="hero-subtitle">
|
| 1292 |
+
FlashCode AI turns plain language into productionβready code in under a second.
|
| 1293 |
+
Generate components, fix bugs, and scaffold apps with a
|
| 1294 |
+
<strong>single prompt</strong>.
|
| 1295 |
+
</p>
|
| 1296 |
+
<div class="hero-cta-row">
|
| 1297 |
+
<button class="btn-primary" type="button" id="hero-start">
|
| 1298 |
+
Start building in 5 seconds
|
| 1299 |
+
<span class="icon">β‘</span>
|
| 1300 |
+
</button>
|
| 1301 |
+
<button class="btn-secondary" type="button">
|
| 1302 |
+
<span class="play-icon">βΆ</span>
|
| 1303 |
+
Watch 40βsecond demo
|
| 1304 |
+
</button>
|
| 1305 |
+
</div>
|
| 1306 |
+
<div class="hero-meta">
|
| 1307 |
+
<div class="hero-meta-count">
|
| 1308 |
+
<span class="num" id="session-count">32,481</span>
|
| 1309 |
+
<span class="dot"></span>
|
| 1310 |
+
<span>code sessions this week</span>
|
| 1311 |
+
</div>
|
| 1312 |
+
<div class="hero-meta-badges">
|
| 1313 |
+
<span><span style="width:8px;height:8px;border-radius:999px;background:#22c55e;box-shadow:0 0 8px rgba(34,197,94,0.9);"></span> <strong style="color:#e5e7eb;">Free</strong> forever tier</span>
|
| 1314 |
+
<span>Avg. response <strong style="color:#e5e7eb;">0.42s</strong></span>
|
| 1315 |
+
</div>
|
| 1316 |
+
</div>
|
| 1317 |
+
|
| 1318 |
+
<div class="hero-ad-banner">
|
| 1319 |
+
<div class="hero-ad-banner-main">
|
| 1320 |
+
<div class="hero-ad-icon">π</div>
|
| 1321 |
+
<div class="hero-ad-text">
|
| 1322 |
+
<strong>Upgrade your stack with NovaCloud</strong>
|
| 1323 |
+
<span>Deploy every FlashCode project to edge hosting in one click. 100GB bandwidth free.</span>
|
| 1324 |
+
</div>
|
| 1325 |
+
</div>
|
| 1326 |
+
<button class="hero-ad-cta" type="button">
|
| 1327 |
+
<span class="ad-tag">Sponsored</span>
|
| 1328 |
+
Try NovaCloud
|
| 1329 |
+
<span style="font-size:11px;">β</span>
|
| 1330 |
+
</button>
|
| 1331 |
+
</div>
|
| 1332 |
+
</div>
|
| 1333 |
+
|
| 1334 |
+
<div class="hero-right">
|
| 1335 |
+
<div class="hero-card">
|
| 1336 |
+
<div class="hero-card-inner">
|
| 1337 |
+
<div class="hero-card-header">
|
| 1338 |
+
<div class="window-dots">
|
| 1339 |
+
<span class="window-dot red"></span>
|
| 1340 |
+
<span class="window-dot yellow"></span>
|
| 1341 |
+
<span class="window-dot green"></span>
|
| 1342 |
+
</div>
|
| 1343 |
+
<div class="hero-card-title">
|
| 1344 |
+
flashcode-session.js
|
| 1345 |
+
<span class="status">LIVE</span>
|
| 1346 |
+
</div>
|
| 1347 |
+
</div>
|
| 1348 |
+
<div class="hero-card-tabs">
|
| 1349 |
+
<button class="hero-tab active" type="button" data-tab="frontend">
|
| 1350 |
+
<span class="dot"></span> Frontend
|
| 1351 |
+
</button>
|
| 1352 |
+
<button class="hero-tab" type="button" data-tab="backend">
|
| 1353 |
+
<span class="dot"></span> Backend
|
| 1354 |
+
</button>
|
| 1355 |
+
<button class="hero-tab" type="button" data-tab="fix">
|
| 1356 |
+
<span class="dot"></span> Bug Fix
|
| 1357 |
+
</button>
|
| 1358 |
+
</div>
|
| 1359 |
+
<div class="hero-card-body">
|
| 1360 |
+
<div class="hero-prompt">
|
| 1361 |
+
<div class="prompt-label">Prompt</div>
|
| 1362 |
+
<div class="prompt-input-wrap">
|
| 1363 |
+
<textarea class="prompt-textarea" id="prompt-input" spellcheck="false">Create a responsive Tailwind navbar with a logo on the left and a "Deploy" button on the right.</textarea>
|
| 1364 |
+
<div class="prompt-footer">
|
| 1365 |
+
<div class="prompt-shortcuts">
|
| 1366 |
+
<span class="kbd">β</span><span>+ Enter to run</span>
|
| 1367 |
+
</div>
|
| 1368 |
+
<span style="font-variant-numeric: tabular-nums;">Tokens: <span id="token-count">37</span></span>
|
| 1369 |
+
</div>
|
| 1370 |
+
</div>
|
| 1371 |
+
<div class="hero-run-row">
|
| 1372 |
+
<span class="badge-speed">
|
| 1373 |
+
<span class="spark">β‘</span>
|
| 1374 |
+
Under 500ms average
|
| 1375 |
+
</span>
|
| 1376 |
+
<small>Ultraβlow latency in 190+ regions.</small>
|
| 1377 |
+
<button class="run-button" type="button" id="run-button">
|
| 1378 |
+
Build code
|
| 1379 |
+
<span class="icon">β΅</span>
|
| 1380 |
+
</button>
|
| 1381 |
+
</div>
|
| 1382 |
+
<div class="sidebar-ad">
|
| 1383 |
+
<div class="sidebar-ad-title">
|
| 1384 |
+
<strong>Boost your PR reviews</strong>
|
| 1385 |
+
<span class="ad-tag">Sponsored</span>
|
| 1386 |
+
</div>
|
| 1387 |
+
<div class="sidebar-ad-body">
|
| 1388 |
+
<span>Ship clean code faster with MergeLens β AI summaries for every pull request.</span>
|
| 1389 |
+
</div>
|
| 1390 |
+
<button class="sidebar-ad-cta" type="button">
|
| 1391 |
+
Add to GitHub
|
| 1392 |
+
<span style="font-size:11px;">β</span>
|
| 1393 |
+
</button>
|
| 1394 |
+
</div>
|
| 1395 |
+
</div>
|
| 1396 |
+
<div class="hero-output">
|
| 1397 |
+
<div class="output-header">
|
| 1398 |
+
<span>Output preview</span>
|
| 1399 |
+
<span class="status-badge" id="output-status">
|
| 1400 |
+
<span class="status-dot"></span>
|
| 1401 |
+
Ready in ~0.4s
|
| 1402 |
+
</span>
|
| 1403 |
+
</div>
|
| 1404 |
+
<div class="output-console" id="output-console">
|
| 1405 |
+
<pre id="output-text">
|
| 1406 |
+
// Your Tailwind navbar is ready π§
|
| 1407 |
+
<nav class="w-full border-b bg-slate-950/70 backdrop-blur">
|
| 1408 |
+
<div class="mx-auto flex max-w-6xl items-center justify-between px-4 py-3">
|
| 1409 |
+
<a href="/" class="flex items-center gap-2">
|
| 1410 |
+
<span class="flex h-7 w-7 items-center justify-center rounded-xl bg-gradient-to-tr from-sky-500 to-emerald-400 text-xs font-semibold text-slate-950 shadow-lg">
|
| 1411 |
+
FC
|
| 1412 |
+
</span>
|
| 1413 |
+
<span class="text-sm font-semibold tracking-wide text-slate-100">FlashCode</span>
|
| 1414 |
+
</a>
|
| 1415 |
+
<button class="rounded-full bg-sky-500 px-4 py-1.5 text-xs font-semibold text-slate-950 shadow-md transition hover:bg-sky-400">
|
| 1416 |
+
Deploy
|
| 1417 |
+
</button>
|
| 1418 |
+
</div>
|
| 1419 |
+
</nav><span class="caret"></span></pre>
|
| 1420 |
+
</div>
|
| 1421 |
+
<div class="output-stats">
|
| 1422 |
+
<span class="time" id="time-stat">0.41s</span>
|
| 1423 |
+
<span class="tokens" id="tokens-stat">104 tokens</span>
|
| 1424 |
+
<span class="speed" id="speed-stat">238 LOC / sec</span>
|
| 1425 |
+
</div>
|
| 1426 |
+
</div>
|
| 1427 |
+
</div>
|
| 1428 |
+
</div>
|
| 1429 |
+
</div>
|
| 1430 |
+
</div>
|
| 1431 |
+
</section>
|
| 1432 |
+
|
| 1433 |
+
<section class="section container" id="features">
|
| 1434 |
+
<div class="section-header">
|
| 1435 |
+
<div class="section-kicker">Why FlashCode</div>
|
| 1436 |
+
<h2 class="section-title">Faster than typing it yourself, and still free.</h2>
|
| 1437 |
+
<p class="section-subtitle">
|
| 1438 |
+
FlashCode AI is designed for developers who care about speed. We strip away the noise,
|
| 1439 |
+
keep your workflow localβfirst, and never lock you in.
|
| 1440 |
+
</p>
|
| 1441 |
+
</div>
|
| 1442 |
+
<div class="features-grid">
|
| 1443 |
+
<article class="feature-card">
|
| 1444 |
+
<div class="feature-icon">β‘</div>
|
| 1445 |
+
<h3 class="feature-title">Realβtime code streaming</h3>
|
| 1446 |
+
<p class="feature-desc">
|
| 1447 |
+
Watch code appear as you type. Edits and suggestions stream tokenβbyβtoken so you never wait on a spinner again.
|
| 1448 |
+
</p>
|
| 1449 |
+
<div class="feature-meta">
|
| 1450 |
+
<span class="label">Latency</span>
|
| 1451 |
+
<span>Median <strong style="color:#e5e7eb;">< 450ms</strong></span>
|
| 1452 |
+
</div>
|
| 1453 |
+
</article>
|
| 1454 |
+
<article class="feature-card">
|
| 1455 |
+
<div class="feature-icon">π§ </div>
|
| 1456 |
+
<h3 class="feature-title">Understands your stack</h3>
|
| 1457 |
+
<p class="feature-desc">
|
| 1458 |
+
Tailored prompts for React, Next.js, Node, Rust, Python and more. FlashCode reads your file and infers context automatically.
|
| 1459 |
+
</p>
|
| 1460 |
+
<div class="feature-meta">
|
| 1461 |
+
<span class="label">Languages</span>
|
| 1462 |
+
<span>20+ runtimes supported</span>
|
| 1463 |
+
</div>
|
| 1464 |
+
</article>
|
| 1465 |
+
<article class="feature-card">
|
| 1466 |
+
<div class="feature-icon">π‘οΈ</div>
|
| 1467 |
+
<h3 class="feature-title">Private by default</h3>
|
| 1468 |
+
<p class="feature-desc">
|
| 1469 |
+
We donβt train on your code. Your sessions stay encrypted, and logs autoβexpire on free tier within 7 days.
|
| 1470 |
+
</p>
|
| 1471 |
+
<div class="feature-meta">
|
| 1472 |
+
<span class="label">Security</span>
|
| 1473 |
+
<span>SOC2βready infra</span>
|
| 1474 |
+
</div>
|
| 1475 |
+
</article>
|
| 1476 |
+
</div>
|
| 1477 |
+
|
| 1478 |
+
<div class="mid-page-ad">
|
| 1479 |
+
<div>
|
| 1480 |
+
<div class="ad-tag">Sponsored</div>
|
| 1481 |
+
<h3 class="mid-ad-title">Scale your AI features with VectorForge.</h3>
|
| 1482 |
+
<p class="mid-ad-copy">
|
| 1483 |
+
Productionβgrade vector search for every FlashCode project. Ship <span class="highlight">semantic search</span>,
|
| 1484 |
+
recommendations and RAG in a single afternoon.
|
| 1485 |
+
</p>
|
| 1486 |
+
<div class="mid-ad-logos">
|
| 1487 |
+
<span class="mid-ad-logo-pill">
|
| 1488 |
+
<span class="dot"></span>
|
| 1489 |
+
Backed by ComputeFoundry
|
| 1490 |
+
</span>
|
| 1491 |
+
<span class="mid-ad-logo-pill">
|
| 1492 |
+
<span class="dot" style="background:radial-gradient(circle at 30% 30%,#e5e7eb,#22c55e);"></span>
|
| 1493 |
+
$200 free credits
|
| 1494 |
+
</span>
|
| 1495 |
+
</div>
|
| 1496 |
+
</div>
|
| 1497 |
+
<div class="mid-ad-right">
|
| 1498 |
+
<div class="mid-ad-save">
|
| 1499 |
+
<span class="badge">For FlashCode users</span>
|
| 1500 |
+
Save up to 60% vs DIY infra.
|
| 1501 |
+
</div>
|
| 1502 |
+
<button class="mid-ad-button" type="button">
|
| 1503 |
+
Claim your credits
|
| 1504 |
+
<span style="font-size:11px;">β</span>
|
| 1505 |
+
</button>
|
| 1506 |
+
</div>
|
| 1507 |
+
</div>
|
| 1508 |
+
</section>
|
| 1509 |
+
|
| 1510 |
+
<section class="section container" id="how-it-works">
|
| 1511 |
+
<div class="section-header">
|
| 1512 |
+
<div class="section-kicker">Workflow</div>
|
| 1513 |
+
<h2 class="section-title">From idea to running code in three steps.</h2>
|
| 1514 |
+
<p class="section-subtitle">
|
| 1515 |
+
No need to change editors, IDEs, or hosting. FlashCode plugs into your existing setup
|
| 1516 |
+
and stays out of your way.
|
| 1517 |
+
</p>
|
| 1518 |
+
</div>
|
| 1519 |
+
<div class="steps-grid">
|
| 1520 |
+
<article class="step-card">
|
| 1521 |
+
<span class="step-index">1</span>
|
| 1522 |
+
<h3 class="step-title">Describe what you want</h3>
|
| 1523 |
+
<p class="step-desc">
|
| 1524 |
+
Type your feature in plain English β βauthβready Next.js layout with a sidebar and dark mode toggleβ.
|
| 1525 |
+
</p>
|
| 1526 |
+
<p class="step-note">FlashCode autoβdetects frameworks & style systems from your repo.</p>
|
| 1527 |
+
</article>
|
| 1528 |
+
<article class="step-card">
|
| 1529 |
+
<span class="step-index">2</span>
|
| 1530 |
+
<h3 class="step-title">Generate and tweak</h3>
|
| 1531 |
+
<p class="step-desc">
|
| 1532 |
+
We stream code into a diff view, highlight impact, and let you refine with followβup prompts.
|
| 1533 |
+
</p>
|
| 1534 |
+
<p class="step-note">Inline comments explain key changes in human language.</p>
|
| 1535 |
+
</article>
|
| 1536 |
+
<article class="step-card">
|
| 1537 |
+
<span class="step-index">3</span>
|
| 1538 |
+
<h3 class="step-title">Commit with confidence</h3>
|
| 1539 |
+
<p class="step-desc">
|
| 1540 |
+
Apply changes to your local branch or export to a gist. No lockβin, no magic config files.
|
| 1541 |
+
</p>
|
| 1542 |
+
<p class="step-note">Stay in control β you approve every line that ships.</p>
|
| 1543 |
+
</article>
|
| 1544 |
+
</div>
|
| 1545 |
+
</section>
|
| 1546 |
+
|
| 1547 |
+
<section class="section container" id="pricing">
|
| 1548 |
+
<div class="section-header">
|
| 1549 |
+
<div class="section-kicker">Pricing</div>
|
| 1550 |
+
<h2 class="section-title">Free for individuals. Simple for teams.</h2>
|
| 1551 |
+
<p class="section-subtitle">
|
| 1552 |
+
Start with the free plan and upgrade only if you need higher limits or teamβwide usage.
|
| 1553 |
+
</p>
|
| 1554 |
+
</div>
|
| 1555 |
+
<div class="features-grid">
|
| 1556 |
+
<article class="feature-card">
|
| 1557 |
+
<div class="feature-icon">π</div>
|
| 1558 |
+
<h3 class="feature-title">Hacker Β· Free</h3>
|
| 1559 |
+
<p class="feature-desc">
|
| 1560 |
+
Ideal for solo devs and side projects. Generous daily limit, full access to the web app, and all major languages.
|
| 1561 |
+
</p>
|
| 1562 |
+
<div class="feature-meta">
|
| 1563 |
+
<span class="label">Price</span>
|
| 1564 |
+
<span><strong style="color:#bbf7d0;">$0</strong> Β· no card</span>
|
| 1565 |
+
</div>
|
| 1566 |
+
</article>
|
| 1567 |
+
<article class="feature-card">
|
| 1568 |
+
<div class="feature-icon">π€</div>
|
| 1569 |
+
<h3 class="feature-title">Team Β· Pro</h3>
|
| 1570 |
+
<p class="feature-desc">
|
| 1571 |
+
Shared history, higher limits, SSO, usage analytics and workspace prompts fineβtuned to your codebase.
|
| 1572 |
+
</p>
|
| 1573 |
+
<div class="feature-meta">
|
| 1574 |
+
<span class="label">Price</span>
|
| 1575 |
+
<span>From <strong style="color:#e5e7eb;">$19</strong> / seat</span>
|
| 1576 |
+
</div>
|
| 1577 |
+
</article>
|
| 1578 |
+
<article class="feature-card">
|
| 1579 |
+
<div class="feature-icon">π’</div>
|
| 1580 |
+
<h3 class="feature-title">Enterprise</h3>
|
| 1581 |
+
<p class="feature-desc">
|
| 1582 |
+
Dedicated regions, onβprem options, custom SLAs, and compliance support for regulated industries.
|
| 1583 |
+
</p>
|
| 1584 |
+
<div class="feature-meta">
|
| 1585 |
+
<span class="label">Contact</span>
|
| 1586 |
+
<span>Custom quote</span>
|
| 1587 |
+
</div>
|
| 1588 |
+
</article>
|
| 1589 |
+
</div>
|
| 1590 |
+
</section>
|
| 1591 |
+
|
| 1592 |
+
<section class="section container" id="faq">
|
| 1593 |
+
<div class="section-header">
|
| 1594 |
+
<div class="section-kicker">FAQ</div>
|
| 1595 |
+
<h2 class="section-title">Answers before you sign up.</h2>
|
| 1596 |
+
<p class="section-subtitle">
|
| 1597 |
+
If itβs not covered here, reach out. We respond to most developer questions in under a day.
|
| 1598 |
+
</p>
|
| 1599 |
+
</div>
|
| 1600 |
+
<div class="steps-grid">
|
| 1601 |
+
<article class="step-card">
|
| 1602 |
+
<span class="step-index">Q</span>
|
| 1603 |
+
<h3 class="step-title">Is FlashCode really free?</h3>
|
| 1604 |
+
<p class="step-desc">
|
| 1605 |
+
Yes. The Hacker plan is free forever with fair daily limits. We only ask for feedback occasionally to keep improving.
|
| 1606 |
+
</p>
|
| 1607 |
+
<p class="step-note">Upgrade anytime for higher limits or team features.</p>
|
| 1608 |
+
</article>
|
| 1609 |
+
<article class="step-card">
|
| 1610 |
+
<span class="step-index">Q</span>
|
| 1611 |
+
<h3 class="step-title">Do you train on my private code?</h3>
|
| 1612 |
+
<p class="step-desc">
|
| 1613 |
+
No. Your prompts and code are encrypted in transit and at rest, and are never used to train shared models.
|
| 1614 |
+
</p>
|
| 1615 |
+
<p class="step-note">Enterprise plans support fully isolated deployments.</p>
|
| 1616 |
+
</article>
|
| 1617 |
+
<article class="step-card">
|
| 1618 |
+
<span class="step-index">Q</span>
|
| 1619 |
+
<h3 class="step-title">Which editors do you support?</h3>
|
| 1620 |
+
<p class="step-desc">
|
| 1621 |
+
Our web builder works in any browser. Native plugins for VS Code, JetBrains, and Neovim are in open beta.
|
| 1622 |
+
</p>
|
| 1623 |
+
<p class="step-note">Join the beta waitlist after signβup.</p>
|
| 1624 |
+
</article>
|
| 1625 |
+
</div>
|
| 1626 |
+
</section>
|
| 1627 |
+
|
| 1628 |
+
<section class="container">
|
| 1629 |
+
<div class="cta-strip">
|
| 1630 |
+
<div>
|
| 1631 |
+
<div class="cta-primary-text">Build your next feature in under a minute.</div>
|
| 1632 |
+
<div class="cta-secondary-text">
|
| 1633 |
+
FlashCode AI is <span>free to start</span>, fast enough for production, and private by default.
|
| 1634 |
+
</div>
|
| 1635 |
+
</div>
|
| 1636 |
+
<div class="cta-actions">
|
| 1637 |
+
<button class="btn-primary" type="button" id="bottom-start">
|
| 1638 |
+
Launch FlashCode
|
| 1639 |
+
<span class="icon">β‘</span>
|
| 1640 |
+
</button>
|
| 1641 |
+
<button class="btn-secondary" type="button">
|
| 1642 |
+
View changelog
|
| 1643 |
+
</button>
|
| 1644 |
+
<p class="cta-note">
|
| 1645 |
+
No credit card. Free plan includes 200 code generations per month with full access to new features.
|
| 1646 |
+
</p>
|
| 1647 |
+
</div>
|
| 1648 |
+
</div>
|
| 1649 |
+
</section>
|
| 1650 |
+
</main>
|
| 1651 |
+
|
| 1652 |
+
<footer>
|
| 1653 |
+
<div class="container footer-inner">
|
| 1654 |
+
<span>Β© <span id="year"></span> FlashCode AI. Built for developers who hate waiting.</span>
|
| 1655 |
+
<div class="footer-links">
|
| 1656 |
+
<a href="#top">Back to top</a>
|
| 1657 |
+
<a href="#">Status</a>
|
| 1658 |
+
<a href="#">Security</a>
|
| 1659 |
+
<a href="#">Terms</a>
|
| 1660 |
+
<a href="#">Privacy</a>
|
| 1661 |
+
</div>
|
| 1662 |
+
</div>
|
| 1663 |
+
</footer>
|
| 1664 |
+
|
| 1665 |
+
<script>
|
| 1666 |
+
const burger = document.getElementById('burger');
|
| 1667 |
+
const mobileNav = document.getElementById('mobile-nav');
|
| 1668 |
+
burger.addEventListener('click', () => {
|
| 1669 |
+
burger.classList.toggle('open');
|
| 1670 |
+
mobileNav.classList.toggle('open');
|
| 1671 |
+
});
|
| 1672 |
+
|
| 1673 |
+
document.querySelectorAll('#nav-start,#mobile-start,#hero-start,#bottom-start').forEach(btn => {
|
| 1674 |
+
btn.addEventListener('click', () => {
|
| 1675 |
+
const promptInput = document.getElementById('prompt-input');
|
| 1676 |
+
if (promptInput) {
|
| 1677 |
+
promptInput.focus();
|
| 1678 |
+
promptInput.scrollIntoView({ behavior: 'smooth', block: 'center' });
|
| 1679 |
+
} else {
|
| 1680 |
+
window.location.hash = '#top';
|
| 1681 |
+
}
|
| 1682 |
+
});
|
| 1683 |
+
});
|
| 1684 |
+
|
| 1685 |
+
const yearEl = document.getElementById('year');
|
| 1686 |
+
if (yearEl) yearEl.textContent = new Date().getFullYear();
|
| 1687 |
+
|
| 1688 |
+
const sessionCountEl = document.getElementById('session-count');
|
| 1689 |
+
if (sessionCountEl) {
|
| 1690 |
+
let base = 32481;
|
| 1691 |
+
setInterval(() => {
|
| 1692 |
+
const jitter = Math.floor(Math.random() * 3);
|
| 1693 |
+
base += jitter;
|
| 1694 |
+
sessionCountEl.textContent = base.toLocaleString('en-US');
|
| 1695 |
+
}, 1800);
|
| 1696 |
+
}
|
| 1697 |
+
|
| 1698 |
+
const promptInput = document.getElementById('prompt-input');
|
| 1699 |
+
const tokenCountEl = document.getElementById('token-count');
|
| 1700 |
+
if (promptInput && tokenCountEl) {
|
| 1701 |
+
const updateTokens = () => {
|
| 1702 |
+
const text = promptInput.value.trim();
|
| 1703 |
+
const tokens = text ? text.split(/\s+/).length : 0;
|
| 1704 |
+
tokenCountEl.textContent = tokens;
|
| 1705 |
+
};
|
| 1706 |
+
promptInput.addEventListener('input', updateTokens);
|
| 1707 |
+
updateTokens();
|
| 1708 |
+
}
|
| 1709 |
+
|
| 1710 |
+
const runButton = document.getElementById('run-button');
|
| 1711 |
+
const outputConsole = document.getElementById('output-console');
|
| 1712 |
+
const outputText = document.getElementById('output-text');
|
| 1713 |
+
const outputStatus = document.getElementById('output-status');
|
| 1714 |
+
const timeStat = document.getElementById('time-stat');
|
| 1715 |
+
const tokensStat = document.getElementById('tokens-stat');
|
| 1716 |
+
const speedStat = document.getElementById('speed-stat');
|
| 1717 |
+
|
| 1718 |
+
const snippets = {
|
| 1719 |
+
frontend: {
|
| 1720 |
+
prompt: 'Create a responsive Tailwind navbar with a logo on the left and a "Deploy" button on the right.',
|
| 1721 |
+
code: `// Generated React + Tailwind header component π
|
| 1722 |
+
export function AppHeader() {
|
| 1723 |
+
return (
|
| 1724 |
+
<header className="border-b border-slate-800 bg-slate-950/70 backdrop-blur">
|
| 1725 |
+
<div className="mx-auto flex max-w-5xl items-center justify-between px-4 py-3">
|
| 1726 |
+
<a href="/" className="flex items-center gap-2">
|
| 1727 |
+
<span className="flex h-8 w-8 items-center justify-center rounded-2xl bg-gradient-to-tr from-sky-500 via-emerald-400 to-violet-500 text-xs font-semibold text-slate-950 shadow-lg">
|
| 1728 |
+
FC
|
| 1729 |
+
</span>
|
| 1730 |
+
<span className="text-sm font-semibold tracking-wide text-slate-100">
|
| 1731 |
+
FlashCode
|
| 1732 |
+
</span>
|
| 1733 |
+
</a>
|
| 1734 |
+
|
| 1735 |
+
<nav className="hidden items-center gap-6 text-xs text-slate-300 sm:flex">
|
| 1736 |
+
<a href="#features" className="hover:text-white">Features</a>
|
| 1737 |
+
<a href="#how-it-works" className="hover:text-white">Workflow</a>
|
| 1738 |
+
<a href="#pricing" className="hover:text-white">Pricing</a>
|
| 1739 |
+
</nav>
|
| 1740 |
+
|
| 1741 |
+
<button className="inline-flex items-center gap-1.5 rounded-full bg-sky-500 px-4 py-1.5 text-xs font-semibold text-slate-950 shadow-md shadow-sky-500/40 transition hover:bg-sky-400">
|
| 1742 |
+
<span>Deploy</span>
|
| 1743 |
+
<span className="text-[11px]">β‘</span>
|
| 1744 |
+
</button>
|
| 1745 |
+
</div>
|
| 1746 |
+
</header>
|
| 1747 |
+
);
|
| 1748 |
+
}`,
|
| 1749 |
+
time: '0.42s',
|
| 1750 |
+
tokens: '118 tokens',
|
| 1751 |
+
speed: '244 LOC / sec'
|
| 1752 |
+
},
|
| 1753 |
+
backend: {
|
| 1754 |
+
prompt: 'Generate an Express.js endpoint that returns the latest 10 build logs as JSON.',
|
| 1755 |
+
code: `// Minimal Express.js endpoint for latest build logs βοΈ
|
| 1756 |
+
import express from "express";
|
| 1757 |
+
|
| 1758 |
+
const app = express();
|
| 1759 |
+
|
| 1760 |
+
// In-memory demo data β swap with your DB client.
|
| 1761 |
+
let logs = [
|
| 1762 |
+
{ id: "bld_01", status: "success", durationMs: 384, createdAt: new Date().toISOString() },
|
| 1763 |
+
{ id: "bld_02", status: "failed", durationMs: 1021, createdAt: new Date().toISOString() },
|
| 1764 |
+
// ...
|
| 1765 |
+
];
|
| 1766 |
+
|
| 1767 |
+
// GET /api/builds/latest
|
| 1768 |
+
app.get("/api/builds/latest", (req, res) => {
|
| 1769 |
+
const limit = Number(req.query.limit ?? 10);
|
| 1770 |
+
const latest = logs
|
| 1771 |
+
.slice()
|
| 1772 |
+
.sort((a, b) => new Date(b.createdAt) - new Date(a.createdAt))
|
| 1773 |
+
.slice(0, limit);
|
| 1774 |
+
|
| 1775 |
+
res.json({
|
| 1776 |
+
count: latest.length,
|
| 1777 |
+
builds: latest,
|
| 1778 |
+
});
|
| 1779 |
+
});
|
| 1780 |
+
|
| 1781 |
+
// Start server
|
| 1782 |
+
const port = process.env.PORT ?? 3000;
|
| 1783 |
+
app.listen(port, () => {
|
| 1784 |
+
console.log(\`FlashCode build API listening on :\${port}\`);
|
| 1785 |
+
});`,
|
| 1786 |
+
time: '0.39s',
|
| 1787 |
+
tokens: '152 tokens',
|
| 1788 |
+
speed: '267 LOC / sec'
|
| 1789 |
+
},
|
| 1790 |
+
fix: {
|
| 1791 |
+
prompt: 'Fix this React useEffect that runs on every render instead of only once.',
|
| 1792 |
+
code: `// Fixed: run effect only once on mount β
|
| 1793 |
+
import { useEffect } from "react";
|
| 1794 |
+
|
| 1795 |
+
export function FlashCounter({ start = 0 }) {
|
| 1796 |
+
useEffect(() => {
|
| 1797 |
+
let frame;
|
| 1798 |
+
let count = start;
|
| 1799 |
+
|
| 1800 |
+
const tick = () => {
|
| 1801 |
+
count += 1;
|
| 1802 |
+
console.log("Tick:", count);
|
| 1803 |
+
frame = requestAnimationFrame(tick);
|
| 1804 |
+
};
|
| 1805 |
+
|
| 1806 |
+
// Start once on mount
|
| 1807 |
+
frame = requestAnimationFrame(tick);
|
| 1808 |
+
|
| 1809 |
+
// Cleanup on unmount
|
| 1810 |
+
return () => {
|
| 1811 |
+
if (frame) cancelAnimationFrame(frame);
|
| 1812 |
+
};
|
| 1813 |
+
}, [start]); // β
Only re-run if "start" changes
|
| 1814 |
+
|
| 1815 |
+
return null;
|
| 1816 |
+
}`,
|
| 1817 |
+
time: '0.34s',
|
| 1818 |
+
tokens: '96 tokens',
|
| 1819 |
+
speed: '221 LOC / sec'
|
| 1820 |
+
}
|
| 1821 |
+
};
|
| 1822 |
+
|
| 1823 |
+
const tabs = document.querySelectorAll('.hero-tab');
|
| 1824 |
+
tabs.forEach(tab => {
|
| 1825 |
+
tab.addEventListener('click', () => {
|
| 1826 |
+
tabs.forEach(t => t.classList.remove('active'));
|
| 1827 |
+
tab.classList.add('active');
|
| 1828 |
+
const key = tab.getAttribute('data-tab');
|
| 1829 |
+
const data = snippets[key];
|
| 1830 |
+
if (!data || !promptInput || !outputText) return;
|
| 1831 |
+
promptInput.value = data.prompt;
|
| 1832 |
+
outputText.innerHTML = data.code.replace(/</g, '<').replace(/>/g, '>') + '<span class="caret"></span>';
|
| 1833 |
+
if (tokenCountEl) {
|
| 1834 |
+
const tokens = data.prompt.split(/\s+/).length;
|
| 1835 |
+
tokenCountEl.textContent = tokens;
|
| 1836 |
+
}
|
| 1837 |
+
if (timeStat) timeStat.textContent = data.time;
|
| 1838 |
+
if (tokensStat) tokensStat.textContent = data.tokens;
|
| 1839 |
+
if (speedStat) speedStat.textContent = data.speed;
|
| 1840 |
+
if (outputStatus) {
|
| 1841 |
+
outputStatus.innerHTML = '<span class="status-dot"></span>Ready in ~' + data.time;
|
| 1842 |
+
}
|
| 1843 |
+
});
|
| 1844 |
+
});
|
| 1845 |
+
|
| 1846 |
+
if (runButton && promptInput && outputText) {
|
| 1847 |
+
const run = () => {
|
| 1848 |
+
if (runButton.disabled) return;
|
| 1849 |
+
runButton.disabled = true;
|
| 1850 |
+
const originalLabel = runButton.innerHTML;
|
| 1851 |
+
runButton.innerHTML = '<span class="icon">β‘</span>Building...';
|
| 1852 |
+
|
| 1853 |
+
if (outputStatus) {
|
| 1854 |
+
outputStatus.innerHTML = '<span class="status-dot" style="background:#facc15;box-shadow:0 0 8px rgba(250,204,21,0.9);"></span>Generating...';
|
| 1855 |
+
}
|
| 1856 |
+
|
| 1857 |
+
const text = promptInput.value.trim();
|
| 1858 |
+
const pseudoTokens = text ? text.split(/\s+/).length : 0;
|
| 1859 |
+
const simulatedTime = Math.max(0.24, Math.min(0.85, 0.15 + pseudoTokens * 0.012));
|
| 1860 |
+
const timeDisplay = simulatedTime.toFixed(2) + 's';
|
| 1861 |
+
if (timeStat) timeStat.textContent = timeDisplay;
|
| 1862 |
+
if (tokensStat) tokensStat.textContent = pseudoTokens + ' tokens';
|
| 1863 |
+
if (speedStat) speedStat.textContent = (180 + Math.floor(Math.random() * 160)) + ' LOC / sec';
|
| 1864 |
+
|
| 1865 |
+
if (outputText && outputConsole) {
|
| 1866 |
+
const baseCode = `// FlashCode result for:
|
| 1867 |
+
// "${text || 'your latest prompt'}"
|
| 1868 |
+
`;
|
| 1869 |
+
outputText.textContent = baseCode;
|
| 1870 |
+
}
|
| 1871 |
+
|
| 1872 |
+
let progress = 0;
|
| 1873 |
+
const interval = 22;
|
| 1874 |
+
const totalSteps = Math.ceil((simulatedTime * 1000) / interval);
|
| 1875 |
+
const lines = [
|
| 1876 |
+
'function flashCode() {',
|
| 1877 |
+
' console.log("β‘ Blazing fast AI code builder.");',
|
| 1878 |
+
' return "Production-ready in milliseconds";',
|
| 1879 |
+
'}',
|
| 1880 |
+
'',
|
| 1881 |
+
'export default flashCode;'
|
| 1882 |
+
];
|
| 1883 |
+
const joined = lines.join('\n');
|
| 1884 |
+
const charsPerStep = joined.length / totalSteps;
|
| 1885 |
+
|
| 1886 |
+
const streamInterval = setInterval(() => {
|
| 1887 |
+
progress += charsPerStep;
|
| 1888 |
+
const slice = joined.slice(0, progress);
|
| 1889 |
+
outputText.textContent = `// FlashCode result for:
|
| 1890 |
+
// "${text || 'your latest prompt'}"
|
| 1891 |
+
|
| 1892 |
+
${slice}`;
|
| 1893 |
+
if (progress >= joined.length) {
|
| 1894 |
+
clearInterval(streamInterval);
|
| 1895 |
+
outputText.innerHTML = outputText.textContent.replace(/</g, '<').replace(/>/g, '>') + '<span class="caret"></span>';
|
| 1896 |
+
if (outputStatus) {
|
| 1897 |
+
outputStatus.innerHTML = '<span class="status-dot"></span>Ready in ~' + timeDisplay;
|
| 1898 |
+
}
|
| 1899 |
+
runButton.disabled = false;
|
| 1900 |
+
runButton.innerHTML = originalLabel;
|
| 1901 |
+
}
|
| 1902 |
+
}, interval);
|
| 1903 |
+
};
|
| 1904 |
+
|
| 1905 |
+
runButton.addEventListener('click', run);
|
| 1906 |
+
promptInput.addEventListener('keydown', (e) => {
|
| 1907 |
+
if ((e.metaKey || e.ctrlKey) && e.key === 'Enter') {
|
| 1908 |
+
e.preventDefault();
|
| 1909 |
+
run();
|
| 1910 |
+
}
|
| 1911 |
+
});
|
| 1912 |
+
}
|
| 1913 |
+
</script>
|
| 1914 |
+
<script src="https://huggingface.co/deepsite/deepsite-badge.js"></script>
|
| 1915 |
+
</body>
|
| 1916 |
+
</html>
|